Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 181.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009097, allocations: 84.5 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.651, allocations: 116.3 MB / 0.9725 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9536/1.605, allocations: 427.2 MB / 1.39 GB, free: 62.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.605, allocations: 70.38 kB / 1.39 GB, free: 62.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.05177/1.657, allocations: 24.88 MB / 1.414 GB, free: 42.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.59e-05/1.657, allocations: 4 kB / 1.414 GB, free: 42.12 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008269/1.658, allocations: 488.6 kB / 1.415 GB, free: 41.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.658, allocations: 8.031 kB / 1.415 GB, free: 41.61 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/1.658, allocations: 23.81 kB / 1.415 GB, free: 41.58 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/1.658, allocations: 218 kB / 1.415 GB, free: 41.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.658, allocations: 4.844 kB / 1.415 GB, free: 41.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.658, allocations: 8 kB / 1.415 GB, free: 41.33 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000478/1.659, allocations: 413.4 kB / 1.415 GB, free: 40.99 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/1.659, allocations: 216.9 kB / 1.415 GB, free: 40.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.659, allocations: 4 kB / 1.415 GB, free: 40.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/1.659, allocations: 4 kB / 1.415 GB, free: 40.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/1.659, allocations: 8 kB / 1.415 GB, free: 40.79 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/1.66, allocations: 0.9839 MB / 1.416 GB, free: 39.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/1.661, allocations: 147 kB / 1.417 GB, free: 39.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/1.661, allocations: 52.42 kB / 1.417 GB, free: 39.63 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.662, allocations: 1.93 MB / 1.418 GB, free: 37.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.662, allocations: 41.88 kB / 1.419 GB, free: 37.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/1.662, allocations: 0 / 1.419 GB, free: 37.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0004951/1.663, allocations: 140.7 kB / 1.419 GB, free: 37.21 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.663, allocations: 55.31 kB / 1.419 GB, free: 37.14 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.663, allocations: 129.8 kB / 1.419 GB, free: 37.01 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.663, allocations: 25.7 kB / 1.419 GB, free: 36.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/1.663, allocations: 146.6 kB / 1.419 GB, free: 36.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/1.663, allocations: 46.61 kB / 1.419 GB, free: 36.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/1.663, allocations: 0 / 1.419 GB, free: 36.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.663, allocations: 329.6 kB / 1.419 GB, free: 36.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/1.663, allocations: 26.62 kB / 1.419 GB, free: 36.46 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/1.663, allocations: 127.4 kB / 1.419 GB, free: 36.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/1.664, allocations: 85.88 kB / 1.42 GB, free: 36.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.664, allocations: 0 / 1.42 GB, free: 36.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004958/1.664, allocations: 203.4 kB / 1.42 GB, free: 36.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.664, allocations: 8.453 kB / 1.42 GB, free: 36.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.664, allocations: 8 kB / 1.42 GB, free: 36.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.664, allocations: 11.91 kB / 1.42 GB, free: 36.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/1.664, allocations: 59.84 kB / 1.42 GB, free: 35.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.664, allocations: 4 kB / 1.42 GB, free: 35.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.664, allocations: 19.75 kB / 1.42 GB, free: 35.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.665, allocations: 15.31 kB / 1.42 GB, free: 35.92 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/1.665, allocations: 112.9 kB / 1.42 GB, free: 35.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.665, allocations: 11.81 kB / 1.42 GB, free: 35.79 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/1.665, allocations: 204.2 kB / 1.42 GB, free: 35.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.665, allocations: 0 / 1.42 GB, free: 35.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.665, allocations: 4 kB / 1.42 GB, free: 35.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.665, allocations: 7.922 kB / 1.42 GB, free: 35.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/1.665, allocations: 176.3 kB / 1.42 GB, free: 35.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.665, allocations: 0 / 1.42 GB, free: 35.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/1.666, allocations: 35.41 kB / 1.42 GB, free: 35.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.666, allocations: 0 / 1.42 GB, free: 35.37 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/1.666, allocations: 0 / 1.42 GB, free: 35.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.666, allocations: 0 / 1.42 GB, free: 35.37 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.666, allocations: 4 kB / 1.42 GB, free: 35.37 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004004/1.666, allocations: 240.6 kB / 1.421 GB, free: 35.13 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/1.666, allocations: 115.8 kB / 1.421 GB, free: 35.01 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/1.666, allocations: 0 / 1.421 GB, free: 35.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/1.666, allocations: 4 kB / 1.421 GB, free: 35 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/1.666, allocations: 11.36 kB / 1.421 GB, free: 35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/1.666, allocations: 7.984 kB / 1.421 GB, free: 34.99 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.011e-05/1.666, allocations: 112.5 kB / 1.421 GB, free: 34.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003815/1.667, allocations: 79.16 kB / 1.421 GB, free: 34.82 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003469/1.667, allocations: 207.4 kB / 1.421 GB, free: 34.61 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002402/1.667, allocations: 111.8 kB / 1.421 GB, free: 34.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.667, allocations: 0 / 1.421 GB, free: 34.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/1.667, allocations: 46.92 kB / 1.421 GB, free: 34.48 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/1.668, allocations: 31.19 kB / 1.421 GB, free: 34.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/1.668, allocations: 171.3 kB / 1.422 GB, free: 34.28 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/1.668, allocations: 0.7392 MB / 1.422 GB, free: 33.52 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.668, allocations: 0 / 1.422 GB, free: 33.52 MB / 0.823 GB Notification: Performance of Templates: time 0.00616/1.675, allocations: 3.254 MB / 1.425 GB, free: 30.32 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)