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.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.318/1.318, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009068/0.0009068, allocations: 173.3 kB / 361.1 MB, free: 7.105 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.029/1.029, 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.0007291/0.0007291, allocations: 88.11 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.176e-06/8.186e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4317, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.5674, allocations: 139 MB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.5677, allocations: 75.97 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.04034/0.608, allocations: 15.56 MB / 1.115 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.813e-05/0.6081, allocations: 16 kB / 1.115 GB, free: 1.434 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001553/0.6096, allocations: 1.105 MB / 1.116 GB, free: 280 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.6097, allocations: 8.031 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.6099, allocations: 118.6 kB / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.6109, allocations: 0.658 MB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.611, allocations: 27.94 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.6111, allocations: 56 kB / 1.117 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008656/0.612, allocations: 489.6 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/0.6129, allocations: 0.6333 MB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.613, allocations: 3.938 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.613, allocations: 8 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.613, allocations: 23.91 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.6163, allocations: 2.477 MB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.6172, allocations: 0.5249 MB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.6176, allocations: 251.9 kB / 1.121 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.6176, allocations: 10.72 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.618, allocations: 266.9 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 1.934e-06/0.618, allocations: 0 / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0007204/0.6187, allocations: 463.2 kB / 1.122 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.6188, allocations: 188.6 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.6194, allocations: 491.6 kB / 1.122 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.6194, allocations: 33.69 kB / 1.122 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.6196, allocations: 331.7 kB / 1.123 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.6198, allocations: 201 kB / 1.123 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.6198, allocations: 0 / 1.123 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6199, allocations: 382.8 kB / 1.123 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.6202, allocations: 185.3 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.6206, allocations: 327.4 kB / 1.124 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.6211, allocations: 231 kB / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6211, allocations: 0 / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009454/0.6221, allocations: 0.5889 MB / 1.125 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.6222, allocations: 0.5317 MB / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6223, allocations: 4 kB / 1.125 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6223, allocations: 7.984 kB / 1.125 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.6228, allocations: 147.8 kB / 1.125 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6228, allocations: 4 kB / 1.125 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.6234, allocations: 139.4 kB / 1.125 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.6234, allocations: 26.19 kB / 1.125 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.6234, allocations: 4 kB / 1.125 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007908/0.6242, allocations: 475.3 kB / 1.126 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6243, allocations: 4 kB / 1.126 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.6243, allocations: 4 kB / 1.126 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.6246, allocations: 103.8 kB / 1.126 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6247, allocations: 4 kB / 1.126 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.6251, allocations: 103.6 kB / 1.126 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.6251, allocations: 27.98 kB / 1.126 GB, free: 5.496 MB / 0.7292 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.0001201/0.6253, allocations: 123.3 kB / 1.126 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.6253, allocations: 71.16 kB / 1.126 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.6255, allocations: 75.11 kB / 1.126 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.6255, allocations: 11.91 kB / 1.126 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6255, allocations: 0 / 1.126 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6255, allocations: 5.984 kB / 1.126 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.6268, allocations: 1.181 MB / 1.127 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6268, allocations: 7.906 kB / 1.127 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.6274, allocations: 127.9 kB / 1.128 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6274, allocations: 3.938 kB / 1.128 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.6274, allocations: 8 kB / 1.128 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6274, allocations: 4 kB / 1.128 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6274, allocations: 4 kB / 1.128 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009809/0.6284, allocations: 0.8016 MB / 1.128 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6285, allocations: 152 kB / 1.129 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/0.6286, allocations: 8 kB / 1.129 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.629, allocations: 55.95 kB / 1.129 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.629, allocations: 36.5 kB / 1.129 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.6291, allocations: 21.61 kB / 1.129 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003631/0.6295, allocations: 371.2 kB / 1.129 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006085/0.6301, allocations: 293.1 kB / 1.129 GB, free: 2.082 MB / 0.7292 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.0001853/0.6303, allocations: 131.1 kB / 1.129 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.6314, allocations: 0.825 MB / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6314, allocations: 0 / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.6317, allocations: 226.4 kB / 1.13 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.6324, allocations: 137.8 kB / 1.131 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.6341, allocations: 1.034 MB / 1.132 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/0.6347, allocations: 1.073 MB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.6347, allocations: 0 / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.01679/0.6515, allocations: 10.79 MB / 1.143 GB, free: 4.016 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)