Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") [: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.417/1.417, allocations: 289.8 MB / 297 MB, free: 6.66 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.001081/0.001081, allocations: 175.9 kB / 366.3 MB, free: 1.961 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.054/1.054, allocations: 205.2 MB / 0.6256 GB, free: 5.887 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.0008147/0.0008144, allocations: 89.16 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.123e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4059, allocations: 116.3 MB / 0.9725 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.552, allocations: 145.9 MB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.5522, allocations: 84.45 kB / 1.115 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01792/0.5701, allocations: 7.186 MB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.649e-05/0.5702, allocations: 8 kB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0008927/0.5711, allocations: 0.6443 MB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.5711, allocations: 12.25 kB / 1.123 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5712, allocations: 59.33 kB / 1.123 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.5718, allocations: 403.2 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.5718, allocations: 16 kB / 1.123 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.5719, allocations: 25.59 kB / 1.123 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004296/0.5723, allocations: 229.4 kB / 1.124 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.5728, allocations: 337.7 kB / 1.124 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5728, allocations: 0 / 1.124 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.5729, allocations: 4 kB / 1.124 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.5729, allocations: 8 kB / 1.124 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.5745, allocations: 1.303 MB / 1.125 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.5749, allocations: 198.9 kB / 1.125 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.5751, allocations: 116.9 kB / 1.125 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.5751, allocations: 0 / 1.125 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.5753, allocations: 165.2 kB / 1.126 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.5754, allocations: 0 / 1.126 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0004221/0.5758, allocations: 243.1 kB / 1.126 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.5759, allocations: 140.5 kB / 1.126 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.5761, allocations: 278 kB / 1.126 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5762, allocations: 29.7 kB / 1.126 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5763, allocations: 192.9 kB / 1.126 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.5764, allocations: 99.31 kB / 1.127 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5764, allocations: 0 / 1.127 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5765, allocations: 346.8 kB / 1.127 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.5767, allocations: 84 kB / 1.127 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.5769, allocations: 159.1 kB / 1.127 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5771, allocations: 97.59 kB / 1.127 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5771, allocations: 4 kB / 1.127 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004272/0.5775, allocations: 290.3 kB / 1.127 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5775, allocations: 12.73 kB / 1.127 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5775, allocations: 0 / 1.127 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5776, allocations: 4 kB / 1.127 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.5779, allocations: 67.84 kB / 1.128 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5779, allocations: 0 / 1.128 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.5781, allocations: 51.78 kB / 1.128 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.5781, allocations: 12 kB / 1.128 GB, free: 5.402 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.556e-05/0.5783, allocations: 120.9 kB / 1.128 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.5783, allocations: 36.19 kB / 1.128 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.5784, allocations: 40.06 kB / 1.128 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5784, allocations: 4 kB / 1.128 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5784, allocations: 0 / 1.128 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5784, allocations: 7.891 kB / 1.128 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.5793, allocations: 0.7445 MB / 1.129 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5793, allocations: 0 / 1.129 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.5796, allocations: 56.47 kB / 1.129 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5796, allocations: 4 kB / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.5796, allocations: 0 / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5796, allocations: 0 / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5796, allocations: 0 / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006059/0.5803, allocations: 495.4 kB / 1.129 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5804, allocations: 141.5 kB / 1.129 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.5805, allocations: 7.984 kB / 1.129 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5807, allocations: 24.05 kB / 1.129 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.5808, allocations: 27.95 kB / 1.129 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5808, allocations: 7.906 kB / 1.129 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001845/0.581, allocations: 216.6 kB / 1.129 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003156/0.5813, allocations: 67.84 kB / 1.13 GB, free: 3.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001322/0.5814, allocations: 119.6 kB / 1.13 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5818, allocations: 244 kB / 1.13 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5818, allocations: 4.25 kB / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.582, allocations: 117.4 kB / 1.13 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.5825, allocations: 65.62 kB / 1.13 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5836, allocations: 0.5579 MB / 1.131 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.5841, allocations: 0.8499 MB / 1.131 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.5841, allocations: 0 / 1.131 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of Templates: time 0.007261/0.5913, allocations: 3.846 MB / 1.135 GB, free: 13.56 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)