Skip to content

Regression

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

Failing for the past 1 build (Since #3812 )
Took 12 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + HideVariableForEquations                                                          ... execution failed

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/equations/HideVariableForEquations.mos_temp4773/log-HideVariableForEquations.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'HideVariableForEquations', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: HideVariableForEquations"
end SimulationResult;
Error processing file: HideVariableForEquations.mos
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EQUATI~1/HIDEVA~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=HideVariableForEquations -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 HideVariableForEquations.o HideVariableForEquations.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=HideVariableForEquations -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 HideVariableForEquations_functions.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_records.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_01exo.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_02nls.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_03lsy.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_04set.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_05evt.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_06inz.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_07dly.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_08bnd.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_09alg.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_10asr.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_11mix.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_12jac.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_13opt.o HideVariableForEquations_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=HideVariableForEquations -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 HideVariableForEquations_14lnz.o HideVariableForEquations_14lnz.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=HideVariableForEquations -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 HideVariableForEquations_14lnz.o HideVariableForEquations_14lnz.c
1.C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:6427:5 <Spelling=C:/OMDevUCRT/tools/msys/ucrt64/include/winnt.h:435:18>: current parser token 'extern'
Exception Code: 0xC000001D
0x00007FFB4909B736 <unknown module>
0x00007FFB89B3E6D5 <unknown module>
0x0000000000000003 <unknown module>
0x000002B0004C0000 <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: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:/Windows/TEMP/HideVariableForEquations_14lnz-a5de61.c
clang: note: diagnostic msg: C:/Windows/TEMP/HideVariableForEquations_14lnz-a5de61.sh
clang: note: diagnostic msg: 

********************
make: *** [<builtin>: HideVariableForEquations_14lnz.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/EQUATI~1/HIDEVA~2.MOS'
RESULT: 2
Error: Failed to open simulation result HideVariableForEquations_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/HideVariableForEquations.mos_temp4773, time: 12]