Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") [: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 7.0.1/package.mo): time 2.14/2.14, allocations: 253.1 MB / 260.4 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002858/0.002858, allocations: 189.2 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 94.5 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.921e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 106.3 MB / 0.8881 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7511/1.013, allocations: 134 MB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.013, allocations: 79.38 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03308/1.047, allocations: 7.67 MB / 1.027 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.236e-05/1.047, allocations: 16 kB / 1.027 GB, free: 13.86 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001424/1.048, allocations: 0.6459 MB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.048, allocations: 12.03 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/1.048, allocations: 51.34 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009479/1.049, allocations: 377.1 kB / 1.028 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.049, allocations: 16 kB / 1.028 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/1.049, allocations: 24 kB / 1.028 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007647/1.05, allocations: 226.4 kB / 1.028 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/1.051, allocations: 339 kB / 1.028 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.051, allocations: 0 / 1.028 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/1.051, allocations: 8 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/1.051, allocations: 8 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/1.055, allocations: 1.524 MB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/1.056, allocations: 268.6 kB / 1.03 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/1.057, allocations: 112.4 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/1.057, allocations: 7.938 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/1.057, allocations: 34.31 kB / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 8.416e-06/1.057, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.001162/1.058, allocations: 216.8 kB / 1.03 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/1.058, allocations: 106.8 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/1.059, allocations: 290.8 kB / 1.031 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/1.059, allocations: 25.7 kB / 1.031 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/1.059, allocations: 210.5 kB / 1.031 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.059, allocations: 80.59 kB / 1.031 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/1.059, allocations: 0 / 1.031 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.059, allocations: 343.1 kB / 1.031 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/1.06, allocations: 84.11 kB / 1.031 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/1.06, allocations: 159.4 kB / 1.032 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/1.06, allocations: 92.84 kB / 1.032 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.06, allocations: 0 / 1.032 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008354/1.061, allocations: 287.8 kB / 1.032 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000288/1.062, allocations: 0.5244 MB / 1.032 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.062, allocations: 4 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.062, allocations: 7.938 kB / 1.032 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.062, allocations: 75.7 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.062, allocations: 4 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/1.063, allocations: 47.67 kB / 1.033 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.063, allocations: 8 kB / 1.033 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.063, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006083/1.063, allocations: 205.5 kB / 1.033 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.063, allocations: 4 kB / 1.033 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.064, allocations: 4 kB / 1.033 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/1.064, allocations: 55.42 kB / 1.033 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.064, allocations: 3.906 kB / 1.033 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/1.064, allocations: 35.95 kB / 1.033 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/1.064, allocations: 11.25 kB / 1.033 GB, free: 8.113 MB / 0.6511 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 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001808/1.065, allocations: 108.9 kB / 1.033 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.065, allocations: 35.58 kB / 1.033 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/1.065, allocations: 37.98 kB / 1.033 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.065, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.065, allocations: 8 kB / 1.033 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.065, allocations: 3.984 kB / 1.033 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/1.067, allocations: 0.7755 MB / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.067, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/1.067, allocations: 55.91 kB / 1.034 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/1.068, allocations: 4 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/1.068, allocations: 4.281 kB / 1.034 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/1.068, allocations: 15.92 kB / 1.034 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.068, allocations: 4 kB / 1.034 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/1.069, allocations: 0.5785 MB / 1.034 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/1.069, allocations: 116.2 kB / 1.035 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/1.069, allocations: 7.984 kB / 1.035 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/1.07, allocations: 23.98 kB / 1.035 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/1.07, allocations: 19.7 kB / 1.035 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/1.07, allocations: 8 kB / 1.035 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004077/1.07, allocations: 223.2 kB / 1.035 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008881/1.071, allocations: 131.4 kB / 1.035 GB, free: 6.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0002556/1.071, allocations: 119.1 kB / 1.035 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.072, allocations: 340.7 kB / 1.035 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.072, allocations: 0 / 1.035 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/1.073, allocations: 99.47 kB / 1.035 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/1.073, allocations: 84.83 kB / 1.036 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/1.075, allocations: 0.5488 MB / 1.036 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/1.076, allocations: 0.8502 MB / 1.037 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of SimCode: time 1.473e-06/1.076, allocations: 4 kB / 1.037 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of Templates: time 0.02577/1.102, allocations: 4.722 MB / 1.042 GB, free: 15.52 MB / 0.6667 GB