Failed
tests / 01 testsuite-gcc 1/3 / simulation_libraries_3rdParty_ThermoPower.ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph ... equation mismatch [time: 100] ==== Log /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/ThermoPower/ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos_temp4101/log-ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1000.0, numberOfIntervals = 500, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph" 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. Error: Error building simulator. Build log: gcc -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=31 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.c gcc -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=31 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c: In function 'omc__omcQ_24DER_24_24PThermoPower_24PFunctions_24PlinspaceExt': ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c:11840:129: error: '__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERi' undeclared (first use in this function); did you mean '__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2'? 11840 | __omcQ_24tmpVar0 = __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx1 + (_x2 - _x1) * (((((modelica_real)__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERi)) * (((modelica_real)((modelica_integer) -1) + _N))) / tmp15) + (__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2 - __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx1) * ((((modelica_real)((modelica_integer) -1) + _i)) / tmp16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2 ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c:11840:129: note: each undeclared identifier is reported only once for each function it appears in ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c: At top level: cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics make: *** [<builtin>: ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.o] Error 1 " Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/ThermoPower/ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos_temp4101/equations-expected2024-01-20 03:54:47.071448211 +0000 +++ /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/ThermoPower/ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos_temp4101/equations-got2024-01-20 03:56:27.980805190 +0000 @@ -1,13 +1,22 @@ true "" true "" record SimulationResult -resultFile = "ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1000.0, numberOfIntervals = 500, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph', 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 = 1000.0, numberOfIntervals = 500, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph" 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. +Error: Error building simulator. Build log: gcc -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=31 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.c +gcc -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/c\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=31 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.o ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c +ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c: In function 'omc__omcQ_24DER_24_24PThermoPower_24PFunctions_24PlinspaceExt': +ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c:11840:129: error: '__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERi' undeclared (first use in this function); did you mean '__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2'? +11840 | __omcQ_24tmpVar0 = __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx1 + (_x2 - _x1) * (((((modelica_real)__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERi)) * (((modelica_real)((modelica_integer) -1) + _N))) / tmp15) + (__omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2 - __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx1) * ((((modelica_real)((modelica_integer) -1) + _i)) / tmp16); +| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +| __omcQ_24_24PThermoPower_24PFunctions_24PlinspaceExt_24funDERx2 +ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c:11840:129: note: each undeclared identifier is reported only once for each function it appears in +ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.c: At top level: +cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics +make: *** [<builtin>: ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_functions.o] Error 1 " Equation mismatch: omc-diff says: Failed 'T' '"' Line 6: Text differs: expected: resultFile = "ThermoPower.Test.DistributedParameterComponents.TestWaterFlow got: resultFile = "", == 1 out of 1 tests failed [simulation/libraries/3rdParty/ThermoPower/ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.mos_temp4101, time: 101]