Skip to content

Failed

simulation_modelica_algorithms_functions.algorithms.mos (from (result.xml))

Failing for the past 4 builds (Since #3809 )
Took 18 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Algorithms                                                                        ... equation mismatch [time: 12]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/algorithms.mos_temp2296/log-algorithms.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Alg1"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg1.o Alg1.c
      0 [main] make 57653 dofork: child -1 - forked process 4971116 died unexpectedly, retry 0, exit code 0xC000012D, errno 11
make: *** [<builtin>: Alg1.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
RESULT: 2
"

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Alg2"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2.o Alg2.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2_functions.o Alg2_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2_records.o Alg2_records.c
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Alg2_records.o Alg2_records.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:102:1: current parser token 'static'
2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:97:1: LLVM IR generation of declaration '_kortestc_mask32_u8'
Exception Code: 0xC000001D
 #0 0x00007ffb4909b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
 #1 0x00007ffb89b3e6d5 (C:\\Windows\\System32\\ucrtbase.dll+0x7e6d5)
 #2 0x00007ffb89b3f6e1 (C:\\Windows\\System32\\ucrtbase.dll+0x7f6e1)
 #3 0x00007ffb4b058d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007ffb494c7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
 #5 0x00007ffb6a3e1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
 #6 0x00007ffb508fc09e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x77c09e)
 #7 0x00007ffb507b3956 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x633956)
 #8 0x00007ffb507b39c5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x6339c5)
 #9 0x00007ffb521ebb7b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x206bb7b)
#10 0x00007ffb521ef4e8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x206f4e8)
#11 0x00007ffb5057412c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x3f412c)
#12 0x00007ffb50eb4712 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xd34712)
#13 0x00007ffb52571d69 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d69)
#14 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
#15 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
#16 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
#17 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
#18 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
#19 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
#20 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
#21 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
#22 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
#23 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
#24 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
#25 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
#26 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
#27 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
#28 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
#29 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d)
#30 0x00007ffb8c50af28 (C:\\Windows\\SYSTEM32\\ntdll.dll+0x5af28)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:/Windows/TEMP/Alg2_records-eb31a8.c
clang: note: diagnostic msg: C:/Windows/TEMP/Alg2_records-eb31a8.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: Alg2_records.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
RESULT: 2
"

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Alg3"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3.o Alg3.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3_functions.o Alg3_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3_records.o Alg3_records.c
      0 [main] sh (4976428) child_copy: cygheap read copy failed, 0x0..0x80000CFE0, done 0, windows pid 4976428, Win32 error 299
make: *** [<builtin>: Alg3_records.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
RESULT: 2
"



record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Alg4"
end SimulationResult;
"Warning: Assuming fixed start value for the following 1 variables:
         x:VARIABLE(fixed = true )  type: Real
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg4.o Alg4.c
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Alg4.o Alg4.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:299:20: current parser token 'WINAPI'
Exception Code: 0xC000001D
0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 byte(s), HandleAbort() + 0x6 byte(s)
0x00007FFB89B3E6D5, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7E6D5 byte(s), raise() + 0x1E5 byte(s)
0x00007FFB89B3F6E1, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7F6E1 byte(s), abort() + 0x31 byte(s)
0x00007FFB4B058D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1FD8D08 byte(s), _ZN4llvm22report_bad_alloc_errorEPKcb() + 0x88 byte(s)
0x00007FFB4A93FA56, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x18BFA56 byte(s), _ZN4llvm15SmallVectorBaseIjE8grow_podEPvyy() + 0x196 byte(s)
0x00007FFB50BC6F01, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA46F01 byte(s)
0x00007FFB50BC624F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA4624F byte(s)
0x00007FFB5096F130, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x7EF130 byte(s)
0x00007FFB509CD755, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x84D755 byte(s)
0x00007FFB509EE1C7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x86E1C7 byte(s)
0x00007FFB509D6460, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x856460 byte(s)
0x00007FFB51F32349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DB2349 byte(s)
0x00007FFB509F1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x871048 byte(s)
0x00007FFB51FC3A58, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E43A58 byte(s)
0x00007FFB51FE7A0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67A0F byte(s)
0x00007FFB520035D1, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E835D1 byte(s)
0x00007FFB51FB2943, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E32943 byte(s)
0x00007FFB51F708A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DF08A8 byte(s)
0x00007FFB52571D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x23F1D4E byte(s)
0x00007FFB50E0D078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xC8D078 byte(s)
0x00007FFB50F2F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xDAF0C4 byte(s)
0x00007FFB51B5247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19D247C byte(s)
0x00007FF710D2F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xF4A8 byte(s)
0x00007FF710D2FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xFADA byte(s)
0x00007FFB507FED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x67ED4D byte(s)
0x00007FFB4AF30154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1EB0154 byte(s), _ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE() + 0x84 byte(s)
0x00007FFB5293B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27BB954 byte(s)
0x00007FFB52978AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F8AB5 byte(s)
0x00007FFB5297876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F876F byte(s)
0x00007FFB520A729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1F2729B byte(s)
0x00007FF710D2C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xC1B8 byte(s)
0x00007FF710D34EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x14EB9 byte(s)
0x00007FF710D212EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x12EE byte(s)
0x00007FF710D21406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x1406 byte(s)
0x00007FFB8B30257D, C:\\Windows\\System32\\KERNEL32.DLL(0x00007FFB8B2F0000) + 0x1257D byte(s), BaseThreadInitThunk() + 0x1D byte(s)
0x00007FFB8C50AF28, C:\\Windows\\SYSTEM32\\ntdll.dll(0x00007FFB8C4B0000) + 0x5AF28 byte(s), RtlUserThreadStart() + 0x28 byte(s)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: note: diagnostic msg: Error generating preprocessed source(s).
make: *** [<builtin>: Alg4.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
RESULT: 2
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Alg5"
end SimulationResult;
"Warning: Assuming fixed start value for the following 2 variables:
         x1:VARIABLE(fixed = true )  type: Real
         x2:VARIABLE(fixed = true )  type: Real
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5.o Alg5.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_functions.o Alg5_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_records.o Alg5_records.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_01exo.o Alg5_01exo.c
      0 [main] make (4980648) child_copy: cygheap read copy failed, 0x0..0x800009AF8, done 0, windows pid 4980648, Win32 error 299
      1 [main] make 58030 dofork: child -1 - forked process 4980648 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
make: *** [<builtin>: Alg5_01exo.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
RESULT: 2
"


















'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/algorithms.mos_temp2296/equations-expected"2024-06-13 15:16:16.025834000 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/algorithms.mos_temp2296/equations-got"2024-06-13 15:16:28.107867000 +0200
@@ -1,72 +1,201 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "Alg1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Alg1"
 end SimulationResult;
-""
-2.0
-record SimulationResult
-resultFile = "Alg2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg1.o Alg1.c
+0 [main] make 57653 dofork: child -1 - forked process 4971116 died unexpectedly, retry 0, exit code 0xC000012D, errno 11
+make: *** [<builtin>: Alg1.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+RESULT: 2
 "
-end SimulationResult;
-""
-2.0
+
 record SimulationResult
-resultFile = "Alg3_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Alg2"
+end SimulationResult;
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2.o Alg2.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2_functions.o Alg2_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg2_records.o Alg2_records.c
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Alg2_records.o Alg2_records.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:102:1: current parser token 'static'
+2. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512bwintrin.h:97:1: LLVM IR generation of declaration '_kortestc_mask32_u8'
+Exception Code: 0xC000001D
+#0 0x00007ffb4909b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ffb89b3e6d5 (C:\\Windows\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x00007ffb89b3f6e1 (C:\\Windows\\System32\\ucrtbase.dll+0x7f6e1)
+#3 0x00007ffb4b058d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
+#4 0x00007ffb494c7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
+#5 0x00007ffb6a3e1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
+#6 0x00007ffb508fc09e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x77c09e)
+#7 0x00007ffb507b3956 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x633956)
+#8 0x00007ffb507b39c5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x6339c5)
+#9 0x00007ffb521ebb7b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x206bb7b)
+#10 0x00007ffb521ef4e8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x206f4e8)
+#11 0x00007ffb5057412c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x3f412c)
+#12 0x00007ffb50eb4712 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xd34712)
+#13 0x00007ffb52571d69 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d69)
+#14 0x00007ffb50e0d078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
+#15 0x00007ffb50f2f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
+#16 0x00007ffb51b5247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
+#17 0x00007ff710d2f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
+#18 0x00007ff710d2fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
+#19 0x00007ffb507fed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
+#20 0x00007ffb4af30154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
+#21 0x00007ffb5293b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
+#22 0x00007ffb52978ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
+#23 0x00007ffb5297876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
+#24 0x00007ffb520a729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
+#25 0x00007ff710d2c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
+#26 0x00007ff710d34eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
+#27 0x00007ff710d212ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
+#28 0x00007ff710d21406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
+#29 0x00007ffb8b30257d (C:\\Windows\\System32\\KERNEL32.DLL+0x1257d)
+#30 0x00007ffb8c50af28 (C:\\Windows\\SYSTEM32\\ntdll.dll+0x5af28)
+clang: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang: note: diagnostic msg: 
+********************
+
+PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
+Preprocessed source(s) and associated run script(s) are located at:
+clang: note: diagnostic msg: C:/Windows/TEMP/Alg2_records-eb31a8.c
+clang: note: diagnostic msg: C:/Windows/TEMP/Alg2_records-eb31a8.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: Alg2_records.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+RESULT: 2
 "
+
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Alg3"
 end SimulationResult;
-""
-4.0
-3.0
-4.0
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3.o Alg3.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3_functions.o Alg3_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg3_records.o Alg3_records.c
+0 [main] sh (4976428) child_copy: cygheap read copy failed, 0x0..0x80000CFE0, done 0, windows pid 4976428, Win32 error 299
+make: *** [<builtin>: Alg3_records.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+RESULT: 2
+"
+
+
+
 record SimulationResult
-resultFile = "Alg4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Alg4"
 end SimulationResult;
 "Warning: Assuming fixed start value for the following 1 variables:
 x:VARIABLE(fixed = true )  type: Real
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg4.o Alg4.c
+LLVM ERROR: out of memory
+Allocation failed
+PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
+Stack dump:
+0. Program arguments: C:\\\\OMDevUCRT\\\\tools\\\\msys\\\\ucrt64\\\\bin\\\\clang.exe -municode -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c -IC:/dev/jenkins/ws/Windows/OM_Win/build/include/omc -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Alg4.o Alg4.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:299:20: current parser token 'WINAPI'
+Exception Code: 0xC000001D
+0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 byte(s), HandleAbort() + 0x6 byte(s)
+0x00007FFB89B3E6D5, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7E6D5 byte(s), raise() + 0x1E5 byte(s)
+0x00007FFB89B3F6E1, C:\\Windows\\System32\\ucrtbase.dll(0x00007FFB89AC0000) + 0x7F6E1 byte(s), abort() + 0x31 byte(s)
+0x00007FFB4B058D08, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1FD8D08 byte(s), _ZN4llvm22report_bad_alloc_errorEPKcb() + 0x88 byte(s)
+0x00007FFB4A93FA56, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x18BFA56 byte(s), _ZN4llvm15SmallVectorBaseIjE8grow_podEPvyy() + 0x196 byte(s)
+0x00007FFB50BC6F01, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA46F01 byte(s)
+0x00007FFB50BC624F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xA4624F byte(s)
+0x00007FFB5096F130, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x7EF130 byte(s)
+0x00007FFB509CD755, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x84D755 byte(s)
+0x00007FFB509EE1C7, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x86E1C7 byte(s)
+0x00007FFB509D6460, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x856460 byte(s)
+0x00007FFB51F32349, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DB2349 byte(s)
+0x00007FFB509F1048, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x871048 byte(s)
+0x00007FFB51FC3A58, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E43A58 byte(s)
+0x00007FFB51FE7A0F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67A0F byte(s)
+0x00007FFB520035D1, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E835D1 byte(s)
+0x00007FFB51FB2943, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E32943 byte(s)
+0x00007FFB51F708A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DF08A8 byte(s)
+0x00007FFB52571D4E, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x23F1D4E byte(s)
+0x00007FFB50E0D078, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xC8D078 byte(s)
+0x00007FFB50F2F0C4, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0xDAF0C4 byte(s)
+0x00007FFB51B5247C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19D247C byte(s)
+0x00007FF710D2F4A8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xF4A8 byte(s)
+0x00007FF710D2FADA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xFADA byte(s)
+0x00007FFB507FED4D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x67ED4D byte(s)
+0x00007FFB4AF30154, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1EB0154 byte(s), _ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE() + 0x84 byte(s)
+0x00007FFB5293B954, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27BB954 byte(s)
+0x00007FFB52978AB5, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F8AB5 byte(s)
+0x00007FFB5297876F, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x27F876F byte(s)
+0x00007FFB520A729B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1F2729B byte(s)
+0x00007FF710D2C1B8, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0xC1B8 byte(s)
+0x00007FF710D34EB9, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x14EB9 byte(s)
+0x00007FF710D212EE, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x12EE byte(s)
+0x00007FF710D21406, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe(0x00007FF710D20000) + 0x1406 byte(s)
+0x00007FFB8B30257D, C:\\Windows\\System32\\KERNEL32.DLL(0x00007FFB8B2F0000) + 0x1257D byte(s), BaseThreadInitThunk() + 0x1D byte(s)
+0x00007FFB8C50AF28, C:\\Windows\\SYSTEM32\\ntdll.dll(0x00007FFB8C4B0000) + 0x5AF28 byte(s), RtlUserThreadStart() + 0x28 byte(s)
+clang: error: clang frontend command failed due to signal (use -v to see invocation)
+clang version 17.0.6
+Target: x86_64-w64-windows-gnu
+Thread model: posix
+InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
+clang: note: diagnostic msg: Error generating preprocessed source(s).
+make: *** [<builtin>: Alg4.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+RESULT: 2
 "
 record SimulationResult
-resultFile = "Alg5_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Alg5"
 end SimulationResult;
 "Warning: Assuming fixed start value for the following 2 variables:
 x1:VARIABLE(fixed = true )  type: Real
 x2:VARIABLE(fixed = true )  type: Real
-"
-0.0
-0.1224090895290663
-0.4596922009045253
-0.0
-0.1224090895290671
-0.4596922009167508
-0.0
-0.4794255386041834
-0.841470984648068
-0.0
-0.479425538604203
-0.8414709848078965
-1.0
-1.5
-2.0
-0.0
-0.0
-0.0
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5.o Alg5.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_functions.o Alg5_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_records.o Alg5_records.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Alg5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Alg5_01exo.o Alg5_01exo.c
+0 [main] make (4980648) child_copy: cygheap read copy failed, 0x0..0x800009AF8, done 0, windows pid 4980648, Win32 error 299
+1 [main] make 58030 dofork: child -1 - forked process 4980648 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
+make: *** [<builtin>: Alg5_01exo.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL0F59~1.MOS'
+RESULT: 2
+"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
'' 
Equation mismatch: omc-diff says: 
Failed 'A' '"'
Line 6: Text differs:
expected: resultFile = "Alg
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/algorithms_functions/algorithms.mos_temp2296, time: 18]