Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 107.5 kB / 16.42 MB, free: 6.473 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.001138/0.001138, allocations: 188.3 kB / 17.35 MB, free: 5.703 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01245/0.01245, allocations: 2.792 MB / 294 MB, free: 11.95 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.147e-05, allocations: 6.219 kB / 406.6 MB, free: 29.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical): time 0.03564/0.03567, allocations: 50.7 MB / 457.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.06105, allocations: 29.11 MB / 486.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007088/0.0618, allocations: 7.938 kB / 486.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.0638, allocations: 0.6136 MB / 487 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007581/0.07149, allocations: 2.254 MB / 489.2 MB, free: 10.23 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00979/0.0813, allocations: 2.916 MB / 492.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.08299, allocations: 1.06 MB / 493.2 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.077e-05/0.08308, allocations: 28.73 kB / 493.2 MB, free: 6.207 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.7345/0.8176, allocations: 51.87 MB / 0.5323 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.8191, allocations: 302.8 kB / 0.5326 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.8193, allocations: 29.16 kB / 0.5326 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1497/0.969, allocations: 27.33 MB / 0.5593 GB, free: 1.719 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0009556/0.9699, allocations: 0.9995 MB / 0.5603 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000322/0.9703, allocations: 0.6859 MB / 0.561 GB, free: 260 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.9704, allocations: 99.06 kB / 0.5611 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001267/0.9706, allocations: 7.938 kB / 0.5611 GB, free: 168 kB / 382.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.003814/0.9744, allocations: 4.075 MB / 0.5651 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0002396/0.9746, allocations: 197.7 kB / 0.5653 GB, free: 12.81 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003318/0.978, allocations: 2.773 MB / 0.568 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simplify1: time 0.0003032/0.9783, allocations: 251.4 kB / 0.5682 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Alias: time 0.002434/0.9807, allocations: 2.169 MB / 0.5703 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplify2: time 0.0002708/0.981, allocations: 236.2 kB / 0.5705 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Detect States: time 0.0007637/0.9818, allocations: 0.5656 MB / 0.5711 GB, free: 9.09 MB / 398.1 MB Notification: Performance of Events: time 0.0003274/0.9821, allocations: 199 kB / 0.5713 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001203/0.9833, allocations: 1.084 MB / 0.5723 GB, free: 8.168 MB / 398.1 MB Notification: Performance of Causalize: time 0.01128/0.9946, allocations: 5.5 MB / 0.5777 GB, free: 3.93 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001756/0.9964, allocations: 1.522 MB / 0.5792 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Inline: time 0.002444/0.9989, allocations: 2.239 MB / 0.5814 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0002548/0.9991, allocations: 199.5 kB / 0.5816 GB, free: 1.273 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0003395/0.9995, allocations: 358.5 kB / 0.5819 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Causalize: time 0.006843/1.006, allocations: 5.65 MB / 0.5874 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Tearing: time 2.203e-05/1.006, allocations: 0 / 0.5874 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Initialization: time 1.072e-06/1.006, allocations: 0 / 0.5874 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Tearing: time 2.135e-05/1.006, allocations: 7.938 kB / 0.5874 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Categorize: time 5.541e-05/1.006, allocations: 11.94 kB / 0.5875 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Solve: time 0.0009231/1.007, allocations: 0.5372 MB / 0.588 GB, free: 10.78 MB / 414.1 MB Notification: Performance of Jacobian: time 4.749e-06/1.007, allocations: 0 / 0.588 GB, free: 10.78 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: ......... 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: ................. 12 (12) {medium1.baseProperties.state.phase, medium1.baseProperties.phaseOutput, medium1.completeState.state.phase, medium2.baseProperties.state.phase, medium2.baseProperties.phaseOutput, medium2.completeState.state.phase, $SEV_5, $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: ........... 120 (scalar:118, 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: ........... 120 (scalar:118, 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 8.33e-05/1.007, allocations: 68.23 kB / 0.588 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 0.01571/1.023, allocations: 6.239 MB / 0.5941 GB, free: 5.398 MB / 414.1 MB Notification: Performance of Templates: time 0.03614/1.059, allocations: 24.28 MB / 0.6179 GB, free: 13.18 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.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_TestBasePropertiesTranscritical -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.TestBasePropertiesTranscritical.o ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.c ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.c:317: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.TestBasePropertiesTranscritical.c:320: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.TestBasePropertiesTranscritical.c:323:22: error: use of undeclared identifier 'i' switch(i) ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.c:331: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.TestBasePropertiesTranscritical.c:468: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.TestBasePropertiesTranscritical.c:471: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.TestBasePropertiesTranscritical.c:474:22: error: use of undeclared identifier 'i' switch(i) ^ ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesTranscritical.c:482: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.TestBasePropertiesTranscritical.o] Error 1