Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [: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: 9.828 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.001574/0.001573, allocations: 181.3 kB / 360.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.2 MB / 0.6188 GB, free: 3.301 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 83.39 kB / 0.7318 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 1.438 kB / 0.8503 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5879/0.7741, allocations: 138.6 MB / 1.098 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.7744, allocations: 89.48 kB / 1.098 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006186/0.7806, allocations: 1.208 MB / 1.099 GB, free: 45.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7807, allocations: 0 / 1.099 GB, free: 45.08 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.0006164/0.7813, allocations: 444.5 kB / 1.1 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.7813, allocations: 7.094 kB / 1.1 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.7814, allocations: 11.5 kB / 1.1 GB, free: 44.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.7816, allocations: 180.8 kB / 1.1 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.7816, allocations: 7.812 kB / 1.1 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.7817, allocations: 6.906 kB / 1.1 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001475/0.7818, allocations: 31.91 kB / 1.1 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.782, allocations: 71.02 kB / 1.1 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.782, allocations: 4 kB / 1.1 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.782, allocations: 0 / 1.1 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.782, allocations: 3.875 kB / 1.1 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.7827, allocations: 324.6 kB / 1.1 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.7829, allocations: 48.11 kB / 1.1 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.7829, allocations: 33.88 kB / 1.101 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.783, allocations: 3.984 kB / 1.101 GB, free: 44.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.7831, allocations: 74.83 kB / 1.101 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.7831, allocations: 7.125 kB / 1.101 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002462/0.7834, allocations: 75.56 kB / 1.101 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7834, allocations: 86.25 kB / 1.101 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.7835, allocations: 111.6 kB / 1.101 GB, free: 43.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7836, allocations: 28.08 kB / 1.101 GB, free: 43.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.7836, allocations: 88.98 kB / 1.101 GB, free: 43.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.7836, allocations: 30.42 kB / 1.101 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.7837, allocations: 0 / 1.101 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.7837, allocations: 317.8 kB / 1.101 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.7838, allocations: 33.05 kB / 1.101 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.7839, allocations: 26.06 kB / 1.101 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.784, allocations: 24.89 kB / 1.101 GB, free: 43.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.784, allocations: 3.938 kB / 1.101 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000222/0.7843, allocations: 92.48 kB / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7843, allocations: 11.19 kB / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7843, allocations: 4 kB / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7843, allocations: 0 / 1.101 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.7845, allocations: 19.3 kB / 1.102 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7845, allocations: 7.734 kB / 1.102 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.7848, allocations: 29.7 kB / 1.102 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.7848, allocations: 3.75 kB / 1.102 GB, free: 43.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.815e-05/0.7849, allocations: 130.3 kB / 1.102 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.7849, allocations: 12.03 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.785, allocations: 8.172 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.785, allocations: 3.875 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.785, allocations: 4 kB / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.785, allocations: 0 / 1.102 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.7853, allocations: 319 kB / 1.102 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7853, allocations: 3.188 kB / 1.102 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.7855, allocations: 23.28 kB / 1.102 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7855, allocations: 0 / 1.102 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.7855, allocations: 7.875 kB / 1.102 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7856, allocations: 4.969 kB / 1.102 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7856, allocations: 0 / 1.102 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/0.7858, allocations: 184.1 kB / 1.102 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.7858, allocations: 87.42 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.7859, allocations: 6.812 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.7861, allocations: 25.89 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7863, allocations: 18.77 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.7863, allocations: 5.219 kB / 1.102 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.909e-05/0.7863, allocations: 97.83 kB / 1.102 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003151/0.7867, allocations: 19.25 kB / 1.102 GB, free: 42.6 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001157/0.7868, allocations: 119.4 kB / 1.103 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.787, allocations: 117.7 kB / 1.103 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7871, allocations: 288 / 1.103 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.7872, allocations: 59.89 kB / 1.103 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.7875, allocations: 14.5 kB / 1.103 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.7879, allocations: 129.9 kB / 1.103 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.7881, allocations: 0.71 MB / 1.104 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7882, allocations: 0 / 1.104 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.004166/0.7923, allocations: 1.198 MB / 1.105 GB, free: 41.54 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)