Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.536/1.536, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.001324/0.001324, allocations: 188 kB / 366.3 MB, free: 1.891 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 0.6256 GB, free: 5.746 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.0008616/0.0008615, allocations: 96.84 kB / 0.7396 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/8.125e-06, allocations: 0 / 0.859 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.603/0.603, allocations: 116.3 MB / 0.9726 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.7774, allocations: 143 MB / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.7777, allocations: 91.88 kB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06061/0.8383, allocations: 24.06 MB / 1.136 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.453e-05/0.8385, allocations: 35.94 kB / 1.136 GB, free: 13.12 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002212/0.8407, allocations: 1.375 MB / 1.137 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8408, allocations: 9.438 kB / 1.137 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.841, allocations: 166 kB / 1.137 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.8425, allocations: 0.7854 MB / 1.138 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.8426, allocations: 39.91 kB / 1.138 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.8427, allocations: 76 kB / 1.138 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/0.844, allocations: 0.6487 MB / 1.139 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.8454, allocations: 0.8561 MB / 1.14 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.8455, allocations: 7.938 kB / 1.14 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.8455, allocations: 7.969 kB / 1.14 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.8456, allocations: 31.91 kB / 1.14 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004974/0.8506, allocations: 3.509 MB / 1.143 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.8522, allocations: 0.8022 MB / 1.144 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.8528, allocations: 350.9 kB / 1.144 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.8528, allocations: 12.77 kB / 1.144 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.8534, allocations: 358.1 kB / 1.145 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 2.926e-06/0.8534, allocations: 0 / 1.145 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001121/0.8545, allocations: 0.6308 MB / 1.145 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.8547, allocations: 218.4 kB / 1.145 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.8555, allocations: 0.6219 MB / 1.146 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.8556, allocations: 29.7 kB / 1.146 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.8559, allocations: 404 kB / 1.146 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.8561, allocations: 295.5 kB / 1.147 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.8561, allocations: 0 / 1.147 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8563, allocations: 338 kB / 1.147 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.8567, allocations: 254 kB / 1.147 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.8573, allocations: 421.2 kB / 1.148 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.858, allocations: 303.2 kB / 1.148 GB, free: 220 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.858, allocations: 4 kB / 1.148 GB, free: 216 kB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001432/0.8595, allocations: 0.7872 MB / 1.149 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.8597, allocations: 0.624 MB / 1.149 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8598, allocations: 8 kB / 1.149 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8598, allocations: 7.984 kB / 1.149 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.8606, allocations: 201.1 kB / 1.15 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.8606, allocations: 4 kB / 1.15 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.8614, allocations: 167.3 kB / 1.15 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.8615, allocations: 31.98 kB / 1.15 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.8615, allocations: 4 kB / 1.15 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/0.8626, allocations: 0.6189 MB / 1.15 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8626, allocations: 5.016 kB / 1.15 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.8626, allocations: 4 kB / 1.15 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.8632, allocations: 163.7 kB / 1.151 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.8632, allocations: 4 kB / 1.151 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.8638, allocations: 123.5 kB / 1.151 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.8638, allocations: 28 kB / 1.151 GB, free: 13.39 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0001973/0.864, allocations: 131.3 kB / 1.151 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.8642, allocations: 102.7 kB / 1.151 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.8645, allocations: 102.8 kB / 1.151 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.8645, allocations: 17.77 kB / 1.151 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.8645, allocations: 0 / 1.151 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.8645, allocations: 3.984 kB / 1.151 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.8667, allocations: 1.566 MB / 1.153 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8667, allocations: 11.88 kB / 1.153 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.8675, allocations: 179.8 kB / 1.153 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.8675, allocations: 4 kB / 1.153 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.8676, allocations: 7.984 kB / 1.153 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.8676, allocations: 11.91 kB / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8676, allocations: 0 / 1.153 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001524/0.8691, allocations: 1.087 MB / 1.154 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.8693, allocations: 191.6 kB / 1.154 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8694, allocations: 0 / 1.154 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.8699, allocations: 59.95 kB / 1.154 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.87, allocations: 56.61 kB / 1.154 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.87, allocations: 23.98 kB / 1.154 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0005733/0.8706, allocations: 479.1 kB / 1.155 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009043/0.8715, allocations: 370.2 kB / 1.155 GB, free: 8.941 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002266/0.8718, allocations: 138.5 kB / 1.155 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.8735, allocations: 1.099 MB / 1.156 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8735, allocations: 0 / 1.156 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.874, allocations: 326.8 kB / 1.157 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.875, allocations: 201 kB / 1.157 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.8776, allocations: 1.428 MB / 1.158 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009198/0.8786, allocations: 1.216 MB / 1.159 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.8786, allocations: 0 / 1.159 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of Templates: time 0.02935/0.9079, allocations: 14.71 MB / 1.174 GB, free: 5.902 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)