Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009575/0.0009575, allocations: 189.2 kB / 361.1 MB, free: 7.113 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.03/1.03, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007632/0.0007633, allocations: 83.84 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.36e-06, allocations: 0 / 0.851 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4098, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5529, allocations: 145 MB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5532, allocations: 79.97 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01808/0.5713, allocations: 7.183 MB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.5713, allocations: 12 kB / 1.112 GB, free: 3.871 MB / 0.7136 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.0008317/0.5721, allocations: 0.6444 MB / 1.113 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.5722, allocations: 12.03 kB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.5723, allocations: 56.09 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.5728, allocations: 399.5 kB / 1.113 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.5728, allocations: 12 kB / 1.113 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.5729, allocations: 27.94 kB / 1.113 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004349/0.5733, allocations: 229.4 kB / 1.114 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.5738, allocations: 343.4 kB / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5739, allocations: 0 / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.5739, allocations: 0 / 1.114 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5739, allocations: 11.75 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.5755, allocations: 1.303 MB / 1.115 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.5759, allocations: 193.8 kB / 1.115 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.5761, allocations: 125.6 kB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.5761, allocations: 0 / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.5763, allocations: 157.2 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.5763, allocations: 0 / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0004295/0.5768, allocations: 243.8 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.5768, allocations: 144.5 kB / 1.116 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.5771, allocations: 274 kB / 1.116 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.5772, allocations: 29.7 kB / 1.116 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5773, allocations: 192.3 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.5773, allocations: 98.55 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.5774, allocations: 0 / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5775, allocations: 346.8 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.5776, allocations: 88 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.5778, allocations: 155.1 kB / 1.117 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.578, allocations: 93.61 kB / 1.117 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.578, allocations: 0 / 1.117 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004213/0.5784, allocations: 294.2 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.5784, allocations: 8 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5785, allocations: 4.125 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5785, allocations: 4 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.5788, allocations: 71.89 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5788, allocations: 0 / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.579, allocations: 47.67 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5791, allocations: 12 kB / 1.118 GB, free: 14.05 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.212e-05/0.5792, allocations: 123.4 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.5792, allocations: 39.53 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.5793, allocations: 49.56 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5793, allocations: 4 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5793, allocations: 0 / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5793, allocations: 3.906 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.5802, allocations: 0.7367 MB / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5802, allocations: 0 / 1.119 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.5805, allocations: 59.91 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5805, allocations: 7.984 kB / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.5805, allocations: 0 / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5805, allocations: 0 / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5805, allocations: 0 / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005975/0.5811, allocations: 0.4892 MB / 1.119 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5813, allocations: 140.5 kB / 1.119 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.5813, allocations: 4 kB / 1.119 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.5816, allocations: 28.03 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.5817, allocations: 23.97 kB / 1.119 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.5817, allocations: 11.89 kB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000187/0.5819, allocations: 220.6 kB / 1.12 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003279/0.5822, allocations: 71.84 kB / 1.12 GB, free: 11.98 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.0001196/0.5823, allocations: 118 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.5827, allocations: 240.1 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5827, allocations: 0 / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.5829, allocations: 123.9 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.5833, allocations: 68.81 kB / 1.12 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5845, allocations: 0.5536 MB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.5849, allocations: 0.8545 MB / 1.122 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.5849, allocations: 0 / 1.122 GB, free: 9.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.007054/0.5919, allocations: 3.834 MB / 1.125 GB, free: 6.25 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)