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.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") [: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.14/2.14, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.002149/0.002149, allocations: 185.2 kB / 360.4 MB, free: 7.555 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.627/1.627, allocations: 205.1 MB / 0.6188 GB, free: 13.21 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.001226/0.001225, allocations: 93.22 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.391e-05, allocations: 7.938 kB / 0.8503 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5771, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.7842, allocations: 138.9 MB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.7845, allocations: 73.62 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.06737/0.8519, allocations: 15.56 MB / 1.114 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.021e-05/0.852, allocations: 23.98 kB / 1.114 GB, free: 2.43 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002776/0.8548, allocations: 1.101 MB / 1.115 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8548, allocations: 8.031 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.8551, allocations: 122.6 kB / 1.115 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.857, allocations: 0.6531 MB / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.8571, allocations: 27.98 kB / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.8573, allocations: 56 kB / 1.116 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001634/0.8589, allocations: 480 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.8607, allocations: 0.645 MB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.8607, allocations: 0 / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.8608, allocations: 7.984 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.8609, allocations: 23.91 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/0.8668, allocations: 2.476 MB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.8687, allocations: 0.5309 MB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.8694, allocations: 250.9 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.8694, allocations: 12.5 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006639/0.8701, allocations: 262.9 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.206e-06/0.8701, allocations: 3.938 kB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.00136/0.8715, allocations: 459.8 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.8716, allocations: 192.6 kB / 1.121 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009637/0.8726, allocations: 487.6 kB / 1.121 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-05/0.8727, allocations: 33.7 kB / 1.121 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.8731, allocations: 339.7 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.8733, allocations: 193 kB / 1.122 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.8734, allocations: 1.406 kB / 1.122 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.8736, allocations: 382.8 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.8742, allocations: 189.3 kB / 1.122 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.875, allocations: 327.5 kB / 1.123 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.8759, allocations: 223.1 kB / 1.123 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8759, allocations: 3.938 kB / 1.123 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001919/0.8778, allocations: 0.5889 MB / 1.123 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.8781, allocations: 0.5406 MB / 1.124 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.8781, allocations: 0 / 1.124 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.8782, allocations: 4 kB / 1.124 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.8793, allocations: 147.8 kB / 1.124 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.8794, allocations: 4 kB / 1.124 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.8805, allocations: 135.5 kB / 1.124 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8807, allocations: 35.92 kB / 1.124 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.8807, allocations: 5.312 kB / 1.124 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001509/0.8822, allocations: 466.3 kB / 1.125 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.8822, allocations: 4 kB / 1.125 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.8822, allocations: 4 kB / 1.125 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/0.8831, allocations: 107.8 kB / 1.125 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8831, allocations: 4 kB / 1.125 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/0.884, allocations: 107.5 kB / 1.125 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.8841, allocations: 20 kB / 1.125 GB, free: 6.492 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($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 (75): * Single equations (assignments): 74 * 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.0002161/0.8844, allocations: 121.8 kB / 1.125 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.8845, allocations: 71.16 kB / 1.125 GB, free: 6.297 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.8848, allocations: 75.09 kB / 1.125 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.8848, allocations: 15.91 kB / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8849, allocations: 0 / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8849, allocations: 0 / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.8875, allocations: 1.184 MB / 1.126 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8875, allocations: 7.844 kB / 1.126 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8887, allocations: 133.3 kB / 1.127 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.8888, allocations: 4 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.8888, allocations: 0 / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.8888, allocations: 7.984 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8889, allocations: 1.641 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001979/0.8908, allocations: 0.8054 MB / 1.127 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.891, allocations: 156 kB / 1.128 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8912, allocations: 4 kB / 1.128 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.8919, allocations: 51.95 kB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.892, allocations: 38.7 kB / 1.128 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.8921, allocations: 19.98 kB / 1.128 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007143/0.8928, allocations: 371.2 kB / 1.128 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001128/0.894, allocations: 298.4 kB / 1.128 GB, free: 3.074 MB / 0.7292 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,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0002666/0.8942, allocations: 123.1 kB / 1.128 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.8964, allocations: 0.8099 MB / 1.129 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8964, allocations: 8.188 kB / 1.129 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.897, allocations: 230.4 kB / 1.129 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.8983, allocations: 136 kB / 1.13 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.9015, allocations: 1.034 MB / 1.131 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.9027, allocations: 1.069 MB / 1.132 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.9027, allocations: 0 / 1.132 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.0338/0.9365, allocations: 10.79 MB / 1.142 GB, free: 5.02 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)