Skip to content

Failed

simulation_modelica_hpcom.Modelica.Mechanics.Rotational.Examples.HeatLosses.mos (from (result.xml))

Failing for the past 182 builds (Since #3521 )
Took 6 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.Mechanics.Rotational.Examples.HeatLosses                                 ... equation mismatch [time: 6]

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/hpcom/Modelica.Mechanics.Rotational.Examples.HeatLosses.mos_temp7272/log-Modelica.Mechanics.Rotational.Examples.HeatLosses.mos
true
true
true
true
""
true
""
readCalcTimesFromFile: No valid profiling-file found.
Warning: The costs have been estimated. Maybe Modelica.Mechanics.Rotational.Examples.HeatLosses_eqs_prof-file is missing.
Using list Scheduler for the DAE system
Using list Scheduler for the ODE system
Using list Scheduler for the ZeroFunc system
There is no parallel potential in the ODE system model!
HpcOm is still under construction.
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.Rotational.Examples.HeatLosses', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Modelica.Mechanics.Rotational.Examples.HeatLosses"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/hpcom/MO96DD~1.MOS'
clang -fopenmp -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse  -fopenmp   -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=Modelica_Mechanics_Rotational_Examples_HeatLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.HeatLosses.o Modelica.Mechanics.Rotational.Examples.HeatLosses.c
Modelica.Mechanics.Rotational.Examples.HeatLosses.c:2136:7: error: call to undeclared function 'GC_pthread_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2136 |       GC_pthread_create(&odeThread_0, NULL, functionODE_system0_thread_0, data);
      |       ^
Modelica.Mechanics.Rotational.Examples.HeatLosses.c:2136:7: note: did you mean 'pthread_create'?
C:/OMDevUCRT/tools/msys/ucrt64/include/pthread.h:311:26: note: 'pthread_create' declared here
  311 | int       WINPTHREAD_API pthread_create(pthread_t *th, const pthread_attr_t *attr, void *(* func)(void *), void *arg);
      |                          ^
1 error generated.
make: *** [<builtin>: Modelica.Mechanics.Rotational.Examples.HeatLosses.o] Error 1
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/hpcom/MO96DD~1.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/hpcom/Modelica.Mechanics.Rotational.Examples.HeatLosses.mos_temp7272/equations-expected"2024-04-18 14:48:54.980593000 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/hpcom/Modelica.Mechanics.Rotational.Examples.HeatLosses.mos_temp7272/equations-got"2024-04-18 14:49:00.618593800 +0200
@@ -11,13 +11,24 @@
 Using list Scheduler for the ODE system
 Using list Scheduler for the ZeroFunc system
 There is no parallel potential in the ODE system model!
 HpcOm is still under construction.
 record SimulationResult
-resultFile = "Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.Rotational.Examples.HeatLosses', 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 = 10000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.Rotational.Examples.HeatLosses', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Modelica.Mechanics.Rotational.Examples.HeatLosses"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/hpcom/MO96DD~1.MOS'
+clang -fopenmp -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse  -fopenmp   -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=Modelica_Mechanics_Rotational_Examples_HeatLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Mechanics.Rotational.Examples.HeatLosses.o Modelica.Mechanics.Rotational.Examples.HeatLosses.c
+Modelica.Mechanics.Rotational.Examples.HeatLosses.c:2136:7: error: call to undeclared function 'GC_pthread_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+2136 |       GC_pthread_create(&odeThread_0, NULL, functionODE_system0_thread_0, data);
+| ^
+Modelica.Mechanics.Rotational.Examples.HeatLosses.c:2136:7: note: did you mean 'pthread_create'?
+C:/OMDevUCRT/tools/msys/ucrt64/include/pthread.h:311:26: note: 'pthread_create' declared here
+311 | int       WINPTHREAD_API pthread_create(pthread_t *th, const pthread_attr_t *attr, void *(* func)(void *), void *arg);
+| ^
+1 error generated.
+make: *** [<builtin>: Modelica.Mechanics.Rotational.Examples.HeatLosses.o] Error 1
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/hpcom/MO96DD~1.MOS'
+RESULT: 2
+"
+"Error in compareSimulationResults"
'' 
Equation mismatch: omc-diff says: 
Failed 'M' '"'
Line 16: Text differs:
expected: resultFile = "Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/hpcom/Modelica.Mechanics.Rotational.Examples.HeatLosses.mos_temp7272, time: 6]