Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.133/2.133, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001564, allocations: 181.3 kB / 360.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 90.64 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.414e-06, allocations: 0 / 0.8502 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5588, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.7694, allocations: 144.8 MB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.7697, allocations: 83.95 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02893/0.7987, allocations: 7.184 MB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.076e-05/0.7988, allocations: 8 kB / 1.111 GB, free: 4.879 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.001274/0.8, allocations: 0.6522 MB / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8001, allocations: 12.03 kB / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.8002, allocations: 55.34 kB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.801, allocations: 395.5 kB / 1.112 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.8011, allocations: 15.94 kB / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.8012, allocations: 27.94 kB / 1.112 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007352/0.8019, allocations: 229.4 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.8028, allocations: 345.7 kB / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.8028, allocations: 0 / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.8029, allocations: 0 / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.8029, allocations: 8 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.8055, allocations: 1.295 MB / 1.114 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006115/0.8062, allocations: 198.4 kB / 1.114 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.8065, allocations: 118.9 kB / 1.115 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.8066, allocations: 3.984 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.807, allocations: 165.2 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.807, allocations: 0 / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0006738/0.8077, allocations: 243.1 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.8078, allocations: 140.5 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.8082, allocations: 274 kB / 1.115 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.8083, allocations: 29.7 kB / 1.115 GB, free: 492 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.8084, allocations: 188.3 kB / 1.116 GB, free: 300 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.8086, allocations: 94.56 kB / 1.116 GB, free: 204 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.8086, allocations: 6.25 kB / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8088, allocations: 346.8 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.8091, allocations: 88 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.8094, allocations: 151.2 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.8097, allocations: 97.55 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8097, allocations: 0 / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007158/0.8105, allocations: 295 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8105, allocations: 8 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8105, allocations: 0 / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8105, allocations: 4 kB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.811, allocations: 72.03 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8111, allocations: 0 / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.8115, allocations: 51.66 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.8115, allocations: 12 kB / 1.117 GB, free: 15.06 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 0.0001326/0.8117, allocations: 120.9 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.8118, allocations: 39.53 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.8119, allocations: 44 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.8119, allocations: 5.188 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8119, allocations: 0 / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.8119, allocations: 11.89 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.8134, allocations: 0.7368 MB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8135, allocations: 0 / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.814, allocations: 55.95 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.814, allocations: 7.984 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.814, allocations: 4.562 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8141, allocations: 2.188 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8141, allocations: 0 / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00102/0.8151, allocations: 498.6 kB / 1.118 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.8153, allocations: 140.5 kB / 1.118 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.8154, allocations: 8 kB / 1.118 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.8158, allocations: 27.8 kB / 1.118 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.8159, allocations: 27.95 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.8159, allocations: 7.906 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003159/0.8163, allocations: 212.6 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000481/0.8168, allocations: 71.84 kB / 1.119 GB, free: 12.99 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.0001836/0.817, allocations: 124.4 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006592/0.8176, allocations: 236.1 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8176, allocations: 4 kB / 1.119 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.818, allocations: 119.9 kB / 1.119 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.8186, allocations: 62.05 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.8204, allocations: 0.5506 MB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/0.8211, allocations: 0.8654 MB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.8212, allocations: 0 / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.0126/0.8338, allocations: 3.84 MB / 1.124 GB, free: 7.242 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)