Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") [: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.162/2.162, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001514/0.001514, allocations: 187.8 kB / 360.4 MB, free: 7.504 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.61/1.61, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001221/0.001221, allocations: 83.62 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.636e-06, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5466, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.7656, allocations: 145.5 MB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.766, allocations: 80.52 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.08761/0.8536, allocations: 19.42 MB / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001154/0.8538, allocations: 28.12 kB / 1.124 GB, free: 7.82 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00286/0.8566, allocations: 1.09 MB / 1.125 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8567, allocations: 8.031 kB / 1.125 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.8571, allocations: 122.5 kB / 1.125 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.8595, allocations: 0.7386 MB / 1.126 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.8596, allocations: 63.62 kB / 1.126 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.8598, allocations: 44 kB / 1.126 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001501/0.8613, allocations: 445.5 kB / 1.126 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.863, allocations: 0.6338 MB / 1.127 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.863, allocations: 0 / 1.127 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.8631, allocations: 0 / 1.127 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.8632, allocations: 23.98 kB / 1.127 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.8689, allocations: 2.21 MB / 1.129 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.8708, allocations: 0.5368 MB / 1.13 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.8714, allocations: 202.4 kB / 1.13 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.8715, allocations: 12.48 kB / 1.13 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007332/0.8722, allocations: 277.3 kB / 1.13 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 3.276e-06/0.8723, allocations: 4 kB / 1.13 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.001531/0.8738, allocations: 491.9 kB / 1.131 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.8739, allocations: 141 kB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8751, allocations: 0.5553 MB / 1.131 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.8752, allocations: 25.7 kB / 1.131 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.8755, allocations: 300 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.8758, allocations: 201 kB / 1.132 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.8759, allocations: 0 / 1.132 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.876, allocations: 326 kB / 1.132 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.8766, allocations: 175.7 kB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.8773, allocations: 277 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.8779, allocations: 203.1 kB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.8779, allocations: 0 / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001698/0.8796, allocations: 0.5575 MB / 1.133 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.88, allocations: 0.8841 MB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.88, allocations: 3.984 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.88, allocations: 8 kB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.8818, allocations: 159.8 kB / 1.134 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.8819, allocations: 5.5 kB / 1.134 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.883, allocations: 71.48 kB / 1.134 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.8831, allocations: 24 kB / 1.134 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.8831, allocations: 4 kB / 1.134 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.8845, allocations: 450.2 kB / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8845, allocations: 256 / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8846, allocations: 12 kB / 1.135 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.8862, allocations: 151.8 kB / 1.135 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.8863, allocations: 7.938 kB / 1.135 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8873, allocations: 59.56 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.8874, allocations: 24 kB / 1.135 GB, free: 11.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002589/0.8877, allocations: 134.1 kB / 1.135 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8879, allocations: 90.88 kB / 1.135 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.8883, allocations: 92.56 kB / 1.135 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.8883, allocations: 8 kB / 1.135 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8883, allocations: 1.312 kB / 1.135 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.8883, allocations: 0.6562 kB / 1.135 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.8916, allocations: 1.316 MB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8916, allocations: 0 / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.8929, allocations: 115.8 kB / 1.137 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.8929, allocations: 3.984 kB / 1.137 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.893, allocations: 8 kB / 1.137 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.893, allocations: 0 / 1.137 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.893, allocations: 5.406 kB / 1.137 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002291/0.8953, allocations: 0.8692 MB / 1.138 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.8958, allocations: 227.8 kB / 1.138 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.896, allocations: 0 / 1.138 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.8971, allocations: 47.95 kB / 1.138 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.8972, allocations: 36.44 kB / 1.138 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.8973, allocations: 16 kB / 1.138 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000866/0.8982, allocations: 439.1 kB / 1.138 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001166/0.8994, allocations: 264.6 kB / 1.139 GB, free: 8.258 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0002196/0.8996, allocations: 113.5 kB / 1.139 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.9018, allocations: 0.7475 MB / 1.14 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.9018, allocations: 9.094 kB / 1.14 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006736/0.9025, allocations: 237.8 kB / 1.14 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.9045, allocations: 208.5 kB / 1.14 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.9087, allocations: 1.153 MB / 1.141 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.9099, allocations: 1.096 MB / 1.142 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.9099, allocations: 0 / 1.142 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.03917/0.9491, allocations: 12.86 MB / 1.155 GB, free: 8.031 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)