Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") [: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.225/2.225, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001645/0.001644, allocations: 185 kB / 319.6 MB, free: 3.309 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 1.782/1.782, 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.001826/0.001826, allocations: 91.2 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.545e-06/7.564e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2007, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.446/5.646, allocations: 2.187 GB / 3.075 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/5.647, allocations: 82.77 kB / 3.075 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.5434/6.19, allocations: 161.5 MB / 3.233 GB, free: 18.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.043e-05/6.19, allocations: 11.94 kB / 3.233 GB, free: 18.72 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001226/6.191, allocations: 0.6265 MB / 3.233 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/6.192, allocations: 8.031 kB / 3.233 GB, free: 18.04 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/6.193, allocations: 139.4 kB / 3.233 GB, free: 17.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/6.194, allocations: 427.1 kB / 3.234 GB, free: 17.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/6.194, allocations: 8 kB / 3.234 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/6.194, allocations: 12 kB / 3.234 GB, free: 17.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000559/6.195, allocations: 177 kB / 3.234 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/6.195, allocations: 241.8 kB / 3.234 GB, free: 17 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/6.195, allocations: 0 / 3.234 GB, free: 17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/6.195, allocations: 7.938 kB / 3.234 GB, free: 17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/6.196, allocations: 12.5 kB / 3.234 GB, free: 16.98 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/6.198, allocations: 1.253 MB / 3.235 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/6.199, allocations: 195 kB / 3.236 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/6.199, allocations: 76.84 kB / 3.236 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/6.199, allocations: 4.344 kB / 3.236 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/6.199, allocations: 42.41 kB / 3.236 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.836e-06/6.199, allocations: 0 / 3.236 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0009914/6.2, allocations: 229.8 kB / 3.236 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/6.2, allocations: 55.41 kB / 3.236 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/6.2, allocations: 243.5 kB / 3.236 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/6.2, allocations: 33.69 kB / 3.236 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/6.2, allocations: 160.1 kB / 3.236 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/6.201, allocations: 70.94 kB / 3.236 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/6.201, allocations: 0 / 3.236 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/6.201, allocations: 338.8 kB / 3.237 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/6.201, allocations: 55.94 kB / 3.237 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/6.201, allocations: 114.8 kB / 3.237 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/6.201, allocations: 75.91 kB / 3.237 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/6.201, allocations: 0 / 3.237 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000539/6.202, allocations: 221.1 kB / 3.237 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/6.202, allocations: 4 kB / 3.237 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/6.202, allocations: 7.984 kB / 3.237 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/6.202, allocations: 4 kB / 3.237 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/6.202, allocations: 43.92 kB / 3.237 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/6.202, allocations: 0 / 3.237 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/6.203, allocations: 23.94 kB / 3.237 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/6.203, allocations: 12 kB / 3.237 GB, free: 13.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001062/6.203, allocations: 108.9 kB / 3.237 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/6.203, allocations: 35.61 kB / 3.237 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/6.203, allocations: 26.09 kB / 3.237 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/6.203, allocations: 7.984 kB / 3.238 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/6.203, allocations: 0 / 3.238 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/6.203, allocations: 0 / 3.238 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/6.204, allocations: 365.8 kB / 3.238 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/6.204, allocations: 0 / 3.238 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/6.204, allocations: 35.98 kB / 3.238 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/6.205, allocations: 44.83 kB / 3.238 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/6.205, allocations: 0 / 3.238 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/6.206, allocations: 1.373 MB / 3.239 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/6.206, allocations: 0 / 3.239 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008198/6.207, allocations: 387.8 kB / 3.24 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/6.207, allocations: 136.6 kB / 3.24 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/6.207, allocations: 7.938 kB / 3.24 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/6.208, allocations: 7.906 kB / 3.24 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/6.208, allocations: 7.984 kB / 3.24 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/6.208, allocations: 11.98 kB / 3.24 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002782/6.208, allocations: 195.1 kB / 3.24 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007818/6.209, allocations: 147.8 kB / 3.24 GB, free: 10.47 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/6.21, allocations: 0.8233 MB / 3.241 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004475/6.211, allocations: 144 kB / 3.241 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/6.211, allocations: 4 kB / 3.241 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/6.211, allocations: 178.1 kB / 3.241 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/6.213, allocations: 168.4 kB / 3.241 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/6.214, allocations: 0.5545 MB / 3.242 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/6.215, allocations: 0.8342 MB / 3.243 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/6.215, allocations: 0 / 3.243 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of Templates: time 0.3643/6.579, allocations: 9.608 MB / 3.252 GB, free: 359.1 MB / 0.8698 GB