Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [: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 7.0.1/package.mo): time 2.096/2.096, allocations: 253.1 MB / 260.4 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002222/0.002221, allocations: 176.9 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 99.31 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.288e-06/9.447e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.625/0.8265, allocations: 135.2 MB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/0.827, allocations: 95 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02023/0.8473, allocations: 4.348 MB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.553e-05/0.8474, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001208/0.8486, allocations: 0.5407 MB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8486, allocations: 8.031 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.8488, allocations: 31.62 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.8493, allocations: 276.8 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.8493, allocations: 15.62 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.8494, allocations: 20 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006808/0.8501, allocations: 199.7 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.8509, allocations: 269 kB / 1.026 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.8509, allocations: 0 / 1.026 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.8509, allocations: 11.5 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.851, allocations: 7.938 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.8531, allocations: 0.8855 MB / 1.027 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.8539, allocations: 209.2 kB / 1.027 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.8541, allocations: 95.92 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.8542, allocations: 4 kB / 1.027 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003507/0.8546, allocations: 150.6 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.437e-06/0.8546, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.000617/0.8552, allocations: 190.7 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8553, allocations: 63.14 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.8555, allocations: 162.6 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.8556, allocations: 33.2 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.8558, allocations: 143.5 kB / 1.028 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8559, allocations: 76.06 kB / 1.028 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.8559, allocations: 0 / 1.028 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8561, allocations: 338.1 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.8563, allocations: 89.12 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.8567, allocations: 133.2 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.8569, allocations: 87 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8569, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007599/0.8577, allocations: 265 kB / 1.029 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.8578, allocations: 4 kB / 1.029 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8578, allocations: 4 kB / 1.029 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.8578, allocations: 4 kB / 1.029 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.8582, allocations: 51.81 kB / 1.029 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8583, allocations: 3.984 kB / 1.029 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.8588, allocations: 47.81 kB / 1.029 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.8588, allocations: 11.88 kB / 1.029 GB, free: 11.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001655/0.859, allocations: 131.9 kB / 1.029 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.8591, allocations: 23.72 kB / 1.029 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007086/0.8598, allocations: 221.7 kB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.8598, allocations: 4 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8599, allocations: 3.938 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.8599, allocations: 7.984 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.8614, allocations: 0.6329 MB / 1.03 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8615, allocations: 0 / 1.03 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.8618, allocations: 39.34 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.8618, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.8618, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8618, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.8619, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006208/0.8625, allocations: 306.5 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.8626, allocations: 92.92 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.8627, allocations: 3.875 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.8631, allocations: 43.86 kB / 1.03 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.8633, allocations: 43.31 kB / 1.03 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.8634, allocations: 7.438 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001255/0.8635, allocations: 115.7 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000509/0.864, allocations: 47.94 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002362/0.8643, allocations: 124 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.865, allocations: 247.8 kB / 1.031 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.865, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.8653, allocations: 117.5 kB / 1.031 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.8657, allocations: 29.59 kB / 1.031 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.8669, allocations: 310.2 kB / 1.031 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.8675, allocations: 0.8027 MB / 1.032 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/0.8675, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of Templates: time 0.01062/0.8782, allocations: 3.025 MB / 1.035 GB, free: 5.668 MB / 0.6511 GB