Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.169/4.169, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.314/4.483, allocations: 95.01 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/5.02, allocations: 92.68 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/6.072, allocations: 416.8 MB / 0.9916 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/6.073, allocations: 95.44 kB / 0.9917 GB, free: 16.16 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: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 7.48/13.55, allocations: 1.35 GB / 2.342 GB, free: 67.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/13.55, allocations: 11.12 kB / 2.342 GB, free: 67.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/13.57, allocations: 1.415 MB / 2.344 GB, free: 66.85 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1185/13.69, allocations: 27.25 MB / 2.37 GB, free: 65.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/13.69, allocations: 71.81 kB / 2.37 GB, free: 65.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/13.69, allocations: 145.7 kB / 2.37 GB, free: 65.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008707/13.7, allocations: 1.945 MB / 2.372 GB, free: 65.17 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/13.71, allocations: 2.378 MB / 2.375 GB, free: 64.71 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.229e-05/13.71, allocations: 6.469 kB / 2.375 GB, free: 64.71 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005382/13.71, allocations: 9.375 kB / 2.375 GB, free: 64.71 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/13.71, allocations: 59.94 kB / 2.375 GB, free: 64.71 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/13.74, allocations: 12.66 MB / 2.387 GB, free: 58.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006216/13.75, allocations: 2.03 MB / 2.389 GB, free: 57.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/13.75, allocations: 0.8347 MB / 2.39 GB, free: 57.92 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/13.77, allocations: 3.648 MB / 2.393 GB, free: 56.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/13.77, allocations: 57.08 kB / 2.393 GB, free: 56.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=115): time 4.879e-06/13.77, allocations: 0 / 2.393 GB, free: 56.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=115): time 0.02743/13.79, allocations: 3.07 MB / 2.396 GB, free: 55.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/13.79, allocations: 119.7 kB / 2.397 GB, free: 55.64 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/13.81, allocations: 2.615 MB / 2.399 GB, free: 55.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009186/13.81, allocations: 29.64 kB / 2.399 GB, free: 55.31 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/13.81, allocations: 1.069 MB / 2.4 GB, free: 54.79 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/13.81, allocations: 390.8 kB / 2.401 GB, free: 54.53 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/13.81, allocations: 0 / 2.401 GB, free: 54.53 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002985/13.81, allocations: 380.5 kB / 2.401 GB, free: 54.23 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/13.82, allocations: 0.8638 MB / 2.402 GB, free: 54.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/13.82, allocations: 1.681 MB / 2.403 GB, free: 53.21 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/13.83, allocations: 1.256 MB / 2.405 GB, free: 53.19 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.885e-05/13.83, allocations: 7.375 kB / 2.405 GB, free: 53.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.02712/13.86, allocations: 3.462 MB / 2.408 GB, free: 52.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002696/13.86, allocations: 9.24 MB / 2.417 GB, free: 43.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/13.86, allocations: 20.03 kB / 2.417 GB, free: 43.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006681/13.87, allocations: 0.9339 MB / 2.418 GB, free: 43.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/13.88, allocations: 408 kB / 2.418 GB, free: 43.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/13.89, allocations: 6.026 MB / 2.424 GB, free: 39.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/13.9, allocations: 348.4 kB / 2.425 GB, free: 38.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/13.9, allocations: 188.5 kB / 2.425 GB, free: 38.98 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/13.9, allocations: 3.875 kB / 2.425 GB, free: 38.98 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02111/13.92, allocations: 2.817 MB / 2.427 GB, free: 38.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/13.92, allocations: 21.56 kB / 2.428 GB, free: 38.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/13.93, allocations: 1.024 MB / 2.429 GB, free: 38.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/13.93, allocations: 394 kB / 2.429 GB, free: 38.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0369/13.97, allocations: 13.88 MB / 2.442 GB, free: 31.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/13.98, allocations: 263 kB / 2.443 GB, free: 31.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007976/13.98, allocations: 155.3 kB / 2.443 GB, free: 31.06 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 189 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009889/13.98, allocations: 185.9 kB / 2.443 GB, free: 30.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/13.98, allocations: 345.2 kB / 2.443 GB, free: 30.75 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/14, allocations: 3.076 MB / 2.446 GB, free: 30.54 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.428e-05/14, allocations: 22.86 kB / 2.446 GB, free: 30.54 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/14, allocations: 0 / 2.446 GB, free: 30.54 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/14, allocations: 3.844 kB / 2.446 GB, free: 30.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/14.01, allocations: 2.62 MB / 2.449 GB, free: 30.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/14.01, allocations: 0 / 2.449 GB, free: 30.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/14.01, allocations: 209.9 kB / 2.449 GB, free: 30.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/14.02, allocations: 0.606 MB / 2.45 GB, free: 30.02 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004402/14.02, allocations: 38.23 kB / 2.45 GB, free: 30.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/14.02, allocations: 5.248 MB / 2.455 GB, free: 25.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/14.02, allocations: 3.938 kB / 2.455 GB, free: 25.86 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01725/14.04, allocations: 2.66 MB / 2.457 GB, free: 25.32 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01803/14.06, allocations: 3.228 MB / 2.461 GB, free: 24.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/14.06, allocations: 0.5968 MB / 2.461 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/14.06, allocations: 3.906 kB / 2.461 GB, free: 24.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005819/14.07, allocations: 194 kB / 2.461 GB, free: 24.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/14.07, allocations: 79.25 kB / 2.461 GB, free: 24.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003401/14.07, allocations: 73.91 kB / 2.462 GB, free: 24.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.005715/14.08, allocations: 1.994 MB / 2.464 GB, free: 23.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01695/14.09, allocations: 2.448 MB / 2.466 GB, free: 23.62 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006117/14.1, allocations: 2.243 MB / 2.468 GB, free: 23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01319/14.11, allocations: 3.918 MB / 2.472 GB, free: 22.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/14.11, allocations: 5.188 kB / 2.472 GB, free: 22.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/14.12, allocations: 0.7851 MB / 2.473 GB, free: 22.52 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01474/14.13, allocations: 1.512 MB / 2.474 GB, free: 22.49 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/14.16, allocations: 5.221 MB / 2.479 GB, free: 21.33 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005989/14.17, allocations: 2.61 MB / 2.482 GB, free: 36.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.384e-06/14.17, allocations: 0 / 2.482 GB, free: 36.56 MB / 0.8386 GB