Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 117.3 kB / 16.43 MB, free: 6.523 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.001194/0.001194, allocations: 185.5 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01077/0.01077, allocations: 2.778 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.897e-05, allocations: 6.219 kB / 406.6 MB, free: 29.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.03344/0.03347, allocations: 50.71 MB / 457.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.05732, allocations: 29.1 MB / 486.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005809/0.05794, allocations: 4 kB / 486.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.05948, allocations: 0.6175 MB / 487 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.0652, allocations: 2.25 MB / 489.2 MB, free: 10.12 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008179/0.0734, allocations: 2.928 MB / 492.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.07486, allocations: 1.052 MB / 493.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.07495, allocations: 36.7 kB / 493.2 MB, free: 6.082 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.8218/0.8968, allocations: 51.86 MB / 0.5323 GB, free: 22.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008861/0.8977, allocations: 298.2 kB / 0.5326 GB, free: 22.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.8978, allocations: 27.38 kB / 0.5326 GB, free: 22.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1509/1.049, allocations: 27.34 MB / 0.5593 GB, free: 1.48 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001033/1.05, allocations: 1.006 MB / 0.5603 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005591/1.05, allocations: 0.6847 MB / 0.561 GB, free: 8 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/1.051, allocations: 102.9 kB / 0.5611 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001285/1.051, allocations: 4 kB / 0.5611 GB, free: 15.92 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 (90) * Number of variables: 198 (198) Notification: Performance of Bindings: time 0.004398/1.055, allocations: 4.077 MB / 0.5651 GB, free: 12.64 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003297/1.055, allocations: 198 kB / 0.5653 GB, free: 12.56 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003629/1.059, allocations: 2.773 MB / 0.568 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simplify1: time 0.0003857/1.06, allocations: 247.8 kB / 0.5682 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Alias: time 0.003264/1.063, allocations: 2.163 MB / 0.5703 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplify2: time 0.0003873/1.063, allocations: 236.5 kB / 0.5705 GB, free: 9.133 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005897/1.064, allocations: 0.5684 MB / 0.5711 GB, free: 8.848 MB / 398.1 MB Notification: Performance of Events: time 0.0003123/1.064, allocations: 186.1 kB / 0.5713 GB, free: 8.758 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001218/1.065, allocations: 1.073 MB / 0.5723 GB, free: 7.938 MB / 398.1 MB Notification: Performance of Causalize: time 0.01026/1.076, allocations: 5.486 MB / 0.5777 GB, free: 3.703 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001783/1.077, allocations: 1.491 MB / 0.5791 GB, free: 3.043 MB / 398.1 MB Notification: Performance of Inline: time 0.002887/1.08, allocations: 2.219 MB / 0.5813 GB, free: 1.398 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0002499/1.081, allocations: 199.5 kB / 0.5815 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0005133/1.081, allocations: 357.2 kB / 0.5818 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Causalize: time 0.008071/1.089, allocations: 5.616 MB / 0.5873 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Tearing: time 2.181e-05/1.089, allocations: 4 kB / 0.5873 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Initialization: time 1.252e-06/1.089, allocations: 0 / 0.5873 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Tearing: time 2.347e-05/1.089, allocations: 3.938 kB / 0.5873 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Categorize: time 6.106e-05/1.089, allocations: 12 kB / 0.5873 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Solve: time 0.001104/1.09, allocations: 0.5415 MB / 0.5879 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Jacobian: time 4.318e-06/1.09, allocations: 0 / 0.5879 GB, free: 10.73 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 8 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 7 * 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: ................. 11 (11) {medium1.baseProperties.state.phase, medium1.baseProperties.phaseOutput, medium1.completeState.state.phase, medium2.baseProperties.state.phase, medium2.baseProperties.phaseOutput, medium2.completeState.state.phase, $SEV_4[$i1], $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 119 (scalar:117, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * 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: ........... 119 (scalar:117, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * 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 0.0001045/1.091, allocations: 52.12 kB / 0.5879 GB, free: 10.68 MB / 414.1 MB Notification: Performance of SimCode: time 0.01219/1.103, allocations: 6.218 MB / 0.594 GB, free: 5.375 MB / 414.1 MB Notification: Performance of Templates: time 0.03181/1.135, allocations: 24.08 MB / 0.6175 GB, free: 13.36 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -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=ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit -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 ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:293:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:296:135: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[84] /* medium2.baseProperties.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:299:22: error: use of undeclared identifier 'i' switch(i) ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:307:124: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"CO2|enable_BICUBIC=1\"}", (long) i); ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:444:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:447:134: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[1] /* medium1.baseProperties.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:450:22: error: use of undeclared identifier 'i' switch(i) ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.c:458:124: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"CO2|enable_BICUBIC=1\"}", (long) i); ^ 8 errors generated. make: *** [: ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.o] Error 1