Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.422/4.422, allocations: 403.9 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2784/4.7, allocations: 95 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/5.209, allocations: 92.68 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/6.237, allocations: 399.1 MB / 0.9743 GB, free: 32.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/6.238, allocations: 90.2 kB / 0.9744 GB, free: 32.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1426 * Number of variables: 1426 Notification: Performance of Generate backend data structure: time 12.65/18.88, allocations: 2.273 GB / 3.247 GB, free: 99.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/18.88, allocations: 10.03 kB / 3.247 GB, free: 99.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/18.9, allocations: 1.296 MB / 3.248 GB, free: 99.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06546/18.96, allocations: 14.09 MB / 3.262 GB, free: 97.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/18.96, allocations: 178.5 kB / 3.262 GB, free: 97.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/18.97, allocations: 355 kB / 3.262 GB, free: 97.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05119/19.02, allocations: 18.19 MB / 3.28 GB, free: 97.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04445/19.06, allocations: 12.98 MB / 3.293 GB, free: 96.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00037/19.06, allocations: 27 kB / 3.293 GB, free: 96.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003808/19.07, allocations: 16.19 kB / 3.293 GB, free: 96.63 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/19.07, allocations: 144.8 kB / 3.293 GB, free: 96.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2044/19.27, allocations: 63.59 MB / 3.355 GB, free: 74.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/19.29, allocations: 8.579 MB / 3.364 GB, free: 74.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02392/19.32, allocations: 9.604 MB / 3.373 GB, free: 74.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07066/19.39, allocations: 24.99 MB / 3.397 GB, free: 65.37 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02485/19.41, allocations: 8.47 MB / 3.406 GB, free: 62.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=362): time 1.248e-05/19.41, allocations: 3.609 kB / 3.406 GB, free: 62.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=383): time 0.1812/19.6, allocations: 37.46 MB / 3.442 GB, free: 31.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/19.6, allocations: 222.9 kB / 3.442 GB, free: 31.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0174/19.61, allocations: 6.162 MB / 3.448 GB, free: 26.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.002798/19.62, allocations: 33.7 kB / 3.448 GB, free: 26.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004734/19.62, allocations: 2.419 MB / 3.451 GB, free: 24.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007687/19.63, allocations: 1.302 MB / 3.452 GB, free: 22.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002883/19.63, allocations: 0.9375 kB / 3.452 GB, free: 22.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0005997/19.63, allocations: 0.5053 MB / 3.453 GB, free: 22.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02635/19.66, allocations: 7.152 MB / 3.46 GB, free: 16.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02153/19.68, allocations: 8.866 MB / 3.468 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02614/19.71, allocations: 8.223 MB / 3.476 GB, free: 1.238 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.3e-05/19.71, allocations: 19.61 kB / 3.476 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of matching and sorting (n=626) (initialization): time 0.5306/20.24, allocations: 19.45 MB / 3.495 GB, free: 188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005295/20.24, allocations: 22.86 MB / 3.518 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/20.24, allocations: 42.62 kB / 3.518 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/20.26, allocations: 2.146 MB / 3.52 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02348/20.28, allocations: 1.66 MB / 3.521 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04219/20.32, allocations: 6.114 MB / 3.527 GB, free: 162.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02522/20.35, allocations: 426.9 kB / 3.528 GB, free: 162.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004067/20.35, allocations: 0.5688 MB / 3.528 GB, free: 162.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/20.35, allocations: 5.094 kB / 3.528 GB, free: 162.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0638/20.42, allocations: 17.3 MB / 3.545 GB, free: 162.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/20.42, allocations: 43.28 kB / 3.545 GB, free: 162.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/20.43, allocations: 1.698 MB / 3.547 GB, free: 162.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02337/20.45, allocations: 1.653 MB / 3.548 GB, free: 162.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02711/20.48, allocations: 8.262 MB / 3.557 GB, free: 159.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02298/20.5, allocations: 370.7 kB / 3.557 GB, free: 159.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003839/20.51, allocations: 0.5574 MB / 3.557 GB, free: 159.4 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 567 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005401/20.51, allocations: 258.2 kB / 3.558 GB, free: 159.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005327/20.52, allocations: 0.6945 MB / 3.558 GB, free: 159.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1089/20.63, allocations: 18.92 MB / 3.577 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001689/20.63, allocations: 54.39 kB / 3.577 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/20.63, allocations: 0.7812 kB / 3.577 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07152/20.7, allocations: 13.47 MB / 3.59 GB, free: 158.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1194/20.82, allocations: 27.9 MB / 3.617 GB, free: 154.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.068e-05/20.82, allocations: 12.22 kB / 3.617 GB, free: 154.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01125/20.83, allocations: 0.5169 MB / 3.618 GB, free: 154.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0121/20.84, allocations: 2.491 MB / 3.62 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001969/20.84, allocations: 100.2 kB / 3.62 GB, free: 154.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1102/20.95, allocations: 25.21 MB / 3.645 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/20.95, allocations: 17.72 kB / 3.645 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09379/21.05, allocations: 24.49 MB / 3.669 GB, free: 137.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1137/21.16, allocations: 33.14 MB / 3.701 GB, free: 126.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01039/21.17, allocations: 2.012 MB / 3.703 GB, free: 125.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005097/21.18, allocations: 31.91 kB / 3.703 GB, free: 125.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0192/21.2, allocations: 384.4 kB / 3.704 GB, free: 125.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002436/21.2, allocations: 292.2 kB / 3.704 GB, free: 125.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00212/21.2, allocations: 213.6 kB / 3.704 GB, free: 125.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.01417/21.21, allocations: 4.709 MB / 3.709 GB, free: 123.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.03768/21.25, allocations: 4.503 MB / 3.713 GB, free: 123.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {2 5,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005384/21.26, allocations: 1.191 MB / 3.714 GB, free: 123.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.1012/21.36, allocations: 25.91 MB / 3.74 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-05/21.36, allocations: 5 kB / 3.74 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.04034/21.4, allocations: 7.982 MB / 3.747 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04278/21.44, allocations: 3.954 MB / 3.751 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09301/21.54, allocations: 19.25 MB / 3.77 GB, free: 84.37 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02323/21.56, allocations: 6.618 MB / 3.776 GB, free: 79.51 MB / 0.823 GB Notification: Performance of SimCode: time 1.883e-06/21.56, allocations: 0.5469 kB / 3.776 GB, free: 79.51 MB / 0.823 GB