Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [: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.546/2.546, allocations: 253.1 MB / 260.4 MB, free: 0.5 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.001761/0.00176, allocations: 179.4 kB / 319.6 MB, free: 7.617 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.187/2.187, allocations: 205.4 MB / 0.5704 GB, free: 25.53 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.002054/0.002054, allocations: 107.6 kB / 0.6746 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.103e-05, allocations: 0 / 0.7843 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6043, allocations: 106.2 MB / 0.888 GB, free: 77.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.606, allocations: 405 MB / 1.284 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/1.606, allocations: 90.75 kB / 1.284 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.91/4.516, allocations: 0.5394 GB / 1.823 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002661/4.516, allocations: 32.06 kB / 1.823 GB, free: 197.6 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006194/4.522, allocations: 1.626 MB / 1.825 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/4.522, allocations: 10 kB / 1.825 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006978/4.529, allocations: 0.6556 MB / 1.825 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006197/4.536, allocations: 1.593 MB / 1.827 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/4.536, allocations: 89.09 kB / 1.827 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/4.536, allocations: 57.06 kB / 1.827 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003943/4.54, allocations: 1.093 MB / 1.828 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/4.544, allocations: 1.074 MB / 1.829 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/4.544, allocations: 4.688 kB / 1.829 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/4.544, allocations: 0 / 1.829 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.188e-05/4.544, allocations: 31.66 kB / 1.829 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/4.56, allocations: 5.461 MB / 1.834 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/4.562, allocations: 0.8429 MB / 1.835 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/4.564, allocations: 490.3 kB / 1.836 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000918/4.565, allocations: 1.071 MB / 1.837 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/4.566, allocations: 0.5452 MB / 1.837 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/4.566, allocations: 3.812 kB / 1.837 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.003862/4.57, allocations: 0.9925 MB / 1.838 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/4.57, allocations: 55.41 kB / 1.838 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/4.572, allocations: 1.01 MB / 1.839 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002961/4.573, allocations: 29.58 kB / 1.839 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000501/4.573, allocations: 448.1 kB / 1.84 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/4.574, allocations: 196.4 kB / 1.84 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/4.574, allocations: 0 / 1.84 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/4.574, allocations: 333.4 kB / 1.84 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/4.575, allocations: 415.2 kB / 1.841 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/4.576, allocations: 0.646 MB / 1.841 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/4.578, allocations: 461.1 kB / 1.842 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/4.578, allocations: 3.469 kB / 1.842 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004346/4.583, allocations: 1.116 MB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/4.583, allocations: 7.906 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/4.583, allocations: 3.969 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/4.583, allocations: 14.64 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/4.586, allocations: 285.3 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/4.586, allocations: 12.05 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/4.589, allocations: 188.5 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/4.589, allocations: 63.73 kB / 1.843 GB, free: 188.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003144/4.59, allocations: 128.6 kB / 1.844 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/4.59, allocations: 126 kB / 1.844 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/4.595, allocations: 1.208 MB / 1.845 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/4.595, allocations: 11.64 kB / 1.845 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/4.595, allocations: 0 / 1.845 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003326/4.598, allocations: 1.031 MB / 1.846 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008375/4.607, allocations: 2.655 MB / 1.848 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/4.607, allocations: 3.906 kB / 1.848 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/4.609, allocations: 239.3 kB / 1.849 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/4.609, allocations: 3.938 kB / 1.849 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/4.609, allocations: 19.8 kB / 1.849 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/4.61, allocations: 8.219 kB / 1.849 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/4.61, allocations: 3.312 kB / 1.849 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005615/4.615, allocations: 2.007 MB / 1.851 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/4.617, allocations: 373 kB / 1.851 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/4.617, allocations: 6.969 kB / 1.851 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/4.62, allocations: 155 kB / 1.851 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/4.62, allocations: 48.98 kB / 1.851 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/4.62, allocations: 50.56 kB / 1.851 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001857/4.622, allocations: 0.7725 MB / 1.852 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002914/4.625, allocations: 492.7 kB / 1.853 GB, free: 184.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002052/4.627, allocations: 0.6688 MB / 1.853 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002619/4.63, allocations: 0.9126 MB / 1.854 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/4.63, allocations: 0 / 1.854 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/4.631, allocations: 0.4954 MB / 1.855 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/4.637, allocations: 0.5199 MB / 1.855 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/4.646, allocations: 2.039 MB / 1.857 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/4.649, allocations: 1.403 MB / 1.858 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.764e-06/4.649, allocations: 0 / 1.858 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.07008/4.719, allocations: 25.67 MB / 1.883 GB, free: 160.9 MB / 0.8698 GB