Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.00172, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001726/0.001726, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.03/1.03, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.03947/0.03947, allocations: 9.093 MB / 279.7 MB, free: 2.953 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.095e-05, allocations: 4.25 kB / 388 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01176/0.01178, allocations: 17 MB / 405 MB, free: 34.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.01834, allocations: 11.09 MB / 416.1 MB, free: 25.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.01838, allocations: 0 / 416.1 MB, free: 25.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.01884, allocations: 262.8 kB / 416.4 MB, free: 25.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.01889, allocations: 35.08 kB / 416.4 MB, free: 25.77 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.008651/0.02756, allocations: 5.788 MB / 422.2 MB, free: 21.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.02765, allocations: 99.45 kB / 422.3 MB, free: 21.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.05e-05/0.02768, allocations: 0 / 422.3 MB, free: 21.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.02774, allocations: 35.8 kB / 422.3 MB, free: 21.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.02778, allocations: 15.94 kB / 422.4 MB, free: 21.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.02779, allocations: 0 / 422.4 MB, free: 21.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006961/0.03475, allocations: 8.605 MB / 431 MB, free: 12.83 MB / 318.1 MB Notification: Performance of combineBinaries: time 4.695e-05/0.03481, allocations: 79.08 kB / 431 MB, free: 12.75 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.615e-05/0.03484, allocations: 55.22 kB / 431.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.03485, allocations: 12 kB / 431.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.386e-06/0.03487, allocations: 0 / 431.1 MB, free: 12.68 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: 14 (2) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0002893/0.03516, allocations: 452.5 kB / 431.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.658e-05/0.03518, allocations: 15.98 kB / 431.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002021/0.03539, allocations: 292.1 kB / 431.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simplify1: time 1.255e-05/0.03541, allocations: 15.98 kB / 431.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of Alias: time 5.279e-05/0.03547, allocations: 104.4 kB / 432 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simplify2: time 1.113e-05/0.03549, allocations: 15.97 kB / 432 MB, free: 11.64 MB / 318.1 MB Notification: Performance of Events: time 1.667e-05/0.03551, allocations: 19.97 kB / 432 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Detect States: time 6.055e-05/0.03557, allocations: 73 kB / 432.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Partitioning: time 8.552e-05/0.03566, allocations: 128.7 kB / 432.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003285/0.036, allocations: 419.8 kB / 432.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 9.086e-05/0.0361, allocations: 180.8 kB / 432.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of Inline: time 0.0001779/0.03628, allocations: 320.8 kB / 433.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Partitioning: time 1.237e-05/0.0363, allocations: 20.12 kB / 433.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of Cleanup: time 1.501e-05/0.03632, allocations: 27.84 kB / 433.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002608/0.03658, allocations: 383 kB / 433.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of Tearing: time 6.222e-06/0.0366, allocations: 4 kB / 433.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of Initialization: time 2.71e-07/0.0366, allocations: 0 / 433.5 MB, free: 9.93 MB / 318.1 MB Notification: Performance of Tearing: time 1.333e-06/0.03661, allocations: 4 kB / 433.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Categorize: time 6.823e-06/0.03662, allocations: 0 / 433.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of Solve: time 6.562e-05/0.03669, allocations: 47.89 kB / 433.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of Jacobian: time 2.475e-06/0.0367, allocations: 0 / 433.6 MB, free: 9.879 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ................. 2 (2) {state.phase, state_ps.phase} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, 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: ........... 14 (scalar:14, 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.468e-05/0.03672, allocations: 34.42 kB / 433.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of SimCode: time 0.004346/0.04107, allocations: 4.234 MB / 437.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of Templates: time 0.02402/0.0651, allocations: 23.48 MB / 461.3 MB, free: 14.12 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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_Parameter_State_pT_parameter -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.Parameter.State_pT_parameter.o HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.c 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_Parameter_State_pT_parameter -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.Parameter.State_pT_parameter_functions.o HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:319:34: error: use of undeclared identifier '_OMC_LIT15' tmpMeta19 = stringAppend(_OMC_LIT15,tmp18); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:320:44: error: use of undeclared identifier '_OMC_LIT16' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT16); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:323:44: error: use of undeclared identifier '_OMC_LIT17' tmpMeta23 = stringAppend(tmpMeta22,_OMC_LIT17); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:333:135: error: use of undeclared identifier '_OMC_LIT14' tmp27 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, (_delta_liq) * (_d_crit), _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:336:135: error: use of undeclared identifier '_OMC_LIT14' tmp28 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, (_delta_vap) * (_d_crit), _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:347:120: error: use of undeclared identifier '_OMC_LIT14' tmp30 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, _d_crit, _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:350:120: error: use of undeclared identifier '_OMC_LIT14' tmp31 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, _d_crit, _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:373:137: error: use of undeclared identifier '_OMC_LIT14' tmp37 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, (_delta_liq) * (_d_crit), _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:376:137: error: use of undeclared identifier '_OMC_LIT14' tmp38 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, (_delta_vap) * (_d_crit), _T, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:584:34: error: use of undeclared identifier '_OMC_LIT19' tmpMeta17 = stringAppend(_OMC_LIT19,tmp16); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:585:44: error: use of undeclared identifier '_OMC_LIT20' tmpMeta18 = stringAppend(tmpMeta17,_OMC_LIT20); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:588:44: error: use of undeclared identifier '_OMC_LIT21' tmpMeta21 = stringAppend(tmpMeta20,_OMC_LIT21); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:591:44: error: use of undeclared identifier '_OMC_LIT22' tmpMeta24 = stringAppend(tmpMeta23,_OMC_LIT22); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:613:131: error: use of undeclared identifier '_OMC_LIT14' tmp28 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, _sat._liq._d, _sat._Tsat, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:616:131: error: use of undeclared identifier '_OMC_LIT14' tmp29 = omc_HelmholtzMedia_Examples_Parameter_State__pT__parameter_Medium_setState__dTX(threadData, _sat._vap._d, _sat._Tsat, _OMC_LIT14, ((modelica_integer) 1)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:653:59: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:833:57: error: use of undeclared identifier '_OMC_LIT25' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT25)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:846:57: error: use of undeclared identifier '_OMC_LIT26' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT26)); ^ HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.c:856:57: error: use of undeclared identifier '_OMC_LIT27' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT27)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_functions.o] Error 1