Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") [: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.105/2.105, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001552/0.001551, allocations: 169.3 kB / 360.4 MB, free: 7.531 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.632/1.632, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.00123/0.00123, allocations: 89.16 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.147e-05/1.16e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5679, allocations: 115.2 MB / 0.9628 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.7906, allocations: 138.5 MB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.7909, allocations: 72.67 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.05756/0.8485, allocations: 13.36 MB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.841e-05/0.8486, allocations: 20 kB / 1.111 GB, free: 4.934 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002787/0.8514, allocations: 1.049 MB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8515, allocations: 11.97 kB / 1.112 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.8518, allocations: 114.6 kB / 1.112 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.8535, allocations: 0.5939 MB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.8535, allocations: 31.98 kB / 1.113 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.8537, allocations: 56 kB / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/0.8554, allocations: 487.9 kB / 1.113 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.8573, allocations: 0.6692 MB / 1.114 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.8573, allocations: 0 / 1.114 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.8574, allocations: 4 kB / 1.114 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.8575, allocations: 20 kB / 1.114 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00568/0.8631, allocations: 2.309 MB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.8641, allocations: 344.6 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8652, allocations: 379.7 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.8653, allocations: 8.656 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007365/0.8661, allocations: 295.1 kB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.216e-06/0.8661, allocations: 0 / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.001367/0.8675, allocations: 487.1 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.8676, allocations: 162.9 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/0.8684, allocations: 418.2 kB / 1.118 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.8685, allocations: 29.7 kB / 1.118 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.8688, allocations: 316.1 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.8691, allocations: 228.6 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.8691, allocations: 0 / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.8693, allocations: 382.7 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.8699, allocations: 169.3 kB / 1.119 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.8705, allocations: 271 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.871, allocations: 203.2 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8711, allocations: 0 / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001343/0.8724, allocations: 0.5148 MB / 1.12 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.926e-05/0.8725, allocations: 188.5 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8725, allocations: 0 / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8726, allocations: 8.031 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8739, allocations: 149.2 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.8739, allocations: 8 kB / 1.121 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.8746, allocations: 87.53 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.8747, allocations: 20 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.8747, allocations: 4.625 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/0.8759, allocations: 412.3 kB / 1.121 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8759, allocations: 0 / 1.121 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8759, allocations: 4 kB / 1.121 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.8769, allocations: 119.8 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.8769, allocations: 7.938 kB / 1.121 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.8774, allocations: 63.53 kB / 1.121 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.8775, allocations: 16 kB / 1.121 GB, free: 10.1 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 (79): * Single equations (assignments): 79 * 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.0001984/0.8777, allocations: 120.5 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.8779, allocations: 79.12 kB / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.8781, allocations: 74.23 kB / 1.122 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8781, allocations: 10.25 kB / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.8782, allocations: 0 / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.8782, allocations: 0 / 1.122 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.8813, allocations: 1.344 MB / 1.123 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8813, allocations: 0 / 1.123 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.8826, allocations: 141 kB / 1.123 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.8826, allocations: 4 kB / 1.123 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.8827, allocations: 11.98 kB / 1.123 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.8827, allocations: 3.906 kB / 1.123 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8827, allocations: 0 / 1.123 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002043/0.8848, allocations: 0.86 MB / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.885, allocations: 144.1 kB / 1.124 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.8851, allocations: 3.984 kB / 1.124 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.8858, allocations: 51.97 kB / 1.124 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.886, allocations: 34.16 kB / 1.124 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.886, allocations: 24 kB / 1.124 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005688/0.8866, allocations: 314.9 kB / 1.125 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000941/0.8876, allocations: 267 kB / 1.125 GB, free: 6.551 MB / 0.7292 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 (69): * Single equations (assignments): 69 * 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.0002314/0.8878, allocations: 119.8 kB / 1.125 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.8897, allocations: 0.7276 MB / 1.126 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8897, allocations: 0 / 1.126 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006558/0.8904, allocations: 254.4 kB / 1.126 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8915, allocations: 109.3 kB / 1.126 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.8948, allocations: 1.114 MB / 1.127 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.8959, allocations: 1.057 MB / 1.128 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/0.8959, allocations: 0 / 1.128 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of Templates: time 0.02993/0.9259, allocations: 9.133 MB / 1.137 GB, free: 10.17 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)