Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.332/1.332, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.0009842/0.0009842, allocations: 189.2 kB / 361.1 MB, free: 7.117 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.054/1.054, allocations: 205.1 MB / 0.6195 GB, free: 10.39 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.0007576/0.0007576, allocations: 88.64 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.232e-06, allocations: 0 / 0.851 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4546, allocations: 115.3 MB / 0.9637 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.594, allocations: 145.3 MB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.5942, allocations: 80.8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04474/0.639, allocations: 16.48 MB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.891e-05/0.6391, allocations: 19.94 kB / 1.122 GB, free: 10.21 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.001605/0.6407, allocations: 0.9554 MB / 1.123 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.6407, allocations: 8.031 kB / 1.123 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.641, allocations: 93.25 kB / 1.123 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6422, allocations: 0.6018 MB / 1.123 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6423, allocations: 80.39 kB / 1.123 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.264e-05/0.6424, allocations: 39.91 kB / 1.123 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006813/0.6431, allocations: 338 kB / 1.124 GB, free: 8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.6439, allocations: 0.5024 MB / 1.124 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6439, allocations: 6.281 kB / 1.124 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.6439, allocations: 0 / 1.124 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.644, allocations: 12 kB / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.6468, allocations: 2.101 MB / 1.126 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.6477, allocations: 425.4 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.6479, allocations: 156.9 kB / 1.127 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.648, allocations: 8 kB / 1.127 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.6483, allocations: 234.3 kB / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.6483, allocations: 0 / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0006635/0.649, allocations: 381.4 kB / 1.128 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.6491, allocations: 187.9 kB / 1.128 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.6496, allocations: 475.7 kB / 1.128 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.6497, allocations: 29.7 kB / 1.128 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.6498, allocations: 252.7 kB / 1.128 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.65, allocations: 153.8 kB / 1.129 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.65, allocations: 0 / 1.129 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6501, allocations: 378.8 kB / 1.129 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.6504, allocations: 137.3 kB / 1.129 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6507, allocations: 264.1 kB / 1.129 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.651, allocations: 172.7 kB / 1.129 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.651, allocations: 0 / 1.129 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007255/0.6517, allocations: 478.1 kB / 1.13 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003216/0.6521, allocations: 0.9657 MB / 1.131 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6521, allocations: 0 / 1.131 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6521, allocations: 9.312 kB / 1.131 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.6526, allocations: 123.8 kB / 1.131 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6526, allocations: 5.094 kB / 1.131 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.6531, allocations: 75.55 kB / 1.131 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.6532, allocations: 23.94 kB / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-06/0.6532, allocations: 0 / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006295/0.6538, allocations: 373.5 kB / 1.131 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.6538, allocations: 2.312 kB / 1.131 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.6539, allocations: 8 kB / 1.131 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.6544, allocations: 116.2 kB / 1.132 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.6544, allocations: 11.77 kB / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.6548, allocations: 59.66 kB / 1.132 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.6549, allocations: 23.98 kB / 1.132 GB, free: 15.6 MB / 0.7448 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.0001244/0.655, allocations: 122.8 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.6551, allocations: 73.12 kB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.6552, allocations: 70.62 kB / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6552, allocations: 4 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6553, allocations: 4 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6553, allocations: 7.984 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.6559, allocations: 0.5756 MB / 1.133 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6559, allocations: 0 / 1.133 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.6564, allocations: 103.8 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6564, allocations: 0 / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.6564, allocations: 8 kB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6564, allocations: 0 / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6564, allocations: 0 / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009404/0.6574, allocations: 0.6213 MB / 1.133 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.6576, allocations: 204.1 kB / 1.133 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.6577, allocations: 3.984 kB / 1.133 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.6583, allocations: 59.95 kB / 1.133 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.6584, allocations: 35.8 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.6584, allocations: 19.98 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003909/0.6588, allocations: 367.2 kB / 1.134 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006058/0.6594, allocations: 215.1 kB / 1.134 GB, free: 13.06 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.0001604/0.6596, allocations: 116.6 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009487/0.6605, allocations: 0.6522 MB / 1.135 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6606, allocations: 4.125 kB / 1.135 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.6608, allocations: 179.9 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.6616, allocations: 154.7 kB / 1.135 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.6635, allocations: 0.8905 MB / 1.136 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.6642, allocations: 0.9861 MB / 1.137 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/0.6642, allocations: 0 / 1.137 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.0178/0.682, allocations: 10.66 MB / 1.147 GB, free: 15.57 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)