Skip to content

Regression

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

Failing for the past 1 build (Since #3747 )
Took 5 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + WhenStatement2                                                                    ... execution failed

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/WhenStatement2.mos_temp9742/log-WhenStatement2.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 400, tolerance = 0.001, method = 'dassl', fileNamePrefix = 'WhenStat2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: WhenStat2"
end SimulationResult;
Error processing file: WhenStatement2.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/ALGORI~1/WH040F~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=WhenStat2 -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 WhenStat2.o WhenStat2.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=WhenStat2 -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 WhenStat2_functions.o WhenStat2_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=WhenStat2 -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 WhenStat2_records.o WhenStat2_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=WhenStat2 -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 WhenStat2_01exo.o WhenStat2_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=WhenStat2 -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 WhenStat2_02nls.o WhenStat2_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=WhenStat2 -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 WhenStat2_03lsy.o WhenStat2_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=WhenStat2 -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 WhenStat2_04set.o WhenStat2_04set.c
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5afmake: *** [<builtin>: WhenStat2_04set.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/WH040F~1.MOS'
RESULT: 2
Error: Failed to open simulation result WhenStat2_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/WhenStatement2.mos_temp9742, time: 5]