Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7525/0.7525, allocations: 141.8 MB / 149.1 MB, free: 12 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 183 kB / 181.9 MB, free: 8.746 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.4 MB / 436 MB, free: 0.9414 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 92.48 kB / 0.507 GB, free: 9.922 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001854, allocations: 275.8 kB / 0.5884 GB, free: 6.727 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.424e-06, allocations: 0 / 0.6759 GB, free: 13.1 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5303, allocations: 82.77 MB / 0.7567 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8546/1.385, allocations: 408.7 MB / 1.156 GB, free: 9.496 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.385, allocations: 83.39 kB / 1.156 GB, free: 9.453 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.6819/2.067, allocations: 85.98 MB / 1.24 GB, free: 178.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 8.647e-06/2.067, allocations: 3.969 kB / 1.24 GB, free: 178.5 MB / 0.6982 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.002905/2.07, allocations: 0.7302 MB / 1.241 GB, free: 178 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/2.07, allocations: 7.812 kB / 1.241 GB, free: 178 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/2.07, allocations: 35.33 kB / 1.241 GB, free: 178 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/2.071, allocations: 214.4 kB / 1.241 GB, free: 177.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/2.071, allocations: 7.812 kB / 1.241 GB, free: 177.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/2.071, allocations: 11.78 kB / 1.241 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004606/2.071, allocations: 408.6 kB / 1.241 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/2.072, allocations: 216.8 kB / 1.242 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.072, allocations: 11.78 kB / 1.242 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/2.072, allocations: 0 / 1.242 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/2.072, allocations: 7.812 kB / 1.242 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/2.073, allocations: 0.9647 MB / 1.242 GB, free: 177 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/2.073, allocations: 145.3 kB / 1.243 GB, free: 176.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/2.073, allocations: 45.67 kB / 1.243 GB, free: 176.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/2.074, allocations: 1.984 MB / 1.245 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/2.074, allocations: 38.25 kB / 1.245 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/2.074, allocations: 4 kB / 1.245 GB, free: 174.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15): time 0.0005275/2.075, allocations: 127.1 kB / 1.245 GB, free: 174.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/2.075, allocations: 58.06 kB / 1.245 GB, free: 174.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/2.075, allocations: 134.3 kB / 1.245 GB, free: 174.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/2.075, allocations: 29.58 kB / 1.245 GB, free: 174.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/2.075, allocations: 143.2 kB / 1.245 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/2.075, allocations: 46.19 kB / 1.245 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/2.075, allocations: 0 / 1.245 GB, free: 174.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.217e-05/2.075, allocations: 337.3 kB / 1.245 GB, free: 174.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/2.075, allocations: 30.19 kB / 1.245 GB, free: 174.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/2.075, allocations: 137.5 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/2.076, allocations: 75.23 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.076, allocations: 3.844 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004777/2.076, allocations: 200.1 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/2.076, allocations: 11.72 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.076, allocations: 3.875 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/2.076, allocations: 7.781 kB / 1.246 GB, free: 174 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/2.076, allocations: 59.86 kB / 1.246 GB, free: 173.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/2.076, allocations: 7.812 kB / 1.246 GB, free: 173.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/2.076, allocations: 22.89 kB / 1.246 GB, free: 173.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/2.076, allocations: 13.94 kB / 1.246 GB, free: 173.9 MB / 0.6982 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 7.016e-05/2.077, allocations: 112.6 kB / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/2.077, allocations: 19.44 kB / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/2.077, allocations: 186.4 kB / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/2.077, allocations: 0 / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.077, allocations: 0 / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/2.077, allocations: 0 / 1.246 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/2.077, allocations: 191.3 kB / 1.246 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/2.077, allocations: 0 / 1.246 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/2.077, allocations: 32.62 kB / 1.247 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/2.078, allocations: 0 / 1.247 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/2.078, allocations: 5.375 kB / 1.247 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/2.078, allocations: 7.484 kB / 1.247 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.078, allocations: 3.906 kB / 1.247 GB, free: 173.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004091/2.078, allocations: 226.9 kB / 1.247 GB, free: 173.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/2.078, allocations: 124.2 kB / 1.247 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/2.078, allocations: 4 kB / 1.247 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/2.078, allocations: 22.77 kB / 1.247 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/2.078, allocations: 11.08 kB / 1.247 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/2.078, allocations: 17.89 kB / 1.247 GB, free: 173.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 5.205e-05/2.078, allocations: 110.1 kB / 1.247 GB, free: 173.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0004782/2.079, allocations: 84.2 kB / 1.247 GB, free: 173.2 MB / 0.6982 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.0003316/2.079, allocations: 231.7 kB / 1.247 GB, free: 173.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0002154/2.079, allocations: 108.8 kB / 1.247 GB, free: 173.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/2.079, allocations: 0 / 1.247 GB, free: 173.1 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/2.08, allocations: 39.88 kB / 1.247 GB, free: 173.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/2.08, allocations: 36.72 kB / 1.248 GB, free: 173.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/2.08, allocations: 169.4 kB / 1.248 GB, free: 173 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/2.081, allocations: 0.7476 MB / 1.248 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of SimCode: time 3.21e-07/2.081, allocations: 0 / 1.248 GB, free: 172.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.01029/2.091, allocations: 3.837 MB / 1.252 GB, free: 171.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)