Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") [: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.139/2.139, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001574, allocations: 177.3 kB / 360.4 MB, free: 7.504 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.62/1.62, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001258/0.001257, allocations: 89.25 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.374e-06, allocations: 0 / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5512, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.7648, allocations: 145.2 MB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.7651, allocations: 77.5 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0761/0.8412, allocations: 16.49 MB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.319e-05/0.8413, allocations: 12 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002459/0.8438, allocations: 0.9586 MB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8439, allocations: 12.53 kB / 1.122 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.8442, allocations: 90.88 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.8459, allocations: 0.594 MB / 1.122 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.846, allocations: 84.41 kB / 1.122 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.8462, allocations: 43.84 kB / 1.122 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/0.8473, allocations: 335.8 kB / 1.123 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.8486, allocations: 0.5024 MB / 1.123 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.8487, allocations: 0 / 1.123 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.8488, allocations: 5.875 kB / 1.123 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8488, allocations: 12 kB / 1.123 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.8534, allocations: 2.101 MB / 1.125 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.8549, allocations: 422.6 kB / 1.126 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.8554, allocations: 160.8 kB / 1.126 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.8554, allocations: 4 kB / 1.126 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.8561, allocations: 234.3 kB / 1.126 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.427e-06/0.8561, allocations: 4 kB / 1.126 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.001196/0.8573, allocations: 377.4 kB / 1.126 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.8575, allocations: 187.9 kB / 1.127 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.8584, allocations: 475.7 kB / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.8585, allocations: 25.7 kB / 1.127 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.8588, allocations: 260.6 kB / 1.127 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.859, allocations: 153.8 kB / 1.128 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.859, allocations: 3.938 kB / 1.128 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8592, allocations: 374.8 kB / 1.128 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.8597, allocations: 147 kB / 1.128 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.8604, allocations: 260.1 kB / 1.128 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.8609, allocations: 168.7 kB / 1.128 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8609, allocations: 4 kB / 1.128 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001398/0.8623, allocations: 474.1 kB / 1.129 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004939/0.8628, allocations: 0.9618 MB / 1.13 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8628, allocations: 4 kB / 1.13 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.8629, allocations: 8 kB / 1.13 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.864, allocations: 123.8 kB / 1.13 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.864, allocations: 11.98 kB / 1.13 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009809/0.865, allocations: 71.56 kB / 1.13 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.8651, allocations: 23.97 kB / 1.13 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.8651, allocations: 4 kB / 1.13 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.8663, allocations: 365.6 kB / 1.13 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8663, allocations: 4 kB / 1.13 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8663, allocations: 4 kB / 1.13 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.8673, allocations: 121.6 kB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.8673, allocations: 12.02 kB / 1.131 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.8682, allocations: 69.69 kB / 1.131 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.8683, allocations: 20 kB / 1.131 GB, free: 0.5352 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002188/0.8685, allocations: 122.1 kB / 1.131 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.8687, allocations: 71.16 kB / 1.131 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.869, allocations: 74.61 kB / 1.131 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.869, allocations: 4 kB / 1.131 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.869, allocations: 0 / 1.131 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.869, allocations: 0 / 1.131 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.8701, allocations: 0.5795 MB / 1.131 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.8701, allocations: 0 / 1.131 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.8711, allocations: 107.7 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.8712, allocations: 0 / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.8712, allocations: 8 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.8712, allocations: 2.562 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8713, allocations: 0 / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001742/0.873, allocations: 0.6186 MB / 1.132 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.8734, allocations: 204 kB / 1.132 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.8736, allocations: 0 / 1.132 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8746, allocations: 63.94 kB / 1.132 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.8748, allocations: 31.86 kB / 1.132 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.8748, allocations: 19.98 kB / 1.132 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0007241/0.8756, allocations: 363.2 kB / 1.133 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001011/0.8766, allocations: 219.1 kB / 1.133 GB, free: 14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002302/0.8768, allocations: 112.8 kB / 1.133 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.8786, allocations: 0.6511 MB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8787, allocations: 1.25 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.8792, allocations: 179.9 kB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.8808, allocations: 159.5 kB / 1.134 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.8843, allocations: 0.8766 MB / 1.135 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009946/0.8854, allocations: 0.9851 MB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of SimCode: time 1.383e-06/0.8854, allocations: 0.6562 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.03167/0.9171, allocations: 10.67 MB / 1.146 GB, free: 0.5039 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)