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.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") [: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.126/2.126, allocations: 284.9 MB / 292.2 MB, free: 14.69 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002088/0.002088, allocations: 185.2 kB / 360.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.6188 GB, free: 4.617 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001246, allocations: 86.39 kB / 0.7318 GB, free: 53.42 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.556e-05, allocations: 4 kB / 0.8503 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 115.3 MB / 0.9628 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.8115, allocations: 138 MB / 1.098 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.8118, allocations: 77.62 kB / 1.098 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.02267/0.8345, allocations: 6.058 MB / 1.104 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.8346, allocations: 8 kB / 1.104 GB, free: 8.434 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001058/0.8356, allocations: 0.6306 MB / 1.104 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8357, allocations: 12.53 kB / 1.104 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.8358, allocations: 48.47 kB / 1.104 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.8366, allocations: 375.4 kB / 1.105 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.8366, allocations: 13.88 kB / 1.105 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.8367, allocations: 23.91 kB / 1.105 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006015/0.8373, allocations: 209.5 kB / 1.105 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.838, allocations: 314.2 kB / 1.105 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.838, allocations: 4 kB / 1.105 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.8381, allocations: 0 / 1.105 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.8381, allocations: 8 kB / 1.105 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.8403, allocations: 1.174 MB / 1.106 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.8409, allocations: 209.4 kB / 1.106 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.8411, allocations: 100.8 kB / 1.107 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.8412, allocations: 4 kB / 1.107 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.8414, allocations: 151 kB / 1.107 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.8414, allocations: 0 / 1.107 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.0005156/0.842, allocations: 208 kB / 1.107 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.842, allocations: 136.5 kB / 1.107 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.8424, allocations: 259.6 kB / 1.107 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8424, allocations: 29.7 kB / 1.107 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.8425, allocations: 202.2 kB / 1.108 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.8426, allocations: 86.75 kB / 1.108 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.8426, allocations: 0 / 1.108 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.8427, allocations: 338.8 kB / 1.108 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8429, allocations: 76.56 kB / 1.108 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.8432, allocations: 145.4 kB / 1.108 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.8434, allocations: 99.91 kB / 1.108 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8434, allocations: 0 / 1.108 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005829/0.844, allocations: 261.1 kB / 1.108 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.8442, allocations: 0.5278 MB / 1.109 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8442, allocations: 3.906 kB / 1.109 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8442, allocations: 4 kB / 1.109 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.8448, allocations: 71.91 kB / 1.109 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.8448, allocations: 0 / 1.109 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.8452, allocations: 43.81 kB / 1.109 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.8452, allocations: 8 kB / 1.109 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.8452, allocations: 4 kB / 1.109 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000458/0.8457, allocations: 200.4 kB / 1.109 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.8457, allocations: 0 / 1.109 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.8457, allocations: 4 kB / 1.109 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.8461, allocations: 56.05 kB / 1.109 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8461, allocations: 4 kB / 1.109 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.8464, allocations: 27.73 kB / 1.109 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.8464, allocations: 8 kB / 1.109 GB, free: 2.133 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 9.629e-05/0.8466, allocations: 116.7 kB / 1.11 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.8466, allocations: 37.58 kB / 1.11 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.8467, allocations: 36.55 kB / 1.11 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8467, allocations: 7.938 kB / 1.11 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8468, allocations: 1.062 kB / 1.11 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8468, allocations: 7.906 kB / 1.11 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.8481, allocations: 0.811 MB / 1.11 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8481, allocations: 0 / 1.11 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.8486, allocations: 56.22 kB / 1.11 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8486, allocations: 11.94 kB / 1.11 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.8487, allocations: 7.984 kB / 1.11 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8487, allocations: 10.41 kB / 1.11 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8487, allocations: 0 / 1.11 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007386/0.8494, allocations: 0.6262 MB / 1.111 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.8495, allocations: 118 kB / 1.111 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.8496, allocations: 4 kB / 1.111 GB, free: 108 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.85, allocations: 23.98 kB / 1.111 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.8501, allocations: 19.89 kB / 1.111 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.8501, allocations: 11.98 kB / 1.111 GB, free: 52 kB / 0.7012 GB Notification: Performance of sort global known variables: time 0.0003227/0.8504, allocations: 203.2 kB / 1.111 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007284/0.8512, allocations: 119.4 kB / 1.112 GB, free: 15.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002494/0.8514, allocations: 119.1 kB / 1.112 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.8523, allocations: 310 kB / 1.112 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8523, allocations: 0 / 1.112 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.8526, allocations: 96.67 kB / 1.112 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.8533, allocations: 64.92 kB / 1.112 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.855, allocations: 0.5264 MB / 1.113 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.8557, allocations: 0.8462 MB / 1.113 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.8557, allocations: 0 / 1.113 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.01403/0.8698, allocations: 4.204 MB / 1.118 GB, free: 9.629 MB / 0.7169 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)