Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 117.3 kB / 16.42 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001063, allocations: 194.8 kB / 17.35 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04439/0.04439, allocations: 9.084 MB / 279.7 MB, free: 2.961 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.815e-05, allocations: 2.984 kB / 388 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01481/0.01486, allocations: 13.15 MB / 401.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.03349, allocations: 17.75 MB / 418.9 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.03389, allocations: 0 / 418.9 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.03425, allocations: 53.36 kB / 419 MB, free: 24.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.03458, allocations: 67.62 kB / 419.1 MB, free: 24.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02423/0.05881, allocations: 6.718 MB / 425.8 MB, free: 18.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.05915, allocations: 182.9 kB / 426 MB, free: 17.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.0592, allocations: 8 kB / 426 MB, free: 17.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.05936, allocations: 67.7 kB / 426 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.05946, allocations: 59.72 kB / 426.1 MB, free: 17.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.05949, allocations: 4 kB / 426.1 MB, free: 17.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02196/0.08145, allocations: 9.856 MB / 436 MB, free: 7.855 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003098/0.08182, allocations: 213.5 kB / 436.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.331e-05/0.0819, allocations: 149.8 kB / 436.3 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.08198, allocations: 24 kB / 436.3 MB, free: 7.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.776e-05/0.08204, allocations: 3.938 kB / 436.3 MB, free: 7.469 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 (9) * Number of variables: 25 (25) Notification: Performance of Bindings: time 0.001103/0.08315, allocations: 0.8649 MB / 437.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001066/0.08327, allocations: 43.84 kB / 437.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008363/0.08412, allocations: 0.5639 MB / 437.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simplify1: time 4.06e-05/0.08417, allocations: 31.95 kB / 437.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of Alias: time 0.0004823/0.08466, allocations: 290.2 kB / 438.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simplify2: time 3.032e-05/0.0847, allocations: 33.77 kB / 438.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001297/0.08484, allocations: 100.8 kB / 438.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Events: time 0.0001317/0.08498, allocations: 81.56 kB / 438.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001985/0.08519, allocations: 204.7 kB / 438.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Causalize: time 0.000837/0.08604, allocations: 0.7039 MB / 439.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004116/0.08646, allocations: 404.2 kB / 439.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Inline: time 0.0008609/0.08734, allocations: 0.685 MB / 440.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Partitioning: time 4.058e-05/0.08739, allocations: 36.05 kB / 440.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Cleanup: time 3.742e-05/0.08743, allocations: 35.94 kB / 440.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007746/0.08821, allocations: 0.5966 MB / 441 MB, free: 2.457 MB / 318.1 MB Notification: Performance of Tearing: time 1.475e-05/0.08824, allocations: 0 / 441 MB, free: 2.457 MB / 318.1 MB Notification: Performance of Initialization: time 4.31e-07/0.08825, allocations: 4 kB / 441 MB, free: 2.453 MB / 318.1 MB Notification: Performance of Tearing: time 4.268e-06/0.08826, allocations: 4 kB / 441 MB, free: 2.449 MB / 318.1 MB Notification: Performance of Categorize: time 1.713e-05/0.08829, allocations: 3.938 kB / 441 MB, free: 2.445 MB / 318.1 MB Notification: Performance of Solve: time 0.0001784/0.08847, allocations: 97.61 kB / 441.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Jacobian: time 5.18e-06/0.08849, allocations: 0 / 441.1 MB, free: 2.352 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {state.phase, state_dT.phase, state_ph.phase, state_ps.phase, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.935e-05/0.08855, allocations: 30.06 kB / 441.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of SimCode: time 0.01916/0.1077, allocations: 6.94 MB / 448.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.06872/0.1765, allocations: 41.81 MB / 489.9 MB, free: 1.535 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water -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 HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.o HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:140:192: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[15] /* state_ps.d variable */) = omc_Modelica_Media_Water_IF97__Utilities_rho__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:140:336: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[15] /* state_ps.d variable */) = omc_Modelica_Media_Water_IF97__Utilities_rho__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:202:190: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[14] /* state_ps.T variable */) = omc_Modelica_Media_Water_IF97__Utilities_T__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:202:334: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[14] /* state_ps.T variable */) = omc_Modelica_Media_Water_IF97__Utilities_T__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:229:190: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[16] /* state_ps.h variable */) = omc_Modelica_Media_Water_IF97__Utilities_h__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.c:229:334: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[16] /* state_ps.h variable */) = omc_Modelica_Media_Water_IF97__Utilities_h__props__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->localData[0]->realVars[1] /* state.p variable */), properties._s, ((modelica_integer) 0), ((modelica_integer) 0))); ^ 6 errors generated. make: *** [: HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.o] Error 1