Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") [: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.187/2.187, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001651/0.001651, allocations: 190.2 kB / 319.6 MB, free: 3.277 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.068/2.068, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001402/0.001401, allocations: 94.39 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.238e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.678/0.8846, allocations: 139.8 MB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.8851, allocations: 75.27 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1199/1.005, allocations: 16.49 MB / 1.041 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001207/1.005, allocations: 27.88 kB / 1.041 GB, free: 0.8828 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003574/1.009, allocations: 0.9524 MB / 1.042 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.009, allocations: 8.031 kB / 1.042 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/1.009, allocations: 94.88 kB / 1.042 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/1.012, allocations: 0.5966 MB / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/1.012, allocations: 92.33 kB / 1.043 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.012, allocations: 28 kB / 1.043 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/1.014, allocations: 335.3 kB / 1.043 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.016, allocations: 0.5098 MB / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/1.017, allocations: 0 / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/1.017, allocations: 4 kB / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/1.017, allocations: 12.84 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006714/1.023, allocations: 2.107 MB / 1.045 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.025, allocations: 409.8 kB / 1.046 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/1.026, allocations: 160.3 kB / 1.046 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-05/1.026, allocations: 6.156 kB / 1.046 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/1.027, allocations: 221.8 kB / 1.046 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 4.459e-06/1.027, allocations: 4.328 kB / 1.046 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001746/1.029, allocations: 388.2 kB / 1.047 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/1.029, allocations: 191.3 kB / 1.047 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/1.03, allocations: 480.5 kB / 1.047 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/1.031, allocations: 28.58 kB / 1.047 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/1.031, allocations: 258.3 kB / 1.047 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/1.031, allocations: 150.4 kB / 1.048 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/1.031, allocations: 0 / 1.048 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002981/1.032, allocations: 378.1 kB / 1.048 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/1.032, allocations: 146.2 kB / 1.048 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/1.033, allocations: 259.5 kB / 1.048 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/1.034, allocations: 173 kB / 1.049 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.034, allocations: 0 / 1.049 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001965/1.036, allocations: 474 kB / 1.049 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006009/1.037, allocations: 0.9573 MB / 1.05 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.037, allocations: 8.062 kB / 1.05 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/1.037, allocations: 4 kB / 1.05 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/1.038, allocations: 131.2 kB / 1.05 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/1.038, allocations: 8 kB / 1.05 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.04, allocations: 75.48 kB / 1.05 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/1.04, allocations: 19.19 kB / 1.05 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.04, allocations: 4 kB / 1.05 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/1.041, allocations: 366.1 kB / 1.051 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.041, allocations: 8.031 kB / 1.051 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.041, allocations: 4 kB / 1.051 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.042, allocations: 117.8 kB / 1.051 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.042, allocations: 8 kB / 1.051 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.043, allocations: 67.56 kB / 1.051 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/1.043, allocations: 19.55 kB / 1.051 GB, free: 8.059 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002816/1.044, allocations: 124.1 kB / 1.051 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/1.044, allocations: 71.06 kB / 1.051 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/1.044, allocations: 68.88 kB / 1.051 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.044, allocations: 4 kB / 1.051 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.044, allocations: 3.938 kB / 1.051 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.044, allocations: 3.984 kB / 1.051 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.045, allocations: 0.5769 MB / 1.052 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/1.045, allocations: 4 kB / 1.052 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.046, allocations: 95.45 kB / 1.052 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/1.047, allocations: 4 kB / 1.052 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/1.047, allocations: 3.984 kB / 1.052 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.047, allocations: 4 kB / 1.052 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.047, allocations: 0 / 1.052 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0019/1.049, allocations: 0.6167 MB / 1.052 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/1.049, allocations: 201.8 kB / 1.052 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.049, allocations: 15.75 kB / 1.052 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.05, allocations: 63.94 kB / 1.053 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/1.051, allocations: 27.45 kB / 1.053 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/1.051, allocations: 20.05 kB / 1.053 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000748/1.051, allocations: 363.1 kB / 1.053 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001225/1.053, allocations: 215.1 kB / 1.053 GB, free: 6.031 MB / 0.6667 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,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002911/1.053, allocations: 111.2 kB / 1.053 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.055, allocations: 0.6537 MB / 1.054 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.055, allocations: 1.25 kB / 1.054 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/1.056, allocations: 181 kB / 1.054 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.057, allocations: 164.5 kB / 1.054 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/1.061, allocations: 0.891 MB / 1.055 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.062, allocations: 0.9812 MB / 1.056 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of SimCode: time 1.813e-06/1.062, allocations: 3.938 kB / 1.056 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of Templates: time 0.03542/1.098, allocations: 10.68 MB / 1.066 GB, free: 8.805 MB / 0.6823 GB