Skip to content

Regression

simulation_modelica_equations.IfEquation2.mos (from (result.xml))

Failing for the past 1 build (Since #3850 )
Took 7 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + IfEquation2                                                                       ... execution failed

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/equations/IfEquation2.mos_temp8067/log-IfEquation2.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'IfEquation2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: IfEquation2"
end SimulationResult;
Error processing file: IfEquation2.mos
Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions("-d=initialization").
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EQUATI~1/IF6EC3~1.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c" -I"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IfEquation2 -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 IfEquation2.o IfEquation2.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=IfEquation2 -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 IfEquation2_functions.o IfEquation2_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=IfEquation2 -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 IfEquation2_records.o IfEquation2_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=IfEquation2 -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 IfEquation2_01exo.o IfEquation2_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=IfEquation2 -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 IfEquation2_02nls.o IfEquation2_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=IfEquation2 -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 IfEquation2_03lsy.o IfEquation2_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=IfEquation2 -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 IfEquation2_04set.o IfEquation2_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=IfEquation2 -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 IfEquation2_05evt.o IfEquation2_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=IfEquation2 -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 IfEquation2_06inz.o IfEquation2_06inz.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=IfEquation2 -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 IfEquation2_06inz.o IfEquation2_06inz.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/avx512vlvnniintrin.h:278:75: current parser token ')'
Exception Code: 0xC000001D
 #0 0x00007fff95ffb736 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1b736)
 #1 0x00007ff830eae6d5 (C:\WINDOWS\System32\ucrtbase.dll+0x7e6d5)
 #2 0x00007ff830eaf6e1 (C:\WINDOWS\System32\ucrtbase.dll+0x7f6e1)
 #3 0x00007fff97fb8d08 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1fd8d08)
 #4 0x00007fff96427962 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x447962)
 #5 0x00007ff8193d1f4c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libstdc++-6.dll+0x131f4c)
 #6 0x00007fff9d7f8be2 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x718be2)
 #7 0x00007fff9d907133 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x827133)
 #8 0x00007fff9eb176f0 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1a376f0)
 #9 0x00007fff9eb82904 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1aa2904)
#10 0x00007fff9ef55309 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e75309)
#11 0x00007fff9ef085a5 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e285a5)
#12 0x00007fff9eef7e6c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e17e6c)
#13 0x00007fff9ef074c6 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e274c6)
#14 0x00007fff9d75e5b0 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x67e5b0)
#15 0x00007fff9ec84291 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1ba4291)
#16 0x00007fff9eebf79f (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1ddf79f)
#17 0x00007fff9ef47d6d (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e67d6d)
#18 0x00007fff9ef635d1 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e835d1)
#19 0x00007fff9ef12943 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1e32943)
#20 0x00007fff9eed08a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1df08a8)
#21 0x00007fff9f4d1d4e (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x23f1d4e)
#22 0x00007fff9dd6d078 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xc8d078)
#23 0x00007fff9de8f0c4 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0xdaf0c4)
#24 0x00007fff9eab247c (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x19d247c)
#25 0x00007ff7e910f4a8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xf4a8)
#26 0x00007ff7e910fada (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xfada)
#27 0x00007fff9d75ed4d (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x67ed4d)
#28 0x00007fff97e90154 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libLLVM-17.dll+0x1eb0154)
#29 0x00007fff9f89b954 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27bb954)
#30 0x00007fff9f8d8ab5 (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f8ab5)
#31 0x00007fff9f8d876f (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x27f876f)
#32 0x00007fff9f00729b (C:\OMDevUCRT\tools\msys\ucrt64\bin\libclang-cpp.dll+0x1f2729b)
#33 0x00007ff7e910c1b8 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0xc1b8)
#34 0x00007ff7e9114eb9 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x14eb9)
#35 0x00007ff7e91012ee (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x12ee)
#36 0x00007ff7e9101406 (C:\OMDevUCRT\tools\msys\ucrt64\bin\clang.exe+0x1406)
#37 0x00007ff83263257d (C:\WINDOWS\System32\KERNEL32.DLL+0x1257d)
#38 0x00007ff83342af28 (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:/Users/OPENMO~1/AppData/Local/Temp/IfEquation2_06inz-9a8d5e.c
clang: note: diagnostic msg: C:/Users/OPENMO~1/AppData/Local/Temp/IfEquation2_06inz-9a8d5e.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: IfEquation2_06inz.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EQUATI~1/IF6EC3~1.MOS'
RESULT: 2
Error: Failed to open simulation result IfEquation2_res.mat: No such file or directory
Error: Error reading simulation result.
Error: Internal error - Types.typeOfValue failed: fail()

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!

== 1 out of 1 tests failed [simulation/modelica/equations/IfEquation2.mos_temp8067, time: 7]