Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [: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 1.98/1.98, allocations: 253.1 MB / 260.4 MB, free: 11.45 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 187.2 kB / 319.6 MB, free: 2.152 MB / 242.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 0.5704 GB, free: 8 MB / 434.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 86.48 kB / 0.6746 GB, free: 21.52 MB / 466.8 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.278e-06, allocations: 0 / 0.7843 GB, free: 5.113 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5825, allocations: 106.2 MB / 0.888 GB, free: 64.79 MB / 0.5965 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2159/0.7985, allocations: 131.4 MB / 1.016 GB, free: 8.547 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.7989, allocations: 91.92 kB / 1.016 GB, free: 8.457 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.003168/0.8021, allocations: 0.5289 MB / 1.017 GB, free: 7.934 MB / 0.659 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8022, allocations: 4.5 kB / 1.017 GB, free: 7.93 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003719/0.8025, allocations: 327.3 kB / 1.017 GB, free: 7.566 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.8026, allocations: 12.02 kB / 1.017 GB, free: 7.555 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.8027, allocations: 0 / 1.017 GB, free: 7.555 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.8029, allocations: 170.9 kB / 1.017 GB, free: 7.348 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.8029, allocations: 0 / 1.017 GB, free: 7.348 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.8029, allocations: 0 / 1.017 GB, free: 7.348 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.134e-05/0.803, allocations: 15.94 kB / 1.018 GB, free: 7.332 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.8031, allocations: 41.62 kB / 1.018 GB, free: 7.285 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.8031, allocations: 3.938 kB / 1.018 GB, free: 7.281 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8032, allocations: 0 / 1.018 GB, free: 7.281 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8032, allocations: 4 kB / 1.018 GB, free: 7.277 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.8036, allocations: 229.4 kB / 1.018 GB, free: 7.016 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 6.734e-05/0.8037, allocations: 26.61 kB / 1.018 GB, free: 6.98 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.8038, allocations: 16.92 kB / 1.018 GB, free: 6.961 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.8038, allocations: 0 / 1.018 GB, free: 6.961 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.8038, allocations: 38.5 kB / 1.018 GB, free: 6.914 MB / 0.659 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.8038, allocations: 0 / 1.018 GB, free: 6.914 MB / 0.659 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.804, allocations: 41.61 kB / 1.018 GB, free: 6.867 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.8041, allocations: 51.41 kB / 1.018 GB, free: 6.805 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.8042, allocations: 96.98 kB / 1.018 GB, free: 6.703 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.8042, allocations: 25.7 kB / 1.018 GB, free: 6.672 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.8043, allocations: 88.17 kB / 1.018 GB, free: 6.582 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.8043, allocations: 7.906 kB / 1.018 GB, free: 6.574 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8043, allocations: 0 / 1.018 GB, free: 6.574 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8044, allocations: 310.8 kB / 1.018 GB, free: 6.262 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.8045, allocations: 7.984 kB / 1.018 GB, free: 6.254 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.8045, allocations: 8 kB / 1.018 GB, free: 6.246 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.8045, allocations: 0 / 1.018 GB, free: 6.246 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8045, allocations: 0 / 1.018 GB, free: 6.246 MB / 0.659 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001057/0.8046, allocations: 53.61 kB / 1.019 GB, free: 6.188 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.8047, allocations: 4 kB / 1.019 GB, free: 6.184 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8047, allocations: 0 / 1.019 GB, free: 6.184 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8047, allocations: 0 / 1.019 GB, free: 6.184 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8048, allocations: 11.98 kB / 1.019 GB, free: 6.172 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8048, allocations: 0 / 1.019 GB, free: 6.172 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.8049, allocations: 0 / 1.019 GB, free: 6.172 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.8049, allocations: 4 kB / 1.019 GB, free: 6.168 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.054e-05/0.805, allocations: 105 kB / 1.019 GB, free: 6.059 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.8051, allocations: 3.906 kB / 1.019 GB, free: 6.055 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.8051, allocations: 19.56 kB / 1.019 GB, free: 6.039 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8051, allocations: 0 / 1.019 GB, free: 6.039 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.8052, allocations: 0 / 1.019 GB, free: 6.039 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.8052, allocations: 3.938 kB / 1.019 GB, free: 6.035 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.8054, allocations: 134.1 kB / 1.019 GB, free: 5.867 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8054, allocations: 256 / 1.019 GB, free: 5.867 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.8055, allocations: 8 kB / 1.019 GB, free: 5.859 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.8055, allocations: 11.98 kB / 1.019 GB, free: 5.848 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8055, allocations: 0 / 1.019 GB, free: 5.848 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8055, allocations: 0 / 1.019 GB, free: 5.848 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8055, allocations: 0 / 1.019 GB, free: 5.848 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001452/0.8057, allocations: 151.3 kB / 1.019 GB, free: 5.684 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.8057, allocations: 81.09 kB / 1.019 GB, free: 5.586 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8057, allocations: 0 / 1.019 GB, free: 5.586 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8059, allocations: 8.031 kB / 1.019 GB, free: 5.578 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.8059, allocations: 0 / 1.019 GB, free: 5.578 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.8059, allocations: 3.906 kB / 1.019 GB, free: 5.574 MB / 0.659 GB Notification: Performance of sort global known variables: time 4.905e-05/0.806, allocations: 87.27 kB / 1.019 GB, free: 5.488 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002837/0.8063, allocations: 4 kB / 1.019 GB, free: 5.484 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001256/0.8064, allocations: 95.25 kB / 1.019 GB, free: 5.383 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 9.706e-05/0.8065, allocations: 12 kB / 1.019 GB, free: 5.371 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8065, allocations: 4.062 kB / 1.019 GB, free: 5.367 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.8066, allocations: 7.938 kB / 1.019 GB, free: 5.359 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.8067, allocations: 4 kB / 1.019 GB, free: 5.355 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.807, allocations: 55.92 kB / 1.019 GB, free: 5.277 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.8074, allocations: 0.688 MB / 1.02 GB, free: 4.562 MB / 0.659 GB Notification: Performance of SimCode: time 6.71e-07/0.8074, allocations: 0 / 1.02 GB, free: 4.562 MB / 0.659 GB Notification: Performance of Templates: time 0.002676/0.8101, allocations: 331.3 kB / 1.02 GB, free: 4.266 MB / 0.659 GB