Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5") translateModel(IBPSA.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5") [: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 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 190.7 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4529/0.4529, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 94.38 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.974e-06/6.993e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4075, allocations: 72.31 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.5209, allocations: 99.89 MB / 0.6504 GB, free: 10.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.5211, allocations: 63.97 kB / 0.6505 GB, free: 10.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001031/0.5222, allocations: 164.4 kB / 0.6507 GB, free: 9.922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.5222, allocations: 0 / 0.6507 GB, free: 9.922 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002761/0.5225, allocations: 327.4 kB / 0.651 GB, free: 9.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5225, allocations: 8.031 kB / 0.651 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.5226, allocations: 0.5 kB / 0.651 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.5228, allocations: 171.8 kB / 0.6511 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5229, allocations: 5.625 kB / 0.6512 GB, free: 9.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.5229, allocations: 0 / 0.6512 GB, free: 9.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.949e-05/0.5229, allocations: 4.5 kB / 0.6512 GB, free: 9.336 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.124e-05/0.523, allocations: 35.97 kB / 0.6512 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.523, allocations: 0 / 0.6512 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.523, allocations: 0 / 0.6512 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.523, allocations: 3.938 kB / 0.6512 GB, free: 9.293 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.5232, allocations: 137.4 kB / 0.6513 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.5232, allocations: 23.45 kB / 0.6513 GB, free: 9.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.5233, allocations: 17.34 kB / 0.6514 GB, free: 9.078 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.5233, allocations: 3.906 kB / 0.6514 GB, free: 9.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5233, allocations: 31.38 kB / 0.6514 GB, free: 9.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5233, allocations: 0 / 0.6514 GB, free: 9.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.5235, allocations: 42.44 kB / 0.6514 GB, free: 8.988 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.5235, allocations: 52.34 kB / 0.6515 GB, free: 8.926 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.5236, allocations: 102.9 kB / 0.6516 GB, free: 8.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5236, allocations: 27.58 kB / 0.6516 GB, free: 8.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.5236, allocations: 84.12 kB / 0.6517 GB, free: 8.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5237, allocations: 3.906 kB / 0.6517 GB, free: 8.699 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.5237, allocations: 0 / 0.6517 GB, free: 8.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5238, allocations: 311.9 kB / 0.652 GB, free: 8.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.5238, allocations: 11.94 kB / 0.652 GB, free: 8.375 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.5238, allocations: 14.5 kB / 0.652 GB, free: 8.355 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.5239, allocations: 8.922 kB / 0.652 GB, free: 8.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5239, allocations: 0.875 kB / 0.652 GB, free: 8.348 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.396e-05/0.5239, allocations: 42.69 kB / 0.6521 GB, free: 8.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.524, allocations: 4 kB / 0.6521 GB, free: 8.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.524, allocations: 7.906 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.524, allocations: 0.625 kB / 0.6521 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.5241, allocations: 8.594 kB / 0.6521 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.5241, allocations: 0 / 0.6521 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.5241, allocations: 0.9688 kB / 0.6521 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5241, allocations: 0 / 0.6521 GB, free: 8.281 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 6.724e-05/0.5242, allocations: 113.6 kB / 0.6522 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.5242, allocations: 4.781 kB / 0.6522 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.5243, allocations: 49.59 kB / 0.6522 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5243, allocations: 0 / 0.6522 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5243, allocations: 0.6875 kB / 0.6522 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5243, allocations: 3.984 kB / 0.6523 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.436e-05/0.5244, allocations: 136.7 kB / 0.6524 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5244, allocations: 1.031 kB / 0.6524 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.5245, allocations: 9.812 kB / 0.6524 GB, free: 7.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5245, allocations: 3.906 kB / 0.6524 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.5245, allocations: 0.5625 kB / 0.6524 GB, free: 7.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5245, allocations: 4.969 kB / 0.6524 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5245, allocations: 4 kB / 0.6524 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001069/0.5246, allocations: 78.61 kB / 0.6525 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.5247, allocations: 77.11 kB / 0.6526 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.5247, allocations: 4.938 kB / 0.6526 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.256e-05/0.5247, allocations: 0 / 0.6526 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.5248, allocations: 4.484 kB / 0.6526 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.5248, allocations: 0.5 kB / 0.6526 GB, free: 7.719 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.058e-05/0.5248, allocations: 89.53 kB / 0.6527 GB, free: 7.633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.525, allocations: 4 kB / 0.6527 GB, free: 7.629 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001095/0.5252, allocations: 97.84 kB / 0.6527 GB, free: 7.523 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.5252, allocations: 15.92 kB / 0.6528 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5252, allocations: 0 / 0.6528 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.5253, allocations: 4 kB / 0.6528 GB, free: 7.504 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.5254, allocations: 14.25 kB / 0.6528 GB, free: 7.492 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.5256, allocations: 69.12 kB / 0.6528 GB, free: 7.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.5259, allocations: 0.695 MB / 0.6535 GB, free: 6.684 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5259, allocations: 0 / 0.6535 GB, free: 6.684 MB / 474.7 MB Notification: Performance of Templates: time 0.001888/0.5278, allocations: 273.3 kB / 0.6538 GB, free: 6.453 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)