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.LimPIDInitialDerivativeOutput.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.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") [: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.303/2.303, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001715/0.001714, allocations: 185.8 kB / 319.6 MB, free: 3.32 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.142/2.142, 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.002505/0.002505, allocations: 83.47 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.533e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7533/0.9985, allocations: 134 MB / 1.019 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.9989, allocations: 73.89 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04073/1.04, allocations: 7.601 MB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.749e-05/1.04, allocations: 8 kB / 1.026 GB, free: 14.01 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001558/1.041, allocations: 0.6379 MB / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.041, allocations: 8.031 kB / 1.027 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/1.042, allocations: 62.52 kB / 1.027 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.043, allocations: 394 kB / 1.028 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/1.043, allocations: 12 kB / 1.028 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/1.043, allocations: 20 kB / 1.028 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007404/1.044, allocations: 217.2 kB / 1.028 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/1.045, allocations: 306.9 kB / 1.028 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.045, allocations: 0 / 1.028 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/1.045, allocations: 0 / 1.028 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/1.045, allocations: 19.91 kB / 1.028 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/1.048, allocations: 1.322 MB / 1.029 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.049, allocations: 263.2 kB / 1.03 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/1.049, allocations: 98.61 kB / 1.03 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/1.049, allocations: 7.984 kB / 1.03 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.049, allocations: 34.56 kB / 1.03 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.277e-06/1.049, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0007077/1.05, allocations: 213.9 kB / 1.03 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/1.05, allocations: 106.8 kB / 1.03 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/1.051, allocations: 282.8 kB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/1.051, allocations: 25.7 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/1.051, allocations: 199.2 kB / 1.031 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/1.051, allocations: 81 kB / 1.031 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/1.051, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.051, allocations: 356.6 kB / 1.031 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.052, allocations: 82.94 kB / 1.031 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/1.052, allocations: 150.2 kB / 1.031 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/1.052, allocations: 90.77 kB / 1.031 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.052, allocations: 4 kB / 1.031 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007914/1.053, allocations: 285.8 kB / 1.032 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/1.054, allocations: 446.3 kB / 1.032 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.054, allocations: 0 / 1.032 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.054, allocations: 7.906 kB / 1.032 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.054, allocations: 71.72 kB / 1.032 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.054, allocations: 7.984 kB / 1.032 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.055, allocations: 43.77 kB / 1.032 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/1.055, allocations: 8 kB / 1.032 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.055, allocations: 4 kB / 1.032 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005887/1.055, allocations: 196.5 kB / 1.032 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.055, allocations: 0 / 1.032 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.055, allocations: 7.906 kB / 1.032 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/1.056, allocations: 55.91 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/1.056, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/1.056, allocations: 31.92 kB / 1.032 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/1.056, allocations: 15.12 kB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001548/1.056, allocations: 104.9 kB / 1.032 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.057, allocations: 35.53 kB / 1.033 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/1.057, allocations: 40.88 kB / 1.033 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/1.057, allocations: 4 kB / 1.033 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.057, allocations: 0 / 1.033 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.057, allocations: 0 / 1.033 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/1.059, allocations: 0.7768 MB / 1.033 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.059, allocations: 8 kB / 1.033 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/1.059, allocations: 52.19 kB / 1.033 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/1.059, allocations: 11.91 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/1.059, allocations: 7.5 kB / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/1.059, allocations: 4 kB / 1.033 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.059, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/1.061, allocations: 0.5733 MB / 1.034 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.061, allocations: 116.3 kB / 1.034 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/1.061, allocations: 4 kB / 1.034 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/1.061, allocations: 27.97 kB / 1.034 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/1.061, allocations: 19.83 kB / 1.034 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.061, allocations: 8 kB / 1.034 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003857/1.062, allocations: 224.4 kB / 1.034 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007767/1.063, allocations: 131.3 kB / 1.034 GB, free: 6.633 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,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0002431/1.063, allocations: 115.1 kB / 1.035 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009581/1.064, allocations: 323.8 kB / 1.035 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.064, allocations: 0 / 1.035 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/1.064, allocations: 98.8 kB / 1.035 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/1.065, allocations: 70.33 kB / 1.035 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/1.067, allocations: 0.5632 MB / 1.036 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.068, allocations: 0.8534 MB / 1.036 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.068, allocations: 3.938 kB / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of Templates: time 0.01693/1.085, allocations: 4.687 MB / 1.041 GB, free: 100 kB / 0.6511 GB