Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.253/4.253, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2514/4.505, allocations: 94.99 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/5.038, allocations: 92.69 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/6.096, allocations: 413.2 MB / 0.9881 GB, free: 19.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/6.096, allocations: 85.33 kB / 0.9882 GB, free: 19.08 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 4.025/10.12, allocations: 0.7162 GB / 1.704 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/10.12, allocations: 11.66 kB / 1.704 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008979/10.13, allocations: 0.7074 MB / 1.705 GB, free: 127.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05739/10.19, allocations: 13.48 MB / 1.718 GB, free: 126.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/10.19, allocations: 40.69 kB / 1.718 GB, free: 126.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/10.19, allocations: 79.19 kB / 1.718 GB, free: 126.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003456/10.19, allocations: 0.9397 MB / 1.719 GB, free: 126.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/10.2, allocations: 1.273 MB / 1.721 GB, free: 126 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/10.2, allocations: 4.172 kB / 1.721 GB, free: 126 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002181/10.2, allocations: 3.75 kB / 1.721 GB, free: 126 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/10.2, allocations: 43.67 kB / 1.721 GB, free: 126 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/10.21, allocations: 7.409 MB / 1.728 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/10.21, allocations: 0.7612 MB / 1.729 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/10.22, allocations: 359.7 kB / 1.729 GB, free: 121.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006669/10.22, allocations: 2.555 MB / 1.731 GB, free: 120 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/10.22, allocations: 46.34 kB / 1.731 GB, free: 119.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=55): time 4.528e-06/10.22, allocations: 0 / 1.731 GB, free: 119.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55): time 0.005478/10.23, allocations: 0.9757 MB / 1.732 GB, free: 119.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/10.23, allocations: 161.8 kB / 1.733 GB, free: 119.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/10.23, allocations: 1.269 MB / 1.734 GB, free: 119.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/10.23, allocations: 28.86 kB / 1.734 GB, free: 119.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/10.23, allocations: 0.6523 MB / 1.734 GB, free: 119 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/10.23, allocations: 191.7 kB / 1.735 GB, free: 118.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/10.23, allocations: 4.625 kB / 1.735 GB, free: 118.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001145/10.23, allocations: 350.8 kB / 1.735 GB, free: 118.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009575/10.23, allocations: 325.9 kB / 1.735 GB, free: 118.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/10.23, allocations: 0.8578 MB / 1.736 GB, free: 117.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/10.24, allocations: 0.5513 MB / 1.737 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/10.24, allocations: 7.125 kB / 1.737 GB, free: 117.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00732/10.25, allocations: 1.456 MB / 1.738 GB, free: 117.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001501/10.25, allocations: 6.571 MB / 1.745 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.25e-05/10.25, allocations: 20.56 kB / 1.745 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/10.25, allocations: 212.2 kB / 1.745 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/10.25, allocations: 255.2 kB / 1.745 GB, free: 110.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/10.25, allocations: 1.92 MB / 1.747 GB, free: 109.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/10.26, allocations: 164.6 kB / 1.747 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/10.26, allocations: 89.91 kB / 1.747 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/10.26, allocations: 6.156 kB / 1.747 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006137/10.26, allocations: 1.165 MB / 1.748 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.03e-05/10.26, allocations: 17.19 kB / 1.748 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/10.26, allocations: 215 kB / 1.748 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/10.26, allocations: 247.8 kB / 1.749 GB, free: 109.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00832/10.27, allocations: 3.707 MB / 1.752 GB, free: 106.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/10.28, allocations: 121.2 kB / 1.752 GB, free: 106.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/10.28, allocations: 80.89 kB / 1.753 GB, free: 106.4 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * 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 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005459/10.28, allocations: 156.7 kB / 1.753 GB, free: 106.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/10.28, allocations: 166.4 kB / 1.753 GB, free: 106.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/10.28, allocations: 1.171 MB / 1.754 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/10.28, allocations: 13.12 kB / 1.754 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/10.28, allocations: 0 / 1.754 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/10.28, allocations: 10.02 kB / 1.754 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/10.29, allocations: 1.558 MB / 1.756 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/10.29, allocations: 0 / 1.756 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/10.29, allocations: 112.6 kB / 1.756 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/10.29, allocations: 171.8 kB / 1.756 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/10.29, allocations: 14.59 kB / 1.756 GB, free: 105.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/10.29, allocations: 1.834 MB / 1.758 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/10.29, allocations: 3.469 kB / 1.758 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004228/10.3, allocations: 1.094 MB / 1.759 GB, free: 103.5 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00454/10.3, allocations: 1.568 MB / 1.76 GB, free: 102.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/10.3, allocations: 316.9 kB / 1.761 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/10.3, allocations: 3.875 kB / 1.761 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/10.3, allocations: 69.28 kB / 1.761 GB, free: 102.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/10.3, allocations: 43.22 kB / 1.761 GB, free: 102.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/10.3, allocations: 36 kB / 1.761 GB, free: 102.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002288/10.31, allocations: 0.9562 MB / 1.762 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008438/10.32, allocations: 1.313 MB / 1.763 GB, free: 102.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 3,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00326/10.32, allocations: 1.304 MB / 1.764 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004894/10.32, allocations: 1.562 MB / 1.766 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/10.32, allocations: 0 / 1.766 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/10.32, allocations: 341.7 kB / 1.766 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005999/10.33, allocations: 0.6387 MB / 1.767 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/10.34, allocations: 2.164 MB / 1.769 GB, free: 101.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/10.34, allocations: 1.592 MB / 1.77 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/10.34, allocations: 0 / 1.77 GB, free: 100.4 MB / 0.7761 GB