Skip to content

Failed

tests / 04 testsuite-clang 1/3 / simulation_modelica_inheritances.Ticket4258a.mos (from (result.xml))

Failing for the past 86 builds (Since #1 )
Took 1 min 37 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Ticket4258a.mos [BUG: #4258]                                                      ... equation mismatch [time: 97]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/inheritances/Ticket4258a.mos_temp1260/log-Ticket4258a.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 200.0, numberOfIntervals = 1000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'simple_BasicHX_water_gas', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: simple_BasicHX_water_gas"
end SimulationResult;
"Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: WT_Nachreformer.pipe_1.mediums[5].T
2: WT_Nachreformer.pipe_1.mediums[1].T
3: WT_Nachreformer.pipe_1.mediums[2].T
4: WT_Nachreformer.pipe_1.mediums[3].T
5: WT_Nachreformer.pipe_1.mediums[4].T
Please use -d=bltdump for more information.
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: WT_Nachreformer.pipe_2.flowModel.m_flows[5]
Please use -d=bltdump for more information.
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: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=simple_BasicHX_water_gas -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=47 -DOMC_NUM_NONLINEAR_SYSTEMS=20 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o simple_BasicHX_water_gas.o simple_BasicHX_water_gas.c
clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=simple_BasicHX_water_gas -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=47 -DOMC_NUM_NONLINEAR_SYSTEMS=20 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o simple_BasicHX_water_gas_functions.o simple_BasicHX_water_gas_functions.c
simple_BasicHX_water_gas_functions.c:34588:820: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
  __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfa = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmin2) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^~~
./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
                                                                                                                                       ^
simple_BasicHX_water_gas_functions.c:34592:820: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
  __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmax2) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ^~~
./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
                                                                                                                                       ^
simple_BasicHX_water_gas_functions.c:34807:807: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
      __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERb) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^~~
./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
                                                                                                                                       ^
3 errors generated.
make: *** [<builtin>: simple_BasicHX_water_gas_functions.o] Error 1
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/inheritances/Ticket4258a.mos_temp1260/equations-expected2024-01-20 03:55:56.402552516 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/inheritances/Ticket4258a.mos_temp1260/equations-got2024-01-20 03:57:33.509907225 +0000
@@ -1,15 +1,13 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "simple_BasicHX_water_gas_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 200.0, numberOfIntervals = 1000, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'simple_BasicHX_water_gas', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully with 3 homotopy steps.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 200.0, numberOfIntervals = 1000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'simple_BasicHX_water_gas', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: simple_BasicHX_water_gas"
 end SimulationResult;
 "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
 Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
 ========================================
 1: WT_Nachreformer.pipe_1.mediums[5].T
@@ -21,6 +19,28 @@
 Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
 ========================================
 1: WT_Nachreformer.pipe_2.flowModel.m_flows[5]
 Please use -d=bltdump for more information.
 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: clang  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=simple_BasicHX_water_gas -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=47 -DOMC_NUM_NONLINEAR_SYSTEMS=20 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o simple_BasicHX_water_gas.o simple_BasicHX_water_gas.c
+clang -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality     -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=simple_BasicHX_water_gas -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=47 -DOMC_NUM_NONLINEAR_SYSTEMS=20 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o simple_BasicHX_water_gas_functions.o simple_BasicHX_water_gas_functions.c
+simple_BasicHX_water_gas_functions.c:34588:820: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
+__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfa = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmin2) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_min2, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
+^~~
+./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
+Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
+^
+simple_BasicHX_water_gas_functions.c:34592:820: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
+__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERx_5Fmax2) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _x_max2, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
+^~~
+./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
+Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
+^
+simple_BasicHX_water_gas_functions.c:34807:807: error: passing 'double' to parameter of incompatible type 'modelica_string' (aka 'void *')
+__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERfb = omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1 /* true */, 1, 0.0, __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERf_5Fnonlinear_5Fdata, 0.0, 0.0) + (__omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERb) * (omc__omcQ_24DER_24_24PModelica_24PMedia_24PIdealGases_24PCommon_24PFunctions_24Ph_5F_5FT(threadData, _f_nonlinear_data, _b, 1 /* true */, 1, 0.0, omc_Modelica_Media_IdealGases_Common_DataRecord(threadData, 0.0, 0.0, 0.0, 0.0, 0.0, _OMC_LIT24, _OMC_LIT25, _OMC_LIT24, _OMC_LIT25, 0.0), 1.0, 0.0)) - __omcQ_24_24PModelica_24PFluid_24PPipes_24PDynamicPipe_24WT_5FNachreformer_24pipe_5F1_24PMedium_24PT_5Fh_24PInternal_24Psolve_24funDERy_5Fzero;
+^~~
+./simple_BasicHX_water_gas_functions.h:3734:136: note: passing argument to parameter 'omc_name' here
+Modelica_Media_IdealGases_Common_DataRecord omc_Modelica_Media_IdealGases_Common_DataRecord (threadData_t *threadData, modelica_string omc_name, modelica_real omc_MM, modelica_real omc_Hf, modelica_real omc_H0, modelica_real omc_Tlimit, real_array omc_alow, real_array omc_blow, real_array omc_ahigh, real_array omc_bhigh, modelica_real omc_R);
+^
+3 errors generated.
+make: *** [<builtin>: simple_BasicHX_water_gas_functions.o] Error 1
 "

Equation mismatch: omc-diff says:
Failed 's' '"'
Line 6: Text differs:
expected: resultFile = "simple_BasicHX_water_gas_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/inheritances/Ticket4258a.mos_temp1260, time: 97]