Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.351/1.351, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009066/0.0009066, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.102/1.102, allocations: 205.2 MB / 0.6256 GB, free: 5.801 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.0008108/0.0008107, allocations: 87.81 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.039e-06/5.059e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4549, allocations: 116.3 MB / 0.9725 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.6117, allocations: 146.7 MB / 1.116 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.612, allocations: 75.95 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04973/0.6618, allocations: 19.42 MB / 1.135 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.235e-05/0.6619, allocations: 28.12 kB / 1.135 GB, free: 14.24 MB / 0.7448 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.001722/0.6636, allocations: 1.098 MB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6637, allocations: 8.031 kB / 1.136 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.6639, allocations: 126.5 kB / 1.136 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.6652, allocations: 0.7346 MB / 1.137 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.6653, allocations: 55.7 kB / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.6654, allocations: 44 kB / 1.137 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007949/0.6662, allocations: 456 kB / 1.137 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.6672, allocations: 0.6221 MB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.6672, allocations: 3.938 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.6673, allocations: 4 kB / 1.138 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.6673, allocations: 16 kB / 1.138 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.6703, allocations: 2.21 MB / 1.14 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.6713, allocations: 0.5444 MB / 1.141 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.6717, allocations: 206.3 kB / 1.141 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.6717, allocations: 8.5 kB / 1.141 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.6721, allocations: 273.3 kB / 1.141 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 1.843e-06/0.6721, allocations: 0 / 1.141 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008282/0.673, allocations: 0.492 MB / 1.142 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.6731, allocations: 135.2 kB / 1.142 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.6737, allocations: 0.5553 MB / 1.142 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.6737, allocations: 29.7 kB / 1.142 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.6739, allocations: 304.1 kB / 1.143 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6741, allocations: 193 kB / 1.143 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.6741, allocations: 4 kB / 1.143 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6742, allocations: 330 kB / 1.143 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.6745, allocations: 165.3 kB / 1.143 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.6749, allocations: 286.8 kB / 1.143 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.6752, allocations: 195.1 kB / 1.144 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6752, allocations: 4 kB / 1.144 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008372/0.676, allocations: 0.5612 MB / 1.144 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.6763, allocations: 0.8796 MB / 1.145 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6764, allocations: 4 kB / 1.145 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6764, allocations: 4 kB / 1.145 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/0.6772, allocations: 163.8 kB / 1.145 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6773, allocations: 4 kB / 1.145 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.6777, allocations: 71.48 kB / 1.145 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.6778, allocations: 24 kB / 1.145 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-06/0.6778, allocations: 4 kB / 1.145 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007173/0.6785, allocations: 450.1 kB / 1.146 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6785, allocations: 4 kB / 1.146 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/0.6786, allocations: 4 kB / 1.146 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.6794, allocations: 157.9 kB / 1.146 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6794, allocations: 15.88 kB / 1.146 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.6798, allocations: 59.55 kB / 1.146 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.6799, allocations: 16 kB / 1.146 GB, free: 2.398 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.0001279/0.68, allocations: 132 kB / 1.146 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6802, allocations: 90.88 kB / 1.146 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.6803, allocations: 88.56 kB / 1.146 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6803, allocations: 4 kB / 1.146 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6803, allocations: 0 / 1.146 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6804, allocations: 8.125 kB / 1.146 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.682, allocations: 1.32 MB / 1.148 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6821, allocations: 0 / 1.148 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.6827, allocations: 115.8 kB / 1.148 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6827, allocations: 4 kB / 1.148 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.6827, allocations: 4 kB / 1.148 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6827, allocations: 4 kB / 1.148 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6827, allocations: 0 / 1.148 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001197/0.6839, allocations: 0.8686 MB / 1.149 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.6842, allocations: 227.8 kB / 1.149 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6843, allocations: 12 kB / 1.149 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.6849, allocations: 44.52 kB / 1.149 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.685, allocations: 36.39 kB / 1.149 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.685, allocations: 19.98 kB / 1.149 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004944/0.6855, allocations: 431.2 kB / 1.149 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006805/0.6862, allocations: 262.8 kB / 1.15 GB, free: 14.68 MB / 0.7605 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.0001698/0.6864, allocations: 117 kB / 1.15 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6875, allocations: 0.7466 MB / 1.15 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6875, allocations: 0 / 1.15 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.6878, allocations: 243.3 kB / 1.151 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.6888, allocations: 207.2 kB / 1.151 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.691, allocations: 1.157 MB / 1.152 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.6918, allocations: 1.093 MB / 1.153 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of SimCode: time 2.4e-07/0.6918, allocations: 0 / 1.153 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of Templates: time 0.0214/0.7132, allocations: 12.88 MB / 1.166 GB, free: 14.34 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)