Failed
openmodelica_omsi_omsic.simpleLoop.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ simpleLoop ... equation mismatch [time: 17] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsic/simpleLoop.mos_temp9491/log-simpleLoop.mos true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'simpleLoop', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: simpleLoop" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop.o simpleLoop.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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_functions.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_records.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_01exo.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_02nls.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_03lsy.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_04set.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_05evt.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_06inz.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_07dly.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_08bnd.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_09alg.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_10asr.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_11mix.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_12jac.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_13opt.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_14lnz.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_15syn.o simpleLoop_15syn.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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_15syn.o simpleLoop_15syn.c 1.C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/meta/meta_modelica.h:164:37: current parser token ';' Exception Code: 0xC000001D 0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 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) 0x00007FFB494C7962, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x447962 byte(s) 0x00007FFB6A3E1F4C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll(0x00007FFB6A2B0000) + 0x131F4C byte(s) 0x00007FFB50898BE2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x718BE2 byte(s) 0x00007FFB527B7466, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x2637466 byte(s) 0x00007FFB5031720B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19720B byte(s) 0x00007FFB51C3A932, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1ABA932 byte(s) 0x00007FFB51BCEA9C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1A4EA9C byte(s) 0x00007FFB51BBB2C2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1A3B2C2 byte(s) 0x00007FFB520162EA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E962EA byte(s) 0x00007FFB51F5F9C2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DDF9C2 byte(s) 0x00007FFB51FE7D6D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67D6D 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) 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) 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: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Unknown error (0x5AA) clang: note: diagnostic msg: Error generating preprocessed source(s). make: *** [<builtin>: simpleLoop_15syn.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS' RESULT: 2 " true "" "" "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS/SIMPLE~1.FMU' \"mkdir.exe\" -p simpleLoop.fmutmp/sources simpleLoop.fmutmp/sources/include simpleLoop.fmutmp/sources/libs \"mkdir.exe\" -p simpleLoop.fmutmp/resources \"mkdir.exe\" -p simpleLoop.fmutmp/binaries/win64 # Basic OMSI and OMSIC files cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/* simpleLoop.fmutmp/sources/include/ cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/* simpleLoop.fmutmp/sources/include/ cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSIBase_static.* simpleLoop.fmutmp/sources/libs cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSIC_static.* simpleLoop.fmutmp/sources/libs cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSISolver_static.* simpleLoop.fmutmp/sources/libs # Third party libraries cp -f 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libexpat.* simpleLoop.fmutmp/sources/libs cp -fP C:/OMDevUCRT/tools/msys/ucrt64/bin/libopenblas.dll 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/libsundials_kinsol.dll 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/libsundials_nvecserial.dll simpleLoop.fmutmp/binaries/win64 cp -a modelDescription.xml simpleLoop.fmutmp/ cp -a simpleLoop_omsic.c simpleLoop_init_eqns.c simpleLoop_init_eqns_algSyst_0.c simpleLoop_init_eqns_derMat_0.c simpleLoop_sim_eqns.c simpleLoop_sim_eqns_algSyst_0.c simpleLoop_sim_eqns_derMat_0.c simpleLoop.fmutmp/sources/ cp -a simpleLoop_omsic.h simpleLoop_init_eqns.h simpleLoop_init_eqns_algSyst_0.h simpleLoop_init_eqns_derMat_0.h simpleLoop_sim_eqns.h simpleLoop_sim_eqns_algSyst_0.h simpleLoop_sim_eqns_derMat_0.h simpleLoop.fmutmp/sources/include cp -a simpleLoop_info.json simpleLoop.fmutmp/resources/ cp -a simpleLoop_init.xml simpleLoop.fmutmp/resources/ clang -Wall -Wextra -ansi -pedantic -g -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/base -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/solver -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/fmi2 -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/fmi2 -c simpleLoop_omsic.c simpleLoop_omsic.c:49:50: warning: unused parameter 'sample_events' [-Wunused-parameter] 49 | void simpleLoop_instantiate_samples(omsi_sample* sample_events) | ^ 1 warning generated. clang -Wall -Wextra -ansi -pedantic -g -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/base -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/solver -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/fmi2 -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/fmi2 -c simpleLoop_init_eqns.c simpleLoop_init_eqns.c:86:27: error: incompatible function pointer types assigning to 'omsi_status (*)(struct omsi_function_t *, const omsi_values *, void *)' (aka 'omsi_status (*)(struct omsi_function_t *, const struct omsi_values *, void *)') from 'omsi_status (omsi_function_t *, omsi_values *, void *)' (aka 'omsi_status (struct omsi_function_t *, struct omsi_values *, void *)') [-Wincompatible-function-pointer-types] 86 | omsi_function->evaluate = simpleLoop_init_eqns_allEqns; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simpleLoop_init_eqns.c:108:82: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter] 108 | void simpleLoop_eqFunction_7(omsi_function_t* this_function, const omsi_values* model_vars_and_params){ | ^ simpleLoop_init_eqns.c:119:82: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter] 119 | void simpleLoop_eqFunction_8(omsi_function_t* this_function, const omsi_values* model_vars_and_params){ | ^ simpleLoop_init_eqns.c:128:112: warning: unused parameter 'data' [-Wunused-parameter] 128 | omsi_status simpleLoop_init_eqns_allEqns(omsi_function_t* init_eqns, omsi_values* model_vars_and_params, void* data){ | ^ 3 warnings and 1 error generated. make: *** [simpleLoop_FMU.makefile:95: simpleLoop_init_eqns.o] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS/SIMPLE~1.FMU' RESULT: 2 " 1 "" "error: [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"simpleLoop.fmu\" error: [oms_RunFile] oms_extractFMIKind failed info: 0 warnings info: 2 errors " "Error in compareSimulationResults" '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsic/simpleLoop.mos_temp9491/equations-expected"2024-06-13 15:28:57.070596300 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsic/simpleLoop.mos_temp9491/equations-got"2024-06-13 15:29:14.672160300 +0200 @@ -1,23 +1,132 @@ true "" record SimulationResult -resultFile = "simpleLoop_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'simpleLoop', 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 = 'simpleLoop', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: simpleLoop" end SimulationResult; -"" +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop.o simpleLoop.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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_functions.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_records.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_01exo.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_02nls.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_03lsy.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_04set.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_05evt.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_06inz.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_07dly.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_08bnd.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_09alg.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_10asr.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_11mix.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_12jac.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_13opt.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_14lnz.o simpleLoop_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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_15syn.o simpleLoop_15syn.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=simpleLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o simpleLoop_15syn.o simpleLoop_15syn.c +1. C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/meta/meta_modelica.h:164:37: current parser token ';' +Exception Code: 0xC000001D +0x00007FFB4909B736, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x1B736 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) +0x00007FFB494C7962, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libLLVM-17.dll(0x00007FFB49080000) + 0x447962 byte(s) +0x00007FFB6A3E1F4C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libstdc++-6.dll(0x00007FFB6A2B0000) + 0x131F4C byte(s) +0x00007FFB50898BE2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x718BE2 byte(s) +0x00007FFB527B7466, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x2637466 byte(s) +0x00007FFB5031720B, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x19720B byte(s) +0x00007FFB51C3A932, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1ABA932 byte(s) +0x00007FFB51BCEA9C, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1A4EA9C byte(s) +0x00007FFB51BBB2C2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1A3B2C2 byte(s) +0x00007FFB520162EA, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E962EA byte(s) +0x00007FFB51F5F9C2, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1DDF9C2 byte(s) +0x00007FFB51FE7D6D, C:\\OMDevUCRT\\tools\\msys\\ucrt64\\bin\\libclang-cpp.dll(0x00007FFB50180000) + 0x1E67D6D 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) +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) +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: error: unable to execute command: Couldn't execute program 'C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe': Unknown error (0x5AA) +clang: note: diagnostic msg: Error generating preprocessed source(s). +make: *** [<builtin>: simpleLoop_15syn.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS' +RESULT: 2 +" true "" -"simpleLoop.fmu" "" -0 +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS/SIMPLE~1.FMU' +\"mkdir.exe\" -p simpleLoop.fmutmp/sources simpleLoop.fmutmp/sources/include simpleLoop.fmutmp/sources/libs +\"mkdir.exe\" -p simpleLoop.fmutmp/resources +\"mkdir.exe\" -p simpleLoop.fmutmp/binaries/win64 +# Basic OMSI and OMSIC files +cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/* simpleLoop.fmutmp/sources/include/ +cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/* simpleLoop.fmutmp/sources/include/ +cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSIBase_static.* simpleLoop.fmutmp/sources/libs +cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSIC_static.* simpleLoop.fmutmp/sources/libs +cp -a 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libOMSISolver_static.* simpleLoop.fmutmp/sources/libs +# Third party libraries +cp -f 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/omsi/libexpat.* simpleLoop.fmutmp/sources/libs +cp -fP C:/OMDevUCRT/tools/msys/ucrt64/bin/libopenblas.dll 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/libsundials_kinsol.dll 'C:/dev/jenkins/ws/Windows/OM_Win/build/lib'/omc/libsundials_nvecserial.dll simpleLoop.fmutmp/binaries/win64 +cp -a modelDescription.xml simpleLoop.fmutmp/ +cp -a simpleLoop_omsic.c simpleLoop_init_eqns.c simpleLoop_init_eqns_algSyst_0.c simpleLoop_init_eqns_derMat_0.c simpleLoop_sim_eqns.c simpleLoop_sim_eqns_algSyst_0.c simpleLoop_sim_eqns_derMat_0.c simpleLoop.fmutmp/sources/ +cp -a simpleLoop_omsic.h simpleLoop_init_eqns.h simpleLoop_init_eqns_algSyst_0.h simpleLoop_init_eqns_derMat_0.h simpleLoop_sim_eqns.h simpleLoop_sim_eqns_algSyst_0.h simpleLoop_sim_eqns_derMat_0.h simpleLoop.fmutmp/sources/include +cp -a simpleLoop_info.json simpleLoop.fmutmp/resources/ +cp -a simpleLoop_init.xml simpleLoop.fmutmp/resources/ +clang -Wall -Wextra -ansi -pedantic -g -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/base -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/solver -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/fmi2 -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/fmi2 -c simpleLoop_omsic.c +simpleLoop_omsic.c:49:50: warning: unused parameter 'sample_events' [-Wunused-parameter] +49 | void simpleLoop_instantiate_samples(omsi_sample* sample_events) +| ^ +1 warning generated. +clang -Wall -Wextra -ansi -pedantic -g -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/base -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/solver -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsi/fmi2 -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic -I'C:/dev/jenkins/ws/Windows/OM_Win/build'/include/omc/omsic/fmi2 -c simpleLoop_init_eqns.c +simpleLoop_init_eqns.c:86:27: error: incompatible function pointer types assigning to 'omsi_status (*)(struct omsi_function_t *, const omsi_values *, void *)' (aka 'omsi_status (*)(struct omsi_function_t *, const struct omsi_values *, void *)') from 'omsi_status (omsi_function_t *, omsi_values *, void *)' (aka 'omsi_status (struct omsi_function_t *, struct omsi_values *, void *)') [-Wincompatible-function-pointer-types] +86 | omsi_function->evaluate = simpleLoop_init_eqns_allEqns; +| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +simpleLoop_init_eqns.c:108:82: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter] +108 | void simpleLoop_eqFunction_7(omsi_function_t* this_function, const omsi_values* model_vars_and_params){ +| ^ +simpleLoop_init_eqns.c:119:82: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter] +119 | void simpleLoop_eqFunction_8(omsi_function_t* this_function, const omsi_values* model_vars_and_params){ +| ^ +simpleLoop_init_eqns.c:128:112: warning: unused parameter 'data' [-Wunused-parameter] +128 | omsi_status simpleLoop_init_eqns_allEqns(omsi_function_t* init_eqns, omsi_values* model_vars_and_params, void* data){ +| ^ +3 warnings and 1 error generated. +make: *** [simpleLoop_FMU.makefile:95: simpleLoop_init_eqns.o] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/omsi/omsic/SIMPLE~2.MOS/SIMPLE~1.FMU' +RESULT: 2 +" +1 "" -"info: maximum step size for 'model.root': 0.002000 -info: Result file: simpleLoop_OMS_res.mat (bufferSize=1) -info: Final Statistics for 'model.root': -NumSteps = 527 NumRhsEvals = 586 NumLinSolvSetups = 57 -NumNonlinSolvIters = 585 NumNonlinSolvConvFails = 0 NumErrTestFails = 16 +"error: [oms_extractFMIKind] failed to extract \"modelDescription.xml\" from \"simpleLoop.fmu\" +error: [oms_RunFile] oms_extractFMIKind failed +info: 0 warnings +info: 2 errors " -{"Files Equal!"} +"Error in compareSimulationResults" '' Equation mismatch: omc-diff says: Failed 's' '"' Line 4: Text differs: expected: resultFile = "simpleLoop_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/omsi/omsic/simpleLoop.mos_temp9491, time: 32]