Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") [: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.202/2.202, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001679/0.001679, allocations: 173.3 kB / 360.4 MB, free: 7.469 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.757/1.757, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001268/0.001268, allocations: 92.69 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.278e-06/9.417e-06, allocations: 0 / 0.8503 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.6318, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.861, allocations: 141.9 MB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.8614, allocations: 89.58 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.07234/0.9337, allocations: 17 MB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.64e-05/0.9339, allocations: 20 kB / 1.118 GB, free: 13.84 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003069/0.9369, allocations: 1.11 MB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.937, allocations: 16.53 kB / 1.119 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004657/0.9375, allocations: 124.9 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.9393, allocations: 0.6015 MB / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.9394, allocations: 35.98 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.9396, allocations: 56 kB / 1.12 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001856/0.9414, allocations: 0.535 MB / 1.12 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.9436, allocations: 0.716 MB / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.9436, allocations: 0 / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.9437, allocations: 4 kB / 1.121 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.9438, allocations: 20 kB / 1.121 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/0.9504, allocations: 2.512 MB / 1.124 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.9517, allocations: 397.5 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.9525, allocations: 322.5 kB / 1.124 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.484e-05/0.9526, allocations: 12.64 kB / 1.124 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000792/0.9534, allocations: 307.1 kB / 1.125 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 3.867e-06/0.9534, allocations: 0 / 1.125 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.001657/0.9551, allocations: 0.5185 MB / 1.125 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9552, allocations: 170.9 kB / 1.125 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.9562, allocations: 462.1 kB / 1.126 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/0.9563, allocations: 37.69 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.9566, allocations: 343.9 kB / 1.126 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.957, allocations: 252.1 kB / 1.126 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.957, allocations: 4 kB / 1.126 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002426/0.9573, allocations: 382.8 kB / 1.127 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006316/0.9579, allocations: 189.6 kB / 1.127 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.9586, allocations: 283.6 kB / 1.127 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.9593, allocations: 228.5 kB / 1.127 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9593, allocations: 0 / 1.127 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001685/0.961, allocations: 0.5798 MB / 1.128 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.9612, allocations: 185.9 kB / 1.128 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9612, allocations: 4.031 kB / 1.128 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.9612, allocations: 4 kB / 1.128 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.9626, allocations: 163.7 kB / 1.128 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9627, allocations: 8 kB / 1.128 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.9635, allocations: 91.39 kB / 1.128 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.9636, allocations: 23.98 kB / 1.128 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9636, allocations: 4 kB / 1.128 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.965, allocations: 457.1 kB / 1.129 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.965, allocations: 0 / 1.129 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9651, allocations: 11.92 kB / 1.129 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.9662, allocations: 137.9 kB / 1.129 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.9662, allocations: 4 kB / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.9668, allocations: 63.45 kB / 1.129 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.9669, allocations: 20 kB / 1.129 GB, free: 2.234 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.0002399/0.9672, allocations: 122 kB / 1.129 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.9673, allocations: 80.56 kB / 1.129 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.9677, allocations: 75.69 kB / 1.129 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.9677, allocations: 11.91 kB / 1.129 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9677, allocations: 4 kB / 1.129 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.9677, allocations: 3.984 kB / 1.129 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.9711, allocations: 1.428 MB / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.9712, allocations: 0 / 1.131 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.9726, allocations: 147.8 kB / 1.131 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.9726, allocations: 4 kB / 1.131 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.9727, allocations: 7.984 kB / 1.131 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.9727, allocations: 1.625 kB / 1.131 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9727, allocations: 1.328 kB / 1.131 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002427/0.9751, allocations: 0.9191 MB / 1.132 GB, free: 15.37 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.9754, allocations: 156 kB / 1.132 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.9755, allocations: 10.59 kB / 1.132 GB, free: 15.19 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.9763, allocations: 43.97 kB / 1.132 GB, free: 15.15 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.9764, allocations: 44.44 kB / 1.132 GB, free: 15.11 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/0.9765, allocations: 27.98 kB / 1.132 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of sort global known variables: time 0.0006986/0.9772, allocations: 351.2 kB / 1.132 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.001107/0.9783, allocations: 294.3 kB / 1.133 GB, free: 14.45 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 3 (greEquThr.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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 Backend phase and start with SimCode phase: time 0.0002352/0.9786, allocations: 120.6 kB / 1.133 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.002186/0.9808, allocations: 0.7953 MB / 1.134 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9808, allocations: 0 / 1.134 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.9815, allocations: 278.3 kB / 1.134 GB, free: 13.26 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.9827, allocations: 125.3 kB / 1.134 GB, free: 13.15 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.9866, allocations: 1.211 MB / 1.135 GB, free: 11.9 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.988, allocations: 1.088 MB / 1.136 GB, free: 10.79 MB / 0.7449 GB Notification: Performance of SimCode: time 1.714e-06/0.9881, allocations: 0 / 1.136 GB, free: 10.79 MB / 0.7449 GB Notification: Performance of Templates: time 0.03492/1.023, allocations: 10.3 MB / 1.146 GB, free: 0.6875 MB / 0.7449 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)