Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009831/0.0009831, allocations: 189.2 kB / 361.1 MB, free: 7.109 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.037/1.037, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007893/0.0007893, allocations: 95.17 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.059e-06/5.149e-06, allocations: 0 / 0.851 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.459, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.6056, allocations: 144 MB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.6059, allocations: 81.17 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03106/0.6369, allocations: 12.17 MB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.055e-05/0.637, allocations: 12 kB / 1.116 GB, free: 15.85 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001471/0.6385, allocations: 0.8838 MB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6385, allocations: 8.031 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.6387, allocations: 89.19 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.6396, allocations: 0.5374 MB / 1.118 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.6396, allocations: 20 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.6397, allocations: 32.22 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007572/0.6405, allocations: 394.6 kB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.6413, allocations: 0.5254 MB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6414, allocations: 0 / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.6414, allocations: 0 / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.6414, allocations: 16 kB / 1.119 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.6444, allocations: 1.996 MB / 1.121 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.6449, allocations: 314.9 kB / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.6453, allocations: 207.9 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.6453, allocations: 4.438 kB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.6456, allocations: 224.6 kB / 1.121 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 1.763e-06/0.6457, allocations: 2.438 kB / 1.121 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.0006732/0.6463, allocations: 394.5 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.6464, allocations: 166.7 kB / 1.122 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.6468, allocations: 341.8 kB / 1.122 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.6469, allocations: 29.69 kB / 1.122 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.647, allocations: 256.3 kB / 1.123 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6472, allocations: 165.5 kB / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.6472, allocations: 0 / 1.123 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6473, allocations: 366.8 kB / 1.123 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.6476, allocations: 141.3 kB / 1.123 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.6479, allocations: 247.2 kB / 1.123 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.6482, allocations: 177.4 kB / 1.124 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6482, allocations: 0 / 1.124 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007062/0.6489, allocations: 459.8 kB / 1.124 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6489, allocations: 4.188 kB / 1.124 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.649, allocations: 8 kB / 1.124 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.649, allocations: 4 kB / 1.124 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.6495, allocations: 127.7 kB / 1.124 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.6495, allocations: 8 kB / 1.124 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.65, allocations: 73.52 kB / 1.124 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.65, allocations: 20 kB / 1.124 GB, free: 7.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.6501, allocations: 119.5 kB / 1.124 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.6502, allocations: 67.23 kB / 1.124 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.6503, allocations: 53.2 kB / 1.124 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6503, allocations: 8 kB / 1.124 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6504, allocations: 0 / 1.124 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6504, allocations: 5.391 kB / 1.124 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6518, allocations: 1.095 MB / 1.126 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6518, allocations: 3.906 kB / 1.126 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.6524, allocations: 111.9 kB / 1.126 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6524, allocations: 7.938 kB / 1.126 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.6524, allocations: 3.984 kB / 1.126 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.6525, allocations: 4 kB / 1.126 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6525, allocations: 0 / 1.126 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001016/0.6535, allocations: 0.715 MB / 1.126 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.6537, allocations: 180.3 kB / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.6538, allocations: 4 kB / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.6542, allocations: 43.95 kB / 1.127 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.6543, allocations: 40.38 kB / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.6543, allocations: 8 kB / 1.127 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002705/0.6546, allocations: 271.2 kB / 1.127 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004487/0.6551, allocations: 149.5 kB / 1.127 GB, free: 4.461 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.000145/0.6552, allocations: 107.1 kB / 1.127 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006599/0.6559, allocations: 409.2 kB / 1.128 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6559, allocations: 0 / 1.128 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.6562, allocations: 201.6 kB / 1.128 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.6568, allocations: 118.5 kB / 1.128 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.6595, allocations: 1.262 MB / 1.129 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.6601, allocations: 0.9488 MB / 1.13 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/0.6601, allocations: 0 / 1.13 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of Templates: time 0.01138/0.6715, allocations: 6.571 MB / 1.136 GB, free: 10.98 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)