Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") [: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.41/1.41, allocations: 289.8 MB / 297.1 MB, free: 9.09 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.001096/0.001096, allocations: 196.7 kB / 366.3 MB, free: 11.25 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.12/1.12, allocations: 205.1 MB / 0.6256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 85.77 kB / 0.7396 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.215e-06, allocations: 4 kB / 0.859 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1531, allocations: 116.3 MB / 0.9726 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/0.5889, allocations: 140 MB / 1.109 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.5891, allocations: 72.19 kB / 1.109 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.0378/0.6269, allocations: 15.55 MB / 1.125 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.36e-05/0.627, allocations: 24.38 kB / 1.125 GB, free: 13.99 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00149/0.6285, allocations: 1.109 MB / 1.126 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6286, allocations: 13.66 kB / 1.126 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.6287, allocations: 118.6 kB / 1.126 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.6297, allocations: 0.6508 MB / 1.126 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.6298, allocations: 25.78 kB / 1.126 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6299, allocations: 55.62 kB / 1.127 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008306/0.6307, allocations: 484.3 kB / 1.127 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.6317, allocations: 0.6366 MB / 1.128 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6317, allocations: 5.125 kB / 1.128 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.6318, allocations: 1.094 kB / 1.128 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.6318, allocations: 24.47 kB / 1.128 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.6346, allocations: 2.487 MB / 1.13 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.6355, allocations: 0.5187 MB / 1.131 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.6359, allocations: 258.7 kB / 1.131 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.6359, allocations: 6.906 kB / 1.131 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.6362, allocations: 259.7 kB / 1.131 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 1.864e-06/0.6362, allocations: 0 / 1.131 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.0006986/0.637, allocations: 470.4 kB / 1.132 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.637, allocations: 192.4 kB / 1.132 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000481/0.6375, allocations: 486.7 kB / 1.132 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.6375, allocations: 28.33 kB / 1.132 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.6377, allocations: 332.2 kB / 1.133 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.6378, allocations: 200.3 kB / 1.133 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6378, allocations: 1.312 kB / 1.133 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.6379, allocations: 384.5 kB / 1.133 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.6382, allocations: 192.5 kB / 1.133 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.6386, allocations: 326.3 kB / 1.134 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.639, allocations: 217.6 kB / 1.134 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.639, allocations: 0 / 1.134 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009286/0.64, allocations: 0.5988 MB / 1.134 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.64, allocations: 0.5258 MB / 1.135 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6401, allocations: 2.375 kB / 1.135 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6401, allocations: 7.781 kB / 1.135 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.6406, allocations: 146.6 kB / 1.135 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6406, allocations: 7.781 kB / 1.135 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.6412, allocations: 137.9 kB / 1.135 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.6413, allocations: 34.52 kB / 1.135 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.6413, allocations: 5.469 kB / 1.135 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007511/0.642, allocations: 461 kB / 1.136 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.642, allocations: 2.562 kB / 1.136 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.642, allocations: 4.156 kB / 1.136 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.6424, allocations: 111.6 kB / 1.136 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.6425, allocations: 12.08 kB / 1.136 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.6429, allocations: 104.9 kB / 1.136 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.6429, allocations: 23.91 kB / 1.136 GB, free: 8.625 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($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 (75): * Single equations (assignments): 74 * 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.0001029/0.643, allocations: 122.7 kB / 1.136 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.6431, allocations: 73.12 kB / 1.136 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.6432, allocations: 76.69 kB / 1.136 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6433, allocations: 6.094 kB / 1.136 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6433, allocations: 4.969 kB / 1.136 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6433, allocations: 3.984 kB / 1.136 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.6445, allocations: 1.179 MB / 1.137 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6445, allocations: 7.938 kB / 1.137 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.6451, allocations: 132 kB / 1.137 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6451, allocations: 6.594 kB / 1.137 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.6451, allocations: 10.17 kB / 1.137 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6451, allocations: 2.344 kB / 1.137 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6451, allocations: 1.094 kB / 1.137 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009231/0.6461, allocations: 0.7976 MB / 1.138 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.6462, allocations: 159.7 kB / 1.138 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.6462, allocations: 5.484 kB / 1.138 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.6466, allocations: 61.33 kB / 1.138 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.6467, allocations: 28.86 kB / 1.138 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.6467, allocations: 20.75 kB / 1.139 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000358/0.6471, allocations: 375.9 kB / 1.139 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006508/0.6477, allocations: 288.9 kB / 1.139 GB, free: 7.285 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0001612/0.6479, allocations: 122.1 kB / 1.139 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.649, allocations: 0.8164 MB / 1.14 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.649, allocations: 3.938 kB / 1.14 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.6493, allocations: 229.9 kB / 1.14 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.65, allocations: 144.6 kB / 1.14 GB, free: 7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.6516, allocations: 1.023 MB / 1.141 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/0.6523, allocations: 1.069 MB / 1.142 GB, free: 21.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.6523, allocations: 1.062 kB / 1.142 GB, free: 21.71 MB / 0.698 GB Notification: Performance of Templates: time 0.0174/0.6697, allocations: 10.79 MB / 1.153 GB, free: 14.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)