Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.12/2.12, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001591/0.001591, allocations: 189.2 kB / 360.4 MB, free: 7.492 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.636/1.636, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001201/0.001201, allocations: 91.27 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.08e-05, allocations: 3.938 kB / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.53, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.7536, allocations: 137.4 MB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.7539, allocations: 68.84 kB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01613/0.77, allocations: 3.062 MB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.7701, allocations: 8 kB / 1.1 GB, free: 336 kB / 0.698 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.0007113/0.7708, allocations: 461.6 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.7708, allocations: 12.02 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.771, allocations: 23.81 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7711, allocations: 164.5 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.7711, allocations: 7.984 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.7712, allocations: 16 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002445/0.7715, allocations: 59.83 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.7718, allocations: 119.3 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.7718, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.7719, allocations: 8.641 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.7719, allocations: 1.359 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.773, allocations: 0.5285 MB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.7734, allocations: 133.2 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.7735, allocations: 61.72 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.7735, allocations: 4 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.7739, allocations: 162.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.7739, allocations: 1.969 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005291/0.7744, allocations: 192.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.7745, allocations: 81.11 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.7746, allocations: 109.2 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.7747, allocations: 41.69 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.7748, allocations: 96.69 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.7749, allocations: 47.36 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.7749, allocations: 4 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.7751, allocations: 326.8 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.7754, allocations: 80.27 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.7757, allocations: 148.2 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.7763, allocations: 96.48 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7763, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001066/0.7774, allocations: 297.5 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7774, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7775, allocations: 5.562 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.7775, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7776, allocations: 23.92 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7777, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007648/0.7784, allocations: 92.8 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.7785, allocations: 27.66 kB / 1.103 GB, free: 12.68 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.000168/0.7787, allocations: 131.7 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.7787, allocations: 15.81 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.7788, allocations: 9.094 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7788, allocations: 4 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7788, allocations: 0 / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.7789, allocations: 7.984 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.7796, allocations: 0.5288 MB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7797, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.7798, allocations: 13.36 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7798, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.7798, allocations: 8 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.7798, allocations: 3.984 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7798, allocations: 0.6562 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000496/0.7803, allocations: 371.5 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.7805, allocations: 88.92 kB / 1.104 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.7805, allocations: 11.73 kB / 1.104 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.7808, allocations: 19.92 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.7809, allocations: 19.97 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.7809, allocations: 21.73 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.891e-05/0.781, allocations: 91.27 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004923/0.7815, allocations: 52 kB / 1.105 GB, free: 11.21 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.0002084/0.7817, allocations: 119.7 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.7824, allocations: 262.4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7824, allocations: 448 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.7826, allocations: 111.9 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.783, allocations: 15.97 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.7837, allocations: 190.9 kB / 1.105 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.784, allocations: 0.7277 MB / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.784, allocations: 0 / 1.106 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.007655/0.7917, allocations: 2.547 MB / 1.109 GB, free: 7.262 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)