Skip to content

Failed

simulation_modelica_others.ComplexFun.mos (from (result.xml))

Failing for the past 3 builds (Since #3809 )
Took 45 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + complexFun1                                                                       ... equation mismatch [time: 43]

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/ComplexFun.mos_temp461/log-ComplexFun.mos
true
""
record SimulationResult
    resultFile = "problem1_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
record SimulationResult
    resultFile = "problem2_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
{-1.0,-1.216227766016838,-1.247213595499958,-1.1366600265340756,-1.0}
{1.0,1.216227766016838,1.247213595499958,1.1366600265340756,1.0}
true
""
record SimulationResult
    resultFile = "problem1_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: problem2"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.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=problem2 -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 problem2.o problem2.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=problem2 -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 problem2_functions.o problem2_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=problem2 -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 problem2_records.o problem2_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=problem2 -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 problem2_01exo.o problem2_01exo.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=problem2 -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 problem2_02nls.o problem2_02nls.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=problem2 -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 problem2_02nls.o problem2_02nls.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512vlintrin.h:4526:1: current parser token '{'
Exception Code: 0xC000001D
 #0 0x00007ff95c78b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
 #1 0x00007ff99720e6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
 #2 0x00007ff99720f6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
 #3 0x00007ff95e748d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007ff95cbb7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
 #5 0x00007ff97bec1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
 #6 0x00007ff963f88be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2)
 #7 0x00007ff965eb8d41 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2648d41)
 #8 0x00007ff963a062b6 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1962b6)
 #9 0x00007ff96532a932 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1aba932)
#10 0x00007ff9652bea9c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1a4ea9c)
#11 0x00007ff96537f251 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1b0f251)
#12 0x00007ff965699f91 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e29f91)
#13 0x00007ff96565098e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de098e)
#14 0x00007ff9656d7d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d)
#15 0x00007ff9656f35d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1)
#16 0x00007ff9656a2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943)
#17 0x00007ff9656608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
#18 0x00007ff965c61d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
#19 0x00007ff9644fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
#20 0x00007ff96461f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
#21 0x00007ff96524247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
#22 0x00007ff6ac99f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
#23 0x00007ff6ac99fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
#24 0x00007ff963eeed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
#25 0x00007ff95e620154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
#26 0x00007ff96602b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
#27 0x00007ff966068ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
#28 0x00007ff96606876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
#29 0x00007ff96579729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
#30 0x00007ff6ac99c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
#31 0x00007ff6ac9a4eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
#32 0x00007ff6ac9912ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
#33 0x00007ff6ac991406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
#34 0x00007ff997e9257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
#35 0x00007ff9995caf28 (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/problem2_02nls-793b48.c
clang: note: diagnostic msg: C:/WINDOWS/TEMP/problem2_02nls-793b48.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: problem2_02nls.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.MOS'
RESULT: 2
"
{0.0,-0.07207592200561265,-0.08240453183331929,-0.04555334217802521,5.987111087338065e-19}
{NaN,NaN,NaN,NaN,NaN}
true
"Error: z not found in problem1_res.mat
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: problem1"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.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=problem1 -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 problem1.o problem1.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=problem1 -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 problem1_functions.o problem1_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=problem1 -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 problem1_records.o problem1_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=problem1 -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 problem1_01exo.o problem1_01exo.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=problem1 -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 problem1_02nls.o problem1_02nls.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: problem1_02nls.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.MOS'
RESULT: 2
"
{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/ComplexFun.mos_temp461/equations-expected"2024-06-13 14:11:33.799544100 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/others/ComplexFun.mos_temp461/equations-got"2024-06-13 14:12:16.336021200 +0200
@@ -1,54 +1,128 @@
 true
 ""
 record SimulationResult
 resultFile = "problem1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
-{0.0,0.2720759220056126,0.4824045318333194,1.445553342178025,2.0}
+{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
 record SimulationResult
 resultFile = "problem2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
-{-1.0,-1.216227766016838,-1.247213595499958,-1.136660026534076,-1.0}
-{1.0,1.216227766016838,1.247213595499958,1.136660026534076,1.0}
+{-1.0,-1.216227766016838,-1.247213595499958,-1.1366600265340756,-1.0}
+{1.0,1.216227766016838,1.247213595499958,1.1366600265340756,1.0}
 true
 ""
 record SimulationResult
 resultFile = "problem1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
-{0.0,0.2720759220056126,0.4824045318333194,1.445553342178025,2.0}
+{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
 ""
 record SimulationResult
-resultFile = "problem2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem2', 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 = 'problem2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: problem2"
 end SimulationResult;
-""
-{-1.0,-1.216227766016838,-1.247213595499958,-1.136660026534076,-1.0}
-{1.0,1.216227766016838,1.247213595499958,1.136660026534076,1.0}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.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=problem2 -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 problem2.o problem2.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=problem2 -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 problem2_functions.o problem2_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=problem2 -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 problem2_records.o problem2_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=problem2 -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 problem2_01exo.o problem2_01exo.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=problem2 -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 problem2_02nls.o problem2_02nls.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=problem2 -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 problem2_02nls.o problem2_02nls.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512vlintrin.h:4526:1: current parser token '{'
+Exception Code: 0xC000001D
+#0 0x00007ff95c78b736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ff99720e6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x00007ff99720f6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
+#3 0x00007ff95e748d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
+#4 0x00007ff95cbb7962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
+#5 0x00007ff97bec1f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
+#6 0x00007ff963f88be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2)
+#7 0x00007ff965eb8d41 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x2648d41)
+#8 0x00007ff963a062b6 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1962b6)
+#9 0x00007ff96532a932 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1aba932)
+#10 0x00007ff9652bea9c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1a4ea9c)
+#11 0x00007ff96537f251 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1b0f251)
+#12 0x00007ff965699f91 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e29f91)
+#13 0x00007ff96565098e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de098e)
+#14 0x00007ff9656d7d6d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e67d6d)
+#15 0x00007ff9656f35d1 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e835d1)
+#16 0x00007ff9656a2943 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32943)
+#17 0x00007ff9656608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
+#18 0x00007ff965c61d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
+#19 0x00007ff9644fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
+#20 0x00007ff96461f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
+#21 0x00007ff96524247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
+#22 0x00007ff6ac99f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
+#23 0x00007ff6ac99fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
+#24 0x00007ff963eeed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
+#25 0x00007ff95e620154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
+#26 0x00007ff96602b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
+#27 0x00007ff966068ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
+#28 0x00007ff96606876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
+#29 0x00007ff96579729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
+#30 0x00007ff6ac99c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
+#31 0x00007ff6ac9a4eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
+#32 0x00007ff6ac9912ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
+#33 0x00007ff6ac991406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
+#34 0x00007ff997e9257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
+#35 0x00007ff9995caf28 (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/problem2_02nls-793b48.c
+clang: note: diagnostic msg: C:/WINDOWS/TEMP/problem2_02nls-793b48.sh
+clang: note: diagnostic msg: 
+
+********************
+make: *** [<builtin>: problem2_02nls.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.MOS'
+RESULT: 2
+"
+{0.0,-0.07207592200561265,-0.08240453183331929,-0.04555334217802521,5.987111087338065e-19}
+{NaN,NaN,NaN,NaN,NaN}
 true
-""
-record SimulationResult
-resultFile = "problem1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem1', 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: z not found in problem1_res.mat
 "
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: problem1"
 end SimulationResult;
-""
-{0.0,0.2720759220056126,0.4824045318333194,1.445553342178025,2.0}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.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=problem1 -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 problem1.o problem1.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=problem1 -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 problem1_functions.o problem1_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=problem1 -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 problem1_records.o problem1_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=problem1 -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 problem1_01exo.o problem1_01exo.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=problem1 -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 problem1_02nls.o problem1_02nls.c
+Mingw-w64 runtime failure:
+VirtualProtect failed with code 0x5afmake: *** [<builtin>: problem1_02nls.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/others/COMPLE~3.MOS'
+RESULT: 2
+"
+{0.0,0.27207592200561265,0.4824045318333194,1.4455533421780251,2.0}
'' 
Equation mismatch: omc-diff says: 
Failed 'p' '"'
Line 35: Text differs:
expected: resultFile = "problem
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/others/ComplexFun.mos_temp461, time: 45]