Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.021/2.021, allocations: 248.6 MB / 255.9 MB, free: 320 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001758/0.001757, allocations: 189.7 kB / 315.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.1 MB / 0.5658 GB, free: 25.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 90.94 kB / 0.67 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2974/0.2987, allocations: 112.4 MB / 0.7797 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.8564, allocations: 106.2 MB / 0.8834 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.92, allocations: 405 MB / 1.279 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.921, allocations: 86.64 kB / 1.279 GB, free: 15.71 MB / 0.8073 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 2.677/4.597, allocations: 0.541 GB / 1.82 GB, free: 195 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/4.597, allocations: 7.875 kB / 1.82 GB, free: 195 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006644/4.604, allocations: 0.6485 MB / 1.821 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/4.61, allocations: 1.599 MB / 1.822 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/4.61, allocations: 91.48 kB / 1.822 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/4.61, allocations: 56.47 kB / 1.822 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003938/4.614, allocations: 1.096 MB / 1.824 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/4.618, allocations: 1.068 MB / 1.825 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/4.618, allocations: 1.344 kB / 1.825 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/4.618, allocations: 1.281 kB / 1.825 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-05/4.618, allocations: 28.53 kB / 1.825 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/4.637, allocations: 5.463 MB / 1.83 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/4.64, allocations: 0.8474 MB / 1.831 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/4.641, allocations: 485.3 kB / 1.831 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009181/4.642, allocations: 1.076 MB / 1.832 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/4.643, allocations: 0.5461 MB / 1.833 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 5.159e-06/4.644, allocations: 0 / 1.833 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.004116/4.648, allocations: 0.989 MB / 1.834 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/4.648, allocations: 59.75 kB / 1.834 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/4.65, allocations: 1.007 MB / 1.835 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/4.65, allocations: 32.64 kB / 1.835 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/4.651, allocations: 442.9 kB / 1.835 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/4.651, allocations: 202.5 kB / 1.835 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/4.652, allocations: 0 / 1.835 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/4.652, allocations: 336.6 kB / 1.836 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/4.653, allocations: 416.4 kB / 1.836 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/4.654, allocations: 0.6467 MB / 1.837 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/4.656, allocations: 463.6 kB / 1.837 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/4.656, allocations: 1.906 kB / 1.837 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004177/4.66, allocations: 1.116 MB / 1.838 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/4.66, allocations: 7.578 kB / 1.838 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/4.66, allocations: 3.656 kB / 1.838 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/4.66, allocations: 14.53 kB / 1.838 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/4.663, allocations: 284.1 kB / 1.839 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/4.663, allocations: 9.422 kB / 1.839 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/4.666, allocations: 187.4 kB / 1.839 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/4.666, allocations: 65.39 kB / 1.839 GB, free: 185.6 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.0002941/4.666, allocations: 127.3 kB / 1.839 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/4.667, allocations: 130 kB / 1.839 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/4.672, allocations: 1.21 MB / 1.84 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/4.672, allocations: 9 kB / 1.84 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/4.672, allocations: 0.6562 kB / 1.84 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003475/4.676, allocations: 1.032 MB / 1.841 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009396/4.685, allocations: 2.649 MB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/4.685, allocations: 4.469 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/4.688, allocations: 240.5 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/4.688, allocations: 6.734 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/4.688, allocations: 17.94 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/4.688, allocations: 8.984 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/4.688, allocations: 3.672 kB / 1.844 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005527/4.694, allocations: 2.005 MB / 1.846 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007694/4.702, allocations: 3.122 MB / 1.849 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/4.703, allocations: 368.9 kB / 1.85 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/4.703, allocations: 11.14 kB / 1.85 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/4.706, allocations: 147.2 kB / 1.85 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/4.706, allocations: 51.47 kB / 1.85 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/4.706, allocations: 54.17 kB / 1.85 GB, free: 180 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001994/4.708, allocations: 0.7714 MB / 1.851 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004089/4.712, allocations: 0.5734 MB / 1.851 GB, free: 179.3 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.002015/4.714, allocations: 0.6732 MB / 1.852 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003119/4.718, allocations: 0.9115 MB / 1.853 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/4.718, allocations: 4.5 kB / 1.853 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/4.719, allocations: 496.9 kB / 1.853 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005446/4.725, allocations: 0.522 MB / 1.854 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/4.734, allocations: 2.039 MB / 1.856 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/4.736, allocations: 1.401 MB / 1.857 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.015e-06/4.736, allocations: 0.7188 kB / 1.857 GB, free: 176.2 MB / 0.8698 GB