Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.424/2.424, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.00163/0.00163, allocations: 185.2 kB / 360.4 MB, free: 7.523 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.75/1.75, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001217/0.001217, allocations: 90.89 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.738e-06, allocations: 0 / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.609, allocations: 115.2 MB / 0.9628 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.8322, allocations: 141.9 MB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.8327, allocations: 92.44 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1027/0.9354, allocations: 24.06 MB / 1.125 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001125/0.9356, allocations: 32 kB / 1.125 GB, free: 6.863 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003959/0.9395, allocations: 1.379 MB / 1.126 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.9396, allocations: 12.53 kB / 1.126 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.9403, allocations: 166 kB / 1.126 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.9429, allocations: 0.7854 MB / 1.127 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.943, allocations: 39.91 kB / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.9433, allocations: 68 kB / 1.127 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002295/0.9456, allocations: 0.6487 MB / 1.128 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.9481, allocations: 0.8566 MB / 1.129 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.9482, allocations: 7.938 kB / 1.129 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.9483, allocations: 4 kB / 1.129 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.9484, allocations: 27.91 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.9585, allocations: 3.516 MB / 1.132 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.9617, allocations: 0.8053 MB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9628, allocations: 346.9 kB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.9629, allocations: 20.77 kB / 1.133 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.9638, allocations: 348.5 kB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.559e-06/0.9638, allocations: 0 / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.002014/0.9658, allocations: 0.6308 MB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.966, allocations: 218.4 kB / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.9674, allocations: 0.622 MB / 1.135 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.9676, allocations: 29.69 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.9681, allocations: 408 kB / 1.136 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.9684, allocations: 295.5 kB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.9685, allocations: 0 / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.9687, allocations: 338 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/0.9695, allocations: 254 kB / 1.136 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.9705, allocations: 425.2 kB / 1.137 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.9718, allocations: 307.2 kB / 1.137 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9718, allocations: 0 / 1.137 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002539/0.9743, allocations: 0.7912 MB / 1.138 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/0.9747, allocations: 0.6238 MB / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.9747, allocations: 0 / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.9747, allocations: 4 kB / 1.139 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.9764, allocations: 204.5 kB / 1.139 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.9764, allocations: 8 kB / 1.139 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.978, allocations: 167.3 kB / 1.139 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.9781, allocations: 35.98 kB / 1.139 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.9781, allocations: 4 kB / 1.139 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/0.9802, allocations: 0.6151 MB / 1.14 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.9802, allocations: 6.219 kB / 1.14 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9803, allocations: 8 kB / 1.14 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.9815, allocations: 161.4 kB / 1.14 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.9816, allocations: 8 kB / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.9829, allocations: 115.4 kB / 1.14 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.983, allocations: 27.98 kB / 1.14 GB, free: 7.137 MB / 0.7448 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.0003238/0.9833, allocations: 132.5 kB / 1.14 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.9836, allocations: 102.7 kB / 1.14 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003978/0.984, allocations: 110.8 kB / 1.14 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.984, allocations: 8 kB / 1.14 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.984, allocations: 0 / 1.14 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.984, allocations: 3.984 kB / 1.14 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.9875, allocations: 1.57 MB / 1.142 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.9876, allocations: 11.92 kB / 1.142 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.9892, allocations: 179.8 kB / 1.142 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.9892, allocations: 4 kB / 1.142 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.225e-05/0.9893, allocations: 4 kB / 1.142 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.9893, allocations: 7.906 kB / 1.142 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.9893, allocations: 5.734 kB / 1.142 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002767/0.9921, allocations: 1.087 MB / 1.143 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.9924, allocations: 183.6 kB / 1.143 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.9926, allocations: 9.75 kB / 1.143 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/0.9936, allocations: 67.95 kB / 1.143 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9937, allocations: 48.61 kB / 1.143 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.9938, allocations: 23.98 kB / 1.143 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0009995/0.9948, allocations: 475.2 kB / 1.144 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001428/0.9963, allocations: 382.1 kB / 1.144 GB, free: 2.672 MB / 0.7448 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.0003001/0.9966, allocations: 134 kB / 1.144 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.9998, allocations: 1.093 MB / 1.145 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9999, allocations: 3.938 kB / 1.145 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/1.001, allocations: 323.6 kB / 1.146 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.003, allocations: 201.1 kB / 1.146 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/1.009, allocations: 1.423 MB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/1.012, allocations: 1.216 MB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of SimCode: time 1.383e-06/1.012, allocations: 3.938 kB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.06264/1.074, allocations: 14.7 MB / 1.163 GB, free: 15.79 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)