Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004449/0.004448, allocations: 178.4 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.289/1.289, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 115.9 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1683/0.1683, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.307e-06, allocations: 1.438 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.184/1.291, allocations: 485.2 MB / 0.8627 GB, free: 85.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.292, allocations: 75.95 kB / 0.8628 GB, free: 85.05 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd: time 0.1344/1.426, allocations: 57.04 MB / 0.9185 GB, free: 27.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/1.426, allocations: 7.984 kB / 0.9185 GB, free: 27.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002057/1.428, allocations: 0.7051 MB / 0.9192 GB, free: 27.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.428, allocations: 8.031 kB / 0.9192 GB, free: 27.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007624/1.436, allocations: 0.7055 MB / 0.9199 GB, free: 26.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/1.436, allocations: 250.8 kB / 0.9201 GB, free: 26.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/1.436, allocations: 119.3 kB / 0.9202 GB, free: 25.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.437, allocations: 15.94 kB / 0.9202 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/1.438, allocations: 0.5513 MB / 0.9208 GB, free: 25.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/1.438, allocations: 307.5 kB / 0.9211 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.438, allocations: 0 / 0.9211 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/1.438, allocations: 4 kB / 0.9211 GB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.438, allocations: 7.984 kB / 0.9211 GB, free: 25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/1.441, allocations: 2.555 MB / 0.9236 GB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/1.442, allocations: 114.5 kB / 0.9237 GB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/1.442, allocations: 44.98 kB / 0.9237 GB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/1.442, allocations: 24.62 kB / 0.9237 GB, free: 21.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/1.442, allocations: 38.69 kB / 0.9238 GB, free: 21.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/1.442, allocations: 4 kB / 0.9238 GB, free: 21.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.003138/1.445, allocations: 498.5 kB / 0.9242 GB, free: 21.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/1.445, allocations: 51.41 kB / 0.9243 GB, free: 21.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.446, allocations: 197.6 kB / 0.9245 GB, free: 21.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.446, allocations: 29.69 kB / 0.9245 GB, free: 21.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/1.446, allocations: 210.8 kB / 0.9247 GB, free: 20.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/1.446, allocations: 39.45 kB / 0.9248 GB, free: 20.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/1.446, allocations: 0 / 0.9248 GB, free: 20.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.496e-05/1.446, allocations: 322.8 kB / 0.9251 GB, free: 20.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/1.446, allocations: 60.86 kB / 0.9251 GB, free: 20.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/1.446, allocations: 258 kB / 0.9254 GB, free: 20.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.447, allocations: 307.5 kB / 0.9257 GB, free: 19.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.447, allocations: 4 kB / 0.9257 GB, free: 19.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001636/1.449, allocations: 0.5356 MB / 0.9262 GB, free: 19.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.449, allocations: 7.438 kB / 0.9262 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.449, allocations: 8.844 kB / 0.9262 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.449, allocations: 8 kB / 0.9262 GB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.45, allocations: 171.8 kB / 0.9264 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002946/1.45, allocations: 0.6093 MB / 0.927 GB, free: 18.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/1.45, allocations: 8 kB / 0.927 GB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/1.45, allocations: 55.98 kB / 0.927 GB, free: 18.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.45, allocations: 124.8 kB / 0.9271 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/1.451, allocations: 19.72 kB / 0.9272 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/1.451, allocations: 303.8 kB / 0.9275 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.451, allocations: 4 kB / 0.9275 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.451, allocations: 0 / 0.9275 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.451, allocations: 0 / 0.9275 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/1.452, allocations: 460.6 kB / 0.9279 GB, free: 17.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.452, allocations: 0 / 0.9279 GB, free: 17.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/1.452, allocations: 75.89 kB / 0.928 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/1.452, allocations: 0 / 0.928 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.452, allocations: 11.98 kB / 0.928 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002455/1.453, allocations: 0.5977 MB / 0.9286 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.453, allocations: 4.062 kB / 0.9286 GB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002663/1.453, allocations: 269.8 kB / 0.9288 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.453, allocations: 112.9 kB / 0.9289 GB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/1.453, allocations: 4 kB / 0.9289 GB, free: 16.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/1.453, allocations: 15.89 kB / 0.929 GB, free: 16.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/1.454, allocations: 15.97 kB / 0.929 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/1.454, allocations: 28 kB / 0.929 GB, free: 16.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001034/1.454, allocations: 132.7 kB / 0.9291 GB, free: 16.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001301/1.455, allocations: 275.7 kB / 0.9294 GB, free: 15.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/1.457, allocations: 0.8656 MB / 0.9302 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005666/1.458, allocations: 217.5 kB / 0.9304 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.458, allocations: 4.062 kB / 0.9304 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.458, allocations: 83.91 kB / 0.9305 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/1.458, allocations: 27.97 kB / 0.9305 GB, free: 14.62 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3198/1.778, allocations: 30.73 MB / 0.9606 GB, free: 157.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008669/1.779, allocations: 0.8425 MB / 0.9614 GB, free: 157.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/1.779, allocations: 2.219 kB / 0.9614 GB, free: 157.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01886/1.798, allocations: 10.89 MB / 0.972 GB, free: 156.6 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)