Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.299/4.299, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2778/4.577, allocations: 95.01 MB / 0.4941 GB, free: 7.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/5.132, allocations: 92.68 MB / 0.5846 GB, free: 3.371 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/10.87, allocations: 2.204 GB / 2.788 GB, free: 73.09 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/10.87, allocations: 87.83 kB / 2.788 GB, free: 73.05 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 9.516/20.39, allocations: 1.597 GB / 4.386 GB, free: 92.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/20.39, allocations: 8.375 kB / 4.386 GB, free: 92.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/20.4, allocations: 0.9675 MB / 4.387 GB, free: 92.46 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/20.42, allocations: 2.765 MB / 4.39 GB, free: 92.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/20.42, allocations: 49.5 kB / 4.39 GB, free: 92.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/20.42, allocations: 97.41 kB / 4.39 GB, free: 92.04 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005883/20.42, allocations: 1.298 MB / 4.391 GB, free: 92.03 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00637/20.43, allocations: 1.471 MB / 4.392 GB, free: 91.84 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.729e-05/20.43, allocations: 4.031 kB / 4.392 GB, free: 91.84 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/20.43, allocations: 10.33 kB / 4.392 GB, free: 91.84 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.022e-05/20.43, allocations: 53.56 kB / 4.392 GB, free: 91.83 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/20.45, allocations: 7.699 MB / 4.4 GB, free: 88.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/20.46, allocations: 0.926 MB / 4.401 GB, free: 87.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/20.46, allocations: 0.5318 MB / 4.401 GB, free: 87.94 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/20.46, allocations: 192.5 kB / 4.402 GB, free: 87.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/20.46, allocations: 47.52 kB / 4.402 GB, free: 87.71 MB / 0.823 GB Notification: Performance of pre-optimization done (n=77): time 4.388e-06/20.46, allocations: 6.469 kB / 4.402 GB, free: 87.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=77): time 0.009393/20.47, allocations: 1.174 MB / 4.403 GB, free: 87.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/20.47, allocations: 84.67 kB / 4.403 GB, free: 87.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/20.47, allocations: 1.321 MB / 4.404 GB, free: 87.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003572/20.47, allocations: 25.7 kB / 4.404 GB, free: 87.24 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/20.47, allocations: 0.6671 MB / 4.405 GB, free: 86.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/20.47, allocations: 261.2 kB / 4.405 GB, free: 86.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/20.47, allocations: 0 / 4.405 GB, free: 86.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/20.47, allocations: 347.2 kB / 4.405 GB, free: 86.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/20.47, allocations: 381.4 kB / 4.406 GB, free: 86.53 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/20.48, allocations: 0.7817 MB / 4.406 GB, free: 86.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/20.48, allocations: 0.5291 MB / 4.407 GB, free: 86.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/20.48, allocations: 3.594 kB / 4.407 GB, free: 86.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.006659/20.49, allocations: 1.397 MB / 4.408 GB, free: 85.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009957/20.49, allocations: 4.109 MB / 4.412 GB, free: 81.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/20.49, allocations: 11.16 kB / 4.412 GB, free: 81.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008292/20.49, allocations: 101.1 kB / 4.413 GB, free: 81.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/20.49, allocations: 325.2 kB / 4.413 GB, free: 81.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/20.5, allocations: 2.257 MB / 4.415 GB, free: 79.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/20.5, allocations: 182.7 kB / 4.415 GB, free: 79.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/20.5, allocations: 59.98 kB / 4.415 GB, free: 79.78 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/20.5, allocations: 3.812 kB / 4.415 GB, free: 79.78 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005375/20.51, allocations: 1.071 MB / 4.416 GB, free: 79.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/20.51, allocations: 10.25 kB / 4.416 GB, free: 79.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/20.51, allocations: 106.8 kB / 4.416 GB, free: 79.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/20.51, allocations: 255 kB / 4.417 GB, free: 79.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/20.51, allocations: 1.641 MB / 4.418 GB, free: 78.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/20.52, allocations: 145.9 kB / 4.418 GB, free: 78.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/20.52, allocations: 53.91 kB / 4.418 GB, free: 78.52 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 124 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006704/20.52, allocations: 144.2 kB / 4.419 GB, free: 78.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007619/20.52, allocations: 191 kB / 4.419 GB, free: 78.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/20.53, allocations: 1.088 MB / 4.42 GB, free: 78.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/20.53, allocations: 7.188 kB / 4.42 GB, free: 78.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/20.53, allocations: 4.75 kB / 4.42 GB, free: 78.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004446/20.53, allocations: 0.9168 MB / 4.421 GB, free: 78.05 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/20.54, allocations: 2.568 MB / 4.423 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/20.54, allocations: 0 / 4.423 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004288/20.55, allocations: 255.8 kB / 4.423 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/20.55, allocations: 97.73 kB / 4.424 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/20.55, allocations: 13.09 kB / 4.424 GB, free: 77.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007061/20.55, allocations: 2.915 MB / 4.426 GB, free: 75.17 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/20.55, allocations: 2.344 kB / 4.426 GB, free: 75.17 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006446/20.56, allocations: 1.662 MB / 4.428 GB, free: 74.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008924/20.57, allocations: 2.751 MB / 4.431 GB, free: 74.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/20.57, allocations: 353.3 kB / 4.431 GB, free: 73.87 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/20.57, allocations: 3.844 kB / 4.431 GB, free: 73.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/20.57, allocations: 115.6 kB / 4.431 GB, free: 73.87 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/20.57, allocations: 45.16 kB / 4.431 GB, free: 73.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/20.57, allocations: 35.92 kB / 4.431 GB, free: 73.86 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002874/20.58, allocations: 0.9954 MB / 4.432 GB, free: 73.72 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01505/20.59, allocations: 2.306 MB / 4.435 GB, free: 73.62 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.009305/20.6, allocations: 4.376 MB / 4.439 GB, free: 71.93 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008345/20.61, allocations: 1.786 MB / 4.441 GB, free: 71.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/20.61, allocations: 6.219 kB / 4.441 GB, free: 71.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004088/20.61, allocations: 0.5799 MB / 4.441 GB, free: 71.61 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009162/20.62, allocations: 0.8318 MB / 4.442 GB, free: 71.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/20.64, allocations: 2.77 MB / 4.445 GB, free: 70.87 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004137/20.64, allocations: 1.796 MB / 4.446 GB, free: 70.12 MB / 0.823 GB Notification: Performance of SimCode: time 1.834e-06/20.64, allocations: 0 / 4.446 GB, free: 70.12 MB / 0.823 GB