Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009646/0.0009647, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.014/1.014, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007589/0.000759, allocations: 86.34 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.207e-06/9.227e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4167, allocations: 115.3 MB / 0.9637 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.5499, allocations: 138.7 MB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.5501, allocations: 76.8 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.03455/0.5847, allocations: 13.36 MB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.478e-05/0.5848, allocations: 20 kB / 1.112 GB, free: 4.078 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.001697/0.5865, allocations: 1.044 MB / 1.113 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5865, allocations: 8.531 kB / 1.113 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.5868, allocations: 114.6 kB / 1.113 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.5877, allocations: 0.5977 MB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5878, allocations: 28 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.5879, allocations: 55.98 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000891/0.5888, allocations: 491.9 kB / 1.115 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.5898, allocations: 0.6637 MB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5899, allocations: 2.344 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.5899, allocations: 11.98 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.5899, allocations: 20 kB / 1.115 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.5931, allocations: 2.302 MB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.5935, allocations: 340.6 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.5942, allocations: 386.4 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.5942, allocations: 4.656 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.5947, allocations: 296.5 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 1.953e-06/0.5947, allocations: 0 / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.0007507/0.5954, allocations: 491.1 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.5955, allocations: 162.9 kB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.596, allocations: 422.2 kB / 1.119 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.596, allocations: 25.7 kB / 1.119 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.5962, allocations: 312.1 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.5964, allocations: 232.5 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.5964, allocations: 3.938 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5965, allocations: 386.7 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.5968, allocations: 161.3 kB / 1.121 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.5971, allocations: 262.5 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.5975, allocations: 207.1 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5975, allocations: 0 / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007606/0.5982, allocations: 0.5204 MB / 1.122 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.5983, allocations: 188.7 kB / 1.122 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5983, allocations: 0 / 1.122 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5984, allocations: 8.656 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.599, allocations: 151.8 kB / 1.122 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.599, allocations: 4 kB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.5994, allocations: 83.55 kB / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.5994, allocations: 23.98 kB / 1.122 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/0.5994, allocations: 7.938 kB / 1.122 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00061/0.6, allocations: 406.3 kB / 1.122 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-06/0.6, allocations: 0 / 1.122 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-06/0.6001, allocations: 4.75 kB / 1.122 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.6005, allocations: 119.8 kB / 1.122 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6005, allocations: 4 kB / 1.122 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.6008, allocations: 63.53 kB / 1.123 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.6008, allocations: 20 kB / 1.123 GB, free: 9.258 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.0001186/0.6009, allocations: 121.9 kB / 1.123 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.601, allocations: 67.16 kB / 1.123 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.6012, allocations: 70.23 kB / 1.123 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6012, allocations: 9.781 kB / 1.123 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6012, allocations: 0 / 1.123 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6012, allocations: 3.984 kB / 1.123 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.603, allocations: 1.352 MB / 1.124 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.603, allocations: 0 / 1.124 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.6036, allocations: 142 kB / 1.124 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6036, allocations: 4 kB / 1.124 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.6037, allocations: 7.938 kB / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6037, allocations: 0 / 1.124 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6037, allocations: 7.906 kB / 1.124 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/0.6048, allocations: 0.8523 MB / 1.125 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.6049, allocations: 144.2 kB / 1.125 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.605, allocations: 7.906 kB / 1.125 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.6054, allocations: 55.95 kB / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.6054, allocations: 32.59 kB / 1.125 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.6055, allocations: 20 kB / 1.125 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003269/0.6058, allocations: 318.9 kB / 1.126 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006074/0.6064, allocations: 263.8 kB / 1.126 GB, free: 5.719 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.0001839/0.6066, allocations: 130.9 kB / 1.126 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.6077, allocations: 0.7197 MB / 1.127 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6077, allocations: 0 / 1.127 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.6081, allocations: 250.4 kB / 1.127 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.6087, allocations: 116.4 kB / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.6107, allocations: 1.108 MB / 1.128 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/0.6114, allocations: 1.073 MB / 1.129 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.6115, allocations: 0 / 1.129 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of Templates: time 0.01635/0.6278, allocations: 9.127 MB / 1.138 GB, free: 9.348 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)