Skip to content

Failed

openmodelica_cruntime_optimization_basic.DMwarmCsv.mos (from (result.xml))

Failing for the past 223 builds (Since #3553 )
Took 43 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + diesel_model_warm_start                                                           ... equation mismatch [time: 34]

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp2142/log-DMwarmCsv.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
    messages = "Simulation execution failed for model: diesel_model
Failed to read CSV-file ./ReferenceFiles/initDM.csv"
end SimulationResult;
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./diesel_model_res.csv -ipopt_max_iter=-1 -emit_protected'",
    messages = "Failed to build model: diesel_model"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/DMWARM~2.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=diesel_model -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 diesel_model.o diesel_model.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=diesel_model -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 diesel_model_functions.o diesel_model_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=diesel_model -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 diesel_model_records.o diesel_model_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=diesel_model -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 diesel_model_01exo.o diesel_model_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=diesel_model -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 diesel_model_02nls.o diesel_model_02nls.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=diesel_model -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 diesel_model_03lsy.o diesel_model_03lsy.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=diesel_model -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 diesel_model_04set.o diesel_model_04set.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=diesel_model -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 diesel_model_05evt.o diesel_model_05evt.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=diesel_model -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 diesel_model_06inz.o diesel_model_06inz.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=diesel_model -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 diesel_model_07dly.o diesel_model_07dly.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=diesel_model -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 diesel_model_08bnd.o diesel_model_08bnd.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=diesel_model -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 diesel_model_09alg.o diesel_model_09alg.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=diesel_model -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 diesel_model_10asr.o diesel_model_10asr.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=diesel_model -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 diesel_model_11mix.o diesel_model_11mix.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=diesel_model -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 diesel_model_12jac.o diesel_model_12jac.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=diesel_model -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 diesel_model_13opt.o diesel_model_13opt.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=diesel_model -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 diesel_model_14lnz.o diesel_model_14lnz.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=diesel_model -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 diesel_model_15syn.o diesel_model_15syn.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=diesel_model -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 diesel_model_16dae.o diesel_model_16dae.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=diesel_model -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 diesel_model_17inl.o diesel_model_17inl.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=diesel_model -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 diesel_model_17inl.o diesel_model_17inl.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:127:2: current parser token 'define'
Exception Code: 0xC000001D
 #0 0x00007ffbc2deb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
 #1 0x00007ffc031ce6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
 #2 0x00007ffc031cf6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
 #3 0x00007ffbc4da8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007ffbc3217962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
 #5 0x00007ffbe3431f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
 #6 0x00007ffbd1388be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2)
 #7 0x00007ffbd14df9f2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x86f9f2)
 #8 0x00007ffbd14cce21 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85ce21)
 #9 0x00007ffbd14c468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a)
#10 0x00007ffbd2a2212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a)
#11 0x00007ffbd14e1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048)
#12 0x00007ffbd2a7b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292)
#13 0x00007ffbd2a4fefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc)
#14 0x00007ffbd2a92388 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e22388)
#15 0x00007ffbd2a56e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c)
#16 0x00007ffbd2aa2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249)
#17 0x00007ffbd2a608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
#18 0x00007ffbd3061d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
#19 0x00007ffbd18fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
#20 0x00007ffbd1a1f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
#21 0x00007ffbd264247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
#22 0x00007ff76268f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
#23 0x00007ff76268fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
#24 0x00007ffbd12eed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
#25 0x00007ffbc4c80154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
#26 0x00007ffbd342b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
#27 0x00007ffbd3468ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
#28 0x00007ffbd346876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
#29 0x00007ffbd2b9729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
#30 0x00007ff76268c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
#31 0x00007ff762694eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
#32 0x00007ff7626812ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
#33 0x00007ff762681406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
#34 0x00007ffc0397257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
#35 0x00007ffc058caa48 (C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x5aa48)
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:/Users/OPENMO~1/AppData/Local/Temp/diesel_model_17inl-d0fc15.c
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/diesel_model_17inl-d0fc15.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: diesel_model_17inl.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/DMWARM~2.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result diesel_model_res.mat: No such file or directory
Error: Error opening file: diesel_model_res.mat
"
'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp2142/equations-expected"2024-05-29 13:13:07.514333800 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp2142/equations-got"2024-05-29 13:13:41.780481200 +0200
@@ -1,69 +1,104 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "diesel_model_res.csv",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
-State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
-State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
-State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
-Input[4]:u_f(start = 9e-06, nominal = 1, min = 0, max = 1)
-Input[5]:u_wg(start = 0.000485, nominal = 1, min = 0, max = 1)
---------------------------------------------------------
-number of nonlinear constraints: 0
-========================================================
-
-******************************************************************************
-This program contains Ipopt, a library for large-scale nonlinear optimization.
-Ipopt is released as open source code under the Eclipse Public License (EPL).
-For more information visit https://github.com/coin-or/Ipopt
-******************************************************************************
-
-LOG_IPOPT_ERROR   | info    | max error is 0.0015511 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00153097 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00149595 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00112748 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000313137 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000122445 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 8.56457e-05 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 2.37178e-06 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 4.55501e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.16221e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.52825e-08 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 3.66997e-09 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.48205e-10 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.86256e-13 for the approximation of the state p_em(time = 0.485556)
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Simulation execution failed for model: diesel_model
+Failed to read CSV-file ./ReferenceFiles/initDM.csv"
 end SimulationResult;
 ""
 record SimulationResult
-resultFile = "diesel_model_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./diesel_model_res.csv -ipopt_max_iter=-1 -emit_protected'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+messages = "Failed to build model: diesel_model"
+end SimulationResult;
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/DMWARM~2.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=diesel_model -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 diesel_model.o diesel_model.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=diesel_model -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 diesel_model_functions.o diesel_model_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=diesel_model -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 diesel_model_records.o diesel_model_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=diesel_model -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 diesel_model_01exo.o diesel_model_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=diesel_model -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 diesel_model_02nls.o diesel_model_02nls.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=diesel_model -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 diesel_model_03lsy.o diesel_model_03lsy.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=diesel_model -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 diesel_model_04set.o diesel_model_04set.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=diesel_model -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 diesel_model_05evt.o diesel_model_05evt.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=diesel_model -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 diesel_model_06inz.o diesel_model_06inz.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=diesel_model -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 diesel_model_07dly.o diesel_model_07dly.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=diesel_model -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 diesel_model_08bnd.o diesel_model_08bnd.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=diesel_model -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 diesel_model_09alg.o diesel_model_09alg.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=diesel_model -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 diesel_model_10asr.o diesel_model_10asr.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=diesel_model -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 diesel_model_11mix.o diesel_model_11mix.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=diesel_model -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 diesel_model_12jac.o diesel_model_12jac.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=diesel_model -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 diesel_model_13opt.o diesel_model_13opt.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=diesel_model -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 diesel_model_14lnz.o diesel_model_14lnz.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=diesel_model -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 diesel_model_15syn.o diesel_model_15syn.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=diesel_model -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 diesel_model_16dae.o diesel_model_16dae.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=diesel_model -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 diesel_model_17inl.o diesel_model_17inl.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=diesel_model -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 diesel_model_17inl.o diesel_model_17inl.c
+1. C:/OMDevUCRT/tools/msys/ucrt64/include/wincon.h:127:2: current parser token 'define'
+Exception Code: 0xC000001D
+#0 0x00007ffbc2deb736 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1b736)
+#1 0x00007ffc031ce6d5 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7e6d5)
+#2 0x00007ffc031cf6e1 (C:\\WINDOWS\\System32\\ucrtbase.dll+0x7f6e1)
+#3 0x00007ffbc4da8d08 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1fd8d08)
+#4 0x00007ffbc3217962 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x447962)
+#5 0x00007ffbe3431f4c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll+0x131f4c)
+#6 0x00007ffbd1388be2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x718be2)
+#7 0x00007ffbd14df9f2 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x86f9f2)
+#8 0x00007ffbd14cce21 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85ce21)
+#9 0x00007ffbd14c468a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x85468a)
+#10 0x00007ffbd2a2212a (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1db212a)
+#11 0x00007ffbd14e1048 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x871048)
+#12 0x00007ffbd2a7b292 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e0b292)
+#13 0x00007ffbd2a4fefc (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1ddfefc)
+#14 0x00007ffbd2a92388 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e22388)
+#15 0x00007ffbd2a56e3c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1de6e3c)
+#16 0x00007ffbd2aa2249 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1e32249)
+#17 0x00007ffbd2a608a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1df08a8)
+#18 0x00007ffbd3061d4e (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x23f1d4e)
+#19 0x00007ffbd18fd078 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xc8d078)
+#20 0x00007ffbd1a1f0c4 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0xdaf0c4)
+#21 0x00007ffbd264247c (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x19d247c)
+#22 0x00007ff76268f4a8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xf4a8)
+#23 0x00007ff76268fada (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xfada)
+#24 0x00007ffbd12eed4d (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x67ed4d)
+#25 0x00007ffbc4c80154 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll+0x1eb0154)
+#26 0x00007ffbd342b954 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27bb954)
+#27 0x00007ffbd3468ab5 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f8ab5)
+#28 0x00007ffbd346876f (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x27f876f)
+#29 0x00007ffbd2b9729b (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll+0x1f2729b)
+#30 0x00007ff76268c1b8 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0xc1b8)
+#31 0x00007ff762694eb9 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x14eb9)
+#32 0x00007ff7626812ee (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x12ee)
+#33 0x00007ff762681406 (C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\clang.exe+0x1406)
+#34 0x00007ffc0397257d (C:\\WINDOWS\\System32\\KERNEL32.DLL+0x1257d)
+#35 0x00007ffc058caa48 (C:\\WINDOWS\\SYSTEM32\\ntdll.dll+0x5aa48)
+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: 
+********************
 
-Optimizer Variables
-========================================================
-State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
-State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
-State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
-State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
-Input[4]:u_f(start = 8.5502e-07, nominal = 1, min = 0, max = 1)
-Input[5]:u_wg(start = 4.85532e-05, nominal = 1, min = 0, max = 1)
---------------------------------------------------------
-number of nonlinear constraints: 0
-========================================================
+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:/Users/OPENMO~1/AppData/Local/Temp/diesel_model_17inl-d0fc15.c
+clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/diesel_model_17inl-d0fc15.sh
+clang: note: diagnostic msg: 
 
-max_iter = -1LOG_SUCCESS       | info    | The simulation finished successfully.
+********************
+make: *** [<builtin>: diesel_model_17inl.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/DMWARM~2.MOS'
+RESULT: 2
 "
-end SimulationResult;
-""
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result diesel_model_res.mat: No such file or directory
+Error: Error opening file: diesel_model_res.mat
 "
'' 
Equation mismatch: omc-diff says: 
Failed 'd' '"'
Line 6: Text differs:
expected: resultFile = "diesel_model_res.csv",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp2142, time: 43]