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.001318/0.001318, allocations: 111.5 kB / 16.43 MB, free: 6.461 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.001327/0.001327, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.034/1.034, 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.03899/0.03899, allocations: 9.093 MB / 279.7 MB, free: 2.957 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.227e-06/9.227e-06, allocations: 4.25 kB / 388.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.0101/0.01012, allocations: 13.14 MB / 401.2 MB, free: 38.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.02262, allocations: 17.75 MB / 418.9 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.0227, allocations: 1.594 kB / 418.9 MB, free: 24.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.02287, allocations: 60.27 kB / 419 MB, free: 24.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.02301, allocations: 64.73 kB / 419.1 MB, free: 24.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01164/0.03465, allocations: 6.705 MB / 425.8 MB, free: 18.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.03481, allocations: 190.9 kB / 426 MB, free: 17.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.03485, allocations: 4 kB / 426 MB, free: 17.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.03494, allocations: 71.7 kB / 426 MB, free: 17.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.03502, allocations: 63.72 kB / 426.1 MB, free: 17.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.03504, allocations: 4 kB / 426.1 MB, free: 17.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008322/0.04337, allocations: 9.856 MB / 436 MB, free: 7.844 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001046/0.04348, allocations: 217.5 kB / 436.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.87e-05/0.04353, allocations: 147.6 kB / 436.3 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.04355, allocations: 16 kB / 436.3 MB, free: 7.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.927e-05/0.04358, allocations: 7.938 kB / 436.3 MB, free: 7.461 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.0005033/0.04408, allocations: 0.8688 MB / 437.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.836e-05/0.04415, allocations: 35.86 kB / 437.2 MB, free: 6.441 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003952/0.04455, allocations: 0.5696 MB / 437.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simplify1: time 2.324e-05/0.04458, allocations: 31.89 kB / 437.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of Alias: time 0.0002762/0.04486, allocations: 286.2 kB / 438.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of simplify2: time 1.876e-05/0.04489, allocations: 31.95 kB / 438.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of Events: time 7.115e-05/0.04496, allocations: 78.69 kB / 438.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of Detect States: time 8.121e-05/0.04505, allocations: 124.8 kB / 438.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001239/0.04518, allocations: 205.5 kB / 438.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004987/0.04569, allocations: 0.7041 MB / 439.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002137/0.04591, allocations: 396.4 kB / 439.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of Inline: time 0.0004233/0.04634, allocations: 0.6928 MB / 440.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of Partitioning: time 1.972e-05/0.04636, allocations: 36.11 kB / 440.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Cleanup: time 2.079e-05/0.04639, allocations: 35.94 kB / 440.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004334/0.04683, allocations: 0.5936 MB / 441 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Tearing: time 6.562e-06/0.04684, allocations: 0 / 441 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Initialization: time 2.91e-07/0.04684, allocations: 0 / 441 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Tearing: time 2.325e-06/0.04685, allocations: 4 kB / 441 MB, free: 2.438 MB / 318.1 MB Notification: Performance of Categorize: time 7.444e-06/0.04686, allocations: 3.938 kB / 441 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Solve: time 0.0001064/0.04697, allocations: 97.61 kB / 441.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of Jacobian: time 2.565e-06/0.04698, allocations: 0 / 441.1 MB, free: 2.34 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 2.9e-05/0.04701, allocations: 32.69 kB / 441.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of SimCode: time 0.00861/0.05563, allocations: 6.882 MB / 448 MB, free: 11.4 MB / 334.1 MB Notification: Performance of Templates: time 0.04186/0.0975, allocations: 41.81 MB / 489.8 MB, free: 1.574 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