Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [: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.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.0009749/0.0009749, allocations: 181.2 kB / 366.3 MB, free: 1.93 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.037/1.037, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0007754/0.0007753, allocations: 96.11 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.444e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4123, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5458, allocations: 138.5 MB / 1.108 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.546, allocations: 75.88 kB / 1.108 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009315/0.5554, allocations: 3.06 MB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.5554, allocations: 4 kB / 1.111 GB, free: 6.812 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004789/0.5559, allocations: 457.6 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5559, allocations: 8.031 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.556, allocations: 23.8 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.5561, allocations: 171 kB / 1.112 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.5562, allocations: 11.98 kB / 1.112 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.5562, allocations: 16.94 kB / 1.112 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.5563, allocations: 55.89 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5565, allocations: 122.5 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5565, allocations: 0 / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.5566, allocations: 7.984 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5566, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.5573, allocations: 0.5284 MB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.5575, allocations: 145.2 kB / 1.112 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.5576, allocations: 57.72 kB / 1.112 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.5576, allocations: 4 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.5578, allocations: 160.7 kB / 1.113 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.5578, allocations: 0 / 1.113 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003216/0.5582, allocations: 185.4 kB / 1.113 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5582, allocations: 89.11 kB / 1.113 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.5583, allocations: 113.2 kB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5583, allocations: 33.7 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.5584, allocations: 92.53 kB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.5584, allocations: 55.5 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.5585, allocations: 7.938 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.5586, allocations: 322.8 kB / 1.113 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5587, allocations: 84.27 kB / 1.114 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.5589, allocations: 140.3 kB / 1.114 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.5592, allocations: 100.6 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5593, allocations: 4 kB / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006211/0.5599, allocations: 296.4 kB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5599, allocations: 4 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5599, allocations: 5.125 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5599, allocations: 4 kB / 1.114 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.56, allocations: 15.94 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.56, allocations: 9.547 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.5604, allocations: 95.88 kB / 1.114 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.5605, allocations: 15.98 kB / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001048/0.5606, allocations: 130.9 kB / 1.114 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.5606, allocations: 15.81 kB / 1.114 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.5607, allocations: 16.44 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.5607, allocations: 3.938 kB / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5607, allocations: 0 / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5607, allocations: 7.984 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.5611, allocations: 0.515 MB / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5611, allocations: 0 / 1.115 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.5612, allocations: 11.98 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5612, allocations: 0 / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5612, allocations: 4 kB / 1.115 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5612, allocations: 3.938 kB / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5612, allocations: 0 / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/0.5615, allocations: 378.9 kB / 1.115 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.5616, allocations: 88.92 kB / 1.115 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5616, allocations: 4 kB / 1.115 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5618, allocations: 19.91 kB / 1.115 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.5618, allocations: 19.97 kB / 1.115 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.5619, allocations: 23.98 kB / 1.115 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.114e-05/0.5619, allocations: 89.16 kB / 1.116 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003281/0.5622, allocations: 55.98 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001666/0.5624, allocations: 130.8 kB / 1.116 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.5628, allocations: 259.2 kB / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5628, allocations: 0 / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5629, allocations: 101.6 kB / 1.116 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5632, allocations: 23.97 kB / 1.116 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.5636, allocations: 184.9 kB / 1.116 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.5639, allocations: 0.7276 MB / 1.117 GB, free: 220 kB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5639, allocations: 4 kB / 1.117 GB, free: 216 kB / 0.7136 GB Notification: Performance of Templates: time 0.00465/0.5685, allocations: 2.556 MB / 1.119 GB, free: 13.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)