Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") [: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.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.0009397/0.0009397, allocations: 189.3 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.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0008287/0.0008287, allocations: 90.86 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.176e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4662, allocations: 116.3 MB / 0.9725 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.61, allocations: 138.9 MB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.6103, allocations: 71.91 kB / 1.108 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00272/0.613, allocations: 0.7888 MB / 1.109 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.613, allocations: 0 / 1.109 GB, free: 8.734 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003424/0.6134, allocations: 355.2 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6134, allocations: 8.031 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.6135, allocations: 4 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6136, allocations: 174.9 kB / 1.109 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6136, allocations: 1.781 kB / 1.109 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.6136, allocations: 4 kB / 1.11 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.789e-05/0.6137, allocations: 20 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.6138, allocations: 57.62 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.6138, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.6138, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.6138, allocations: 3.984 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.6142, allocations: 273.3 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.6143, allocations: 54.59 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.6144, allocations: 21.08 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.6144, allocations: 0 / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/0.6145, allocations: 64.81 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.6145, allocations: 0 / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001558/0.6146, allocations: 73.53 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.6147, allocations: 51.41 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.6147, allocations: 97.12 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.6148, allocations: 33.7 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.6148, allocations: 88.03 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.6148, allocations: 19.8 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.6149, allocations: 0 / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.6149, allocations: 320.1 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.615, allocations: 19.94 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/0.615, allocations: 47.36 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.6151, allocations: 16.03 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6151, allocations: 3.906 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001195/0.6152, allocations: 81.61 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6152, allocations: 8.031 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6152, allocations: 4 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.6153, allocations: 0 / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.984e-05/0.6153, allocations: 15.89 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6153, allocations: 6.344 kB / 1.111 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.6154, allocations: 4 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6154, allocations: 4 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.908e-05/0.6155, allocations: 118.1 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6155, allocations: 3.906 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.6155, allocations: 16.05 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6156, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6156, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6156, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.6159, allocations: 319 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6159, allocations: 1.125 kB / 1.111 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.6159, allocations: 11.98 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6159, allocations: 3.906 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.616, allocations: 0 / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.616, allocations: 4 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.616, allocations: 0 / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/0.6161, allocations: 170.8 kB / 1.111 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.6161, allocations: 81.09 kB / 1.112 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6162, allocations: 7.969 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.6163, allocations: 12 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.6163, allocations: 7.984 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.6163, allocations: 0 / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.266e-05/0.6164, allocations: 91.2 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002155/0.6166, allocations: 16 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 8.64e-05/0.6167, allocations: 99.84 kB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.6168, allocations: 39.94 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.6168, allocations: 0 / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.6168, allocations: 32.64 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.617, allocations: 8.406 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.6174, allocations: 116.5 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.6176, allocations: 0.6997 MB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6176, allocations: 4 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of Templates: time 0.002384/0.62, allocations: 0.7011 MB / 1.113 GB, free: 3.98 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)