Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 114 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.001057/0.001057, allocations: 183.2 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01296/0.01296, allocations: 2.776 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.045e-05, allocations: 2.281 kB / 406.6 MB, free: 29.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.03603/0.03606, allocations: 50.75 MB / 457.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02383/0.05993, allocations: 29.1 MB / 486.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/0.06057, allocations: 0 / 486.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.06223, allocations: 0.6214 MB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.06861, allocations: 2.258 MB / 489.3 MB, free: 10.07 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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008833/0.07748, allocations: 2.917 MB / 492.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.07911, allocations: 1.061 MB / 493.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.07923, allocations: 32.72 kB / 493.3 MB, free: 6.031 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.5525/0.6317, allocations: 51.22 MB / 0.5317 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.6325, allocations: 303.9 kB / 0.532 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.6327, allocations: 28.62 kB / 0.5321 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1594/0.792, allocations: 27 MB / 0.5584 GB, free: 2.234 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001213/0.7933, allocations: 1.015 MB / 0.5594 GB, free: 1.414 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006218/0.7939, allocations: 0.6785 MB / 0.5601 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.7942, allocations: 99.44 kB / 0.5602 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001504/0.7944, allocations: 4 kB / 0.5602 GB, free: 0.6914 MB / 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.005172/0.7996, allocations: 4.095 MB / 0.5642 GB, free: 13.39 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0003302/0.7999, allocations: 202.8 kB / 0.5644 GB, free: 13.31 MB / 398.1 MB Notification: Performance of Early Inline: time 0.003792/0.8037, allocations: 2.767 MB / 0.5671 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simplify1: time 0.000451/0.8042, allocations: 261.3 kB / 0.5673 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Alias: time 0.00262/0.8068, allocations: 2.144 MB / 0.5694 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplify2: time 0.0003611/0.8072, allocations: 196.4 kB / 0.5696 GB, free: 9.961 MB / 398.1 MB Notification: Performance of Detect States: time 0.0007542/0.808, allocations: 0.5522 MB / 0.5702 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Events: time 0.0003172/0.8083, allocations: 181.7 kB / 0.5703 GB, free: 9.625 MB / 398.1 MB Notification: Performance of Partitioning: time 0.001143/0.8094, allocations: 1.028 MB / 0.5713 GB, free: 8.91 MB / 398.1 MB Notification: Performance of Causalize: time 0.006967/0.8164, allocations: 5.877 MB / 0.5771 GB, free: 4.363 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.001523/0.818, allocations: 1.475 MB / 0.5785 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Inline: time 0.00266/0.8206, allocations: 2.211 MB / 0.5807 GB, free: 2.027 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0002178/0.8209, allocations: 199.5 kB / 0.5809 GB, free: 1.816 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0004086/0.8213, allocations: 337 kB / 0.5812 GB, free: 1.504 MB / 398.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) 280.0 + 50.0 * time = state.T ($RES_SIM_15); [SCAL] (1) 280.0 + 50.0 * time = state.T ($RES_SIM_29); Notification: Performance of Causalize: time 0.01558/0.8369, allocations: 10.41 MB / 0.5913 GB, free: 7.117 MB / 414.1 MB Error: Internal error Trying to construct residual expression of type medium1.completeSat.Medium.SaturationProperties for equation [RECD] (14) medium1.completeSat.sat = medium1.baseProperties.sat ($RES_BND_93) but operator '+' is not defined. Error: Internal error NBInitialization.main failed to apply modules!