Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.304/1.304, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009197/0.0009197, allocations: 173.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9991/0.9991, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0007441/0.0007441, allocations: 96.27 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.84e-06, allocations: 0 / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4416, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.5817, allocations: 137.9 MB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.582, allocations: 70.16 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002771/0.5848, allocations: 0.7903 MB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.5848, allocations: 0.5625 kB / 1.099 GB, free: 1.336 MB / 0.698 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.5851, allocations: 344.9 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.5852, allocations: 8.906 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.5852, allocations: 4 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5853, allocations: 179.6 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5854, allocations: 0.5156 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.5854, allocations: 8.859 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.041e-05/0.5855, allocations: 24 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.891e-05/0.5855, allocations: 46.38 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5856, allocations: 0.75 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.5856, allocations: 2.188 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5856, allocations: 4.578 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.586, allocations: 278 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.5861, allocations: 47.97 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.5861, allocations: 25.61 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.5861, allocations: 0.5312 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.968e-05/0.5862, allocations: 70.36 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.5862, allocations: 0 / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001549/0.5864, allocations: 75 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.5864, allocations: 51.41 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.5865, allocations: 96.98 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5865, allocations: 30.33 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.5866, allocations: 84.55 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.5866, allocations: 21.11 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5866, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.5867, allocations: 314.8 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.5867, allocations: 18.97 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.5868, allocations: 44.52 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.5868, allocations: 13.62 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5868, allocations: 3.906 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001214/0.587, allocations: 86.36 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.587, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.587, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.587, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.5871, allocations: 17.78 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5871, allocations: 10.41 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.947e-05/0.5872, allocations: 7.016 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5872, allocations: 8.031 kB / 1.101 GB, free: 15.27 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 7.396e-05/0.5873, allocations: 117.3 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.5873, allocations: 3.906 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.5873, allocations: 16.05 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5873, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5873, allocations: 5.203 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5874, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.5877, allocations: 323 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5877, allocations: 0 / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.5878, allocations: 8.734 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5878, allocations: 3.906 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5878, allocations: 0 / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5878, allocations: 4 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5878, allocations: 1.688 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/0.5879, allocations: 175.1 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.588, allocations: 81.09 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.588, allocations: 3.906 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.5881, allocations: 8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.5881, allocations: 11.92 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5882, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.337e-05/0.5882, allocations: 88.16 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002277/0.5884, allocations: 12 kB / 1.102 GB, free: 14.34 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 9.424e-05/0.5885, allocations: 101.1 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.5886, allocations: 43.94 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.5886, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.5887, allocations: 27.94 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.5889, allocations: 12.05 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.5892, allocations: 112.4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.5895, allocations: 0.7036 MB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.5895, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.002244/0.5917, allocations: 0.7142 MB / 1.103 GB, free: 12.62 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)