Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + LocalVariableInit                                                                 ... execution failed

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/LocalVariableInit.mos_temp1818/log-LocalVariableInit.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'LocalVariableInit', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: LocalVariableInit"
end SimulationResult;
Error processing file: LocalVariableInit.mos
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/LOCALV~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=LocalVariableInit -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 LocalVariableInit.o LocalVariableInit.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=LocalVariableInit -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 LocalVariableInit_functions.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_records.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_01exo.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_02nls.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_03lsy.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_04set.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_05evt.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_06inz.o LocalVariableInit_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=LocalVariableInit -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 LocalVariableInit_07dly.o LocalVariableInit_07dly.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=LocalVariableInit -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 LocalVariableInit_07dly.o LocalVariableInit_07dly.c
1.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:1187:41: current parser token '('
2.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:1186:1: parsing function body '_mm_cmpeq_pi16'
3.C:/OMDevUCRT/tools/msys/ucrt64/lib/clang/17/include/mmintrin.h:1186:1: in compound statement ('{}')
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x000000BC00000003 <unknown module>
0x00007FFB4A740000 <unknown module>
0x0000000000000016 <unknown module>
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 17.0.6
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin
clang: note: diagnostic msg: Error generating preprocessed source(s).
make: *** [<builtin>: LocalVariableInit_07dly.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/LOCALV~2.MOS'
RESULT: 2
Error: Failed to open simulation result LocalVariableInit_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/algorithms_functions/LocalVariableInit.mos_temp1818, time: 7]