Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") [: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.323/2.323, allocations: 253.1 MB / 260.4 MB, free: 7.449 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.001584/0.001584, allocations: 184.5 kB / 319.6 MB, free: 3.316 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.053/2.053, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00182/0.00182, allocations: 83.41 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/8.877e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2788, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6719/0.9507, allocations: 140.2 MB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.9511, allocations: 78.89 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.09783/1.049, allocations: 19.43 MB / 1.044 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001736/1.049, allocations: 32.11 kB / 1.044 GB, free: 14.12 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004564/1.054, allocations: 1.094 MB / 1.045 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/1.054, allocations: 8.031 kB / 1.045 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/1.055, allocations: 129.9 kB / 1.045 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/1.058, allocations: 0.7347 MB / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/1.059, allocations: 59.7 kB / 1.046 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/1.059, allocations: 43.91 kB / 1.046 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00231/1.061, allocations: 448.3 kB / 1.046 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/1.064, allocations: 0.6214 MB / 1.047 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/1.064, allocations: 4 kB / 1.047 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/1.064, allocations: 3.938 kB / 1.047 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/1.064, allocations: 16 kB / 1.047 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00852/1.073, allocations: 2.21 MB / 1.049 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/1.076, allocations: 0.5354 MB / 1.05 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009018/1.077, allocations: 214.1 kB / 1.05 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/1.077, allocations: 8.5 kB / 1.05 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.078, allocations: 267.3 kB / 1.05 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 5.46e-06/1.078, allocations: 7.938 kB / 1.05 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.002292/1.08, allocations: 496.6 kB / 1.051 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.08, allocations: 145 kB / 1.051 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/1.082, allocations: 0.5521 MB / 1.051 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/1.082, allocations: 29.64 kB / 1.051 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/1.083, allocations: 297.6 kB / 1.052 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/1.083, allocations: 199.5 kB / 1.052 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/1.083, allocations: 0 / 1.052 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.084, allocations: 329.6 kB / 1.052 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/1.084, allocations: 169.4 kB / 1.052 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.086, allocations: 283.3 kB / 1.053 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/1.086, allocations: 199.7 kB / 1.053 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/1.087, allocations: 4 kB / 1.053 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00265/1.089, allocations: 0.5585 MB / 1.053 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005637/1.09, allocations: 0.8754 MB / 1.054 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.09, allocations: 8 kB / 1.054 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/1.09, allocations: 4 kB / 1.054 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.092, allocations: 159.5 kB / 1.054 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/1.092, allocations: 4 kB / 1.054 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.094, allocations: 71.48 kB / 1.055 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.094, allocations: 35.41 kB / 1.055 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.094, allocations: 4 kB / 1.055 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001829/1.096, allocations: 445.5 kB / 1.055 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.096, allocations: 0 / 1.055 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.096, allocations: 8 kB / 1.055 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.098, allocations: 158 kB / 1.055 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/1.098, allocations: 7.938 kB / 1.055 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.1, allocations: 59.56 kB / 1.055 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.1, allocations: 25.73 kB / 1.055 GB, free: 4.531 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003623/1.1, allocations: 116.9 kB / 1.055 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/1.101, allocations: 90.86 kB / 1.055 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/1.101, allocations: 93.62 kB / 1.056 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.101, allocations: 12 kB / 1.056 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.101, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.101, allocations: 7.922 kB / 1.056 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/1.106, allocations: 1.312 MB / 1.057 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.106, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.108, allocations: 119.6 kB / 1.057 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.108, allocations: 4 kB / 1.057 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/1.108, allocations: 4 kB / 1.057 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.108, allocations: 0 / 1.057 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.108, allocations: 0 / 1.057 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003223/1.111, allocations: 0.8747 MB / 1.058 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/1.112, allocations: 221.4 kB / 1.058 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.112, allocations: 11.64 kB / 1.058 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.114, allocations: 47.95 kB / 1.058 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.114, allocations: 31.7 kB / 1.058 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.114, allocations: 18.73 kB / 1.058 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001243/1.115, allocations: 437.3 kB / 1.059 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001905/1.117, allocations: 270.8 kB / 1.059 GB, free: 1.652 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0003266/1.118, allocations: 107.2 kB / 1.059 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003048/1.121, allocations: 0.7466 MB / 1.06 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.121, allocations: 1 kB / 1.06 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/1.122, allocations: 244.9 kB / 1.06 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.125, allocations: 213.4 kB / 1.06 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/1.131, allocations: 1.17 MB / 1.061 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.132, allocations: 1.084 MB / 1.062 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/1.133, allocations: 4 kB / 1.062 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.05231/1.185, allocations: 12.86 MB / 1.075 GB, free: 1.801 MB / 0.6823 GB