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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) [: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.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 0.7031 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000949/0.000949, allocations: 181.3 kB / 361.1 MB, free: 15.31 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 205.2 MB / 0.6195 GB, free: 5.824 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.0007798, allocations: 87.2 kB / 0.7325 GB, free: 47.36 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1795, allocations: 121.4 MB / 0.8511 GB, free: 12.66 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.601, allocations: 115.3 MB / 0.9637 GB, free: 85.54 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.7407, allocations: 145 MB / 1.105 GB, free: 4.398 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.7409, allocations: 79.94 kB / 1.105 GB, free: 4.324 MB / 0.7059 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.01851/0.7595, allocations: 7.852 MB / 1.113 GB, free: 12.48 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7595, allocations: 11.98 kB / 1.113 GB, free: 12.46 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.7596, allocations: 55.34 kB / 1.113 GB, free: 12.41 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.7601, allocations: 399.3 kB / 1.113 GB, free: 11.98 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.7602, allocations: 12 kB / 1.114 GB, free: 11.97 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.7602, allocations: 20 kB / 1.114 GB, free: 11.95 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004261/0.7607, allocations: 233.4 kB / 1.114 GB, free: 11.72 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.7612, allocations: 337.7 kB / 1.114 GB, free: 11.37 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.7612, allocations: 1.688 kB / 1.114 GB, free: 11.37 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.7613, allocations: 4 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.7613, allocations: 8 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.7629, allocations: 1.299 MB / 1.115 GB, free: 9.992 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.7633, allocations: 203 kB / 1.116 GB, free: 9.789 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.7635, allocations: 116.3 kB / 1.116 GB, free: 9.676 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.7635, allocations: 4 kB / 1.116 GB, free: 9.672 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.7637, allocations: 157.2 kB / 1.116 GB, free: 9.504 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/0.7637, allocations: 3.984 kB / 1.116 GB, free: 9.5 MB / 0.7215 GB Notification: Performance of matching and sorting (n=33): time 0.0004145/0.7641, allocations: 247.2 kB / 1.116 GB, free: 9.254 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.7642, allocations: 132.5 kB / 1.116 GB, free: 9.094 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.7645, allocations: 282 kB / 1.116 GB, free: 8.812 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.7645, allocations: 25.7 kB / 1.116 GB, free: 8.781 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7647, allocations: 192.9 kB / 1.117 GB, free: 8.59 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.7647, allocations: 102.5 kB / 1.117 GB, free: 8.488 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.7647, allocations: 4.219 kB / 1.117 GB, free: 8.484 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7649, allocations: 349.3 kB / 1.117 GB, free: 8.137 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.765, allocations: 87.94 kB / 1.117 GB, free: 8.051 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.7652, allocations: 159.1 kB / 1.117 GB, free: 7.871 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7654, allocations: 93.61 kB / 1.117 GB, free: 7.781 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7654, allocations: 0 / 1.117 GB, free: 7.781 MB / 0.7215 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004168/0.7658, allocations: 298.9 kB / 1.118 GB, free: 7.484 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7658, allocations: 4 kB / 1.118 GB, free: 7.48 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7658, allocations: 4 kB / 1.118 GB, free: 7.477 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.7658, allocations: 0 / 1.118 GB, free: 7.477 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.7661, allocations: 72.03 kB / 1.118 GB, free: 7.406 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7661, allocations: 4 kB / 1.118 GB, free: 7.402 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.7664, allocations: 47.66 kB / 1.118 GB, free: 7.355 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.7664, allocations: 16 kB / 1.118 GB, free: 7.34 MB / 0.7215 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 0.0001043/0.7665, allocations: 116.9 kB / 1.118 GB, free: 7.219 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.7666, allocations: 35.53 kB / 1.118 GB, free: 7.184 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.7666, allocations: 44.06 kB / 1.118 GB, free: 7.141 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7667, allocations: 5.75 kB / 1.118 GB, free: 7.137 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7667, allocations: 4 kB / 1.118 GB, free: 7.133 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7667, allocations: 7.891 kB / 1.118 GB, free: 7.125 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.7675, allocations: 0.7328 MB / 1.119 GB, free: 6.348 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7675, allocations: 0 / 1.119 GB, free: 6.348 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.7678, allocations: 59.91 kB / 1.119 GB, free: 6.289 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7678, allocations: 0 / 1.119 GB, free: 6.289 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.7679, allocations: 4 kB / 1.119 GB, free: 6.285 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7679, allocations: 4 kB / 1.119 GB, free: 6.281 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7679, allocations: 0 / 1.119 GB, free: 6.281 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005804/0.7685, allocations: 487.1 kB / 1.119 GB, free: 5.789 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008655/0.7693, allocations: 0.9858 MB / 1.12 GB, free: 4.785 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.7695, allocations: 132.6 kB / 1.12 GB, free: 4.637 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.7696, allocations: 10.03 kB / 1.12 GB, free: 4.629 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.7698, allocations: 32.03 kB / 1.12 GB, free: 4.598 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.7699, allocations: 23.95 kB / 1.12 GB, free: 4.574 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.7699, allocations: 8 kB / 1.12 GB, free: 4.566 MB / 0.7215 GB Notification: Performance of sort global known variables: time 0.000199/0.7701, allocations: 212.6 kB / 1.121 GB, free: 4.359 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0008559/0.771, allocations: 75.75 kB / 1.121 GB, free: 4.285 MB / 0.7215 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.0001265/0.7711, allocations: 115.1 kB / 1.121 GB, free: 4.16 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.7715, allocations: 236.3 kB / 1.121 GB, free: 3.93 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7715, allocations: 8.188 kB / 1.121 GB, free: 3.922 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.7716, allocations: 120.5 kB / 1.121 GB, free: 3.805 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.7721, allocations: 64.41 kB / 1.121 GB, free: 3.746 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.7732, allocations: 0.5638 MB / 1.122 GB, free: 3.164 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.7737, allocations: 0.86 MB / 1.123 GB, free: 2.281 MB / 0.7215 GB Notification: Performance of SimCode: time 3.1e-07/0.7737, allocations: 0 / 1.123 GB, free: 2.281 MB / 0.7215 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)