Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.909/4.909, allocations: 404 MB / 410.9 MB, free: 8.832 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.5442/5.453, allocations: 95.01 MB / 0.4941 GB, free: 7.09 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/5.72, allocations: 92.67 MB / 0.5846 GB, free: 10.24 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.707/7.427, allocations: 398.8 MB / 0.974 GB, free: 202.5 MB / 0.7527 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/7.428, allocations: 94.84 kB / 0.9741 GB, free: 202.5 MB / 0.7527 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 3.585/11.01, allocations: 0.6299 GB / 1.604 GB, free: 126.6 MB / 0.7683 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/11.01, allocations: 11.03 kB / 1.604 GB, free: 126.6 MB / 0.7683 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/11.01, allocations: 220.5 kB / 1.604 GB, free: 126.5 MB / 0.7683 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007084/11.02, allocations: 1.827 MB / 1.606 GB, free: 126.1 MB / 0.7683 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/11.02, allocations: 36.22 kB / 1.606 GB, free: 126.1 MB / 0.7683 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/11.02, allocations: 72.25 kB / 1.606 GB, free: 126.1 MB / 0.7683 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/11.02, allocations: 0.7122 MB / 1.607 GB, free: 126.1 MB / 0.7683 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/11.03, allocations: 1.035 MB / 1.608 GB, free: 125.8 MB / 0.7683 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/11.03, allocations: 11.31 kB / 1.608 GB, free: 125.8 MB / 0.7683 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/11.03, allocations: 3.562 kB / 1.608 GB, free: 125.8 MB / 0.7683 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/11.03, allocations: 42.08 kB / 1.608 GB, free: 125.8 MB / 0.7683 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/11.04, allocations: 6.447 MB / 1.614 GB, free: 121.9 MB / 0.7683 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/11.04, allocations: 317.9 kB / 1.615 GB, free: 121.9 MB / 0.7683 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/11.04, allocations: 235.8 kB / 1.615 GB, free: 121.8 MB / 0.7683 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/11.04, allocations: 175.5 kB / 1.615 GB, free: 121.6 MB / 0.7683 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/11.04, allocations: 45.52 kB / 1.615 GB, free: 121.6 MB / 0.7683 GB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/11.04, allocations: 0 / 1.615 GB, free: 121.6 MB / 0.7683 GB Notification: Performance of matching and sorting (n=44): time 0.01023/11.05, allocations: 2.239 MB / 1.617 GB, free: 120.5 MB / 0.7683 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/11.05, allocations: 136.3 kB / 1.617 GB, free: 120.3 MB / 0.7683 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/11.05, allocations: 0.9929 MB / 1.618 GB, free: 120.2 MB / 0.7683 GB Notification: Performance of collectPreVariables (initialization): time 0.0002646/11.06, allocations: 29.61 kB / 1.618 GB, free: 120.1 MB / 0.7683 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/11.06, allocations: 0.5771 MB / 1.619 GB, free: 119.8 MB / 0.7683 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/11.06, allocations: 152.8 kB / 1.619 GB, free: 119.7 MB / 0.7683 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/11.06, allocations: 0 / 1.619 GB, free: 119.7 MB / 0.7683 GB Notification: Performance of setup shared object (initialization): time 0.0001025/11.06, allocations: 341.6 kB / 1.619 GB, free: 119.4 MB / 0.7683 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008319/11.06, allocations: 256.2 kB / 1.62 GB, free: 119.4 MB / 0.7683 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/11.06, allocations: 0.567 MB / 1.62 GB, free: 119 MB / 0.7683 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/11.06, allocations: 351.4 kB / 1.62 GB, free: 119 MB / 0.7683 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/11.06, allocations: 7.125 kB / 1.62 GB, free: 119 MB / 0.7683 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003042/11.06, allocations: 0.9023 MB / 1.621 GB, free: 118.9 MB / 0.7683 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007532/11.06, allocations: 3.443 MB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/11.06, allocations: 11.5 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.481e-05/11.06, allocations: 15.69 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/11.07, allocations: 252.7 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/11.07, allocations: 19.83 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/11.07, allocations: 124.1 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/11.07, allocations: 44.52 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/11.07, allocations: 3.969 kB / 1.625 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002404/11.07, allocations: 0.6596 MB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/11.07, allocations: 13.33 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/11.07, allocations: 15.12 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/11.07, allocations: 209.5 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/11.07, allocations: 19.88 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/11.08, allocations: 87.94 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/11.08, allocations: 43.08 kB / 1.626 GB, free: 115.3 MB / 0.7683 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0004004/11.08, allocations: 132.1 kB / 1.626 GB, free: 115.2 MB / 0.7683 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/11.08, allocations: 131.5 kB / 1.626 GB, free: 115.1 MB / 0.7683 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/11.08, allocations: 0.6364 MB / 1.627 GB, free: 115 MB / 0.7683 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/11.08, allocations: 7.438 kB / 1.627 GB, free: 115 MB / 0.7683 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/11.08, allocations: 3.656 kB / 1.627 GB, free: 115 MB / 0.7683 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/11.08, allocations: 0.7999 MB / 1.628 GB, free: 114.6 MB / 0.7683 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/11.09, allocations: 2.018 MB / 1.63 GB, free: 114 MB / 0.7683 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/11.09, allocations: 0 / 1.63 GB, free: 114 MB / 0.7683 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/11.09, allocations: 133.7 kB / 1.63 GB, free: 114 MB / 0.7683 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006219/11.09, allocations: 79.69 kB / 1.63 GB, free: 114 MB / 0.7683 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/11.09, allocations: 10.92 kB / 1.63 GB, free: 114 MB / 0.7683 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/11.09, allocations: 1.153 MB / 1.631 GB, free: 112.9 MB / 0.7683 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/11.09, allocations: 7.844 kB / 1.631 GB, free: 112.9 MB / 0.7683 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00306/11.1, allocations: 1.143 MB / 1.632 GB, free: 112.5 MB / 0.7683 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00422/11.1, allocations: 1.869 MB / 1.634 GB, free: 111.7 MB / 0.7683 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/11.1, allocations: 279.6 kB / 1.634 GB, free: 111.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/11.1, allocations: 7.219 kB / 1.634 GB, free: 111.5 MB / 0.7683 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/11.11, allocations: 100.1 kB / 1.634 GB, free: 111.5 MB / 0.7683 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/11.11, allocations: 35.67 kB / 1.634 GB, free: 111.5 MB / 0.7683 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/11.11, allocations: 27.75 kB / 1.635 GB, free: 111.5 MB / 0.7683 GB Notification: Performance of sort global known variables: time 0.001848/11.11, allocations: 0.7329 MB / 1.635 GB, free: 111.4 MB / 0.7683 GB Notification: Performance of remove unused functions: time 0.007433/11.12, allocations: 0.8746 MB / 1.636 GB, free: 111.4 MB / 0.7683 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002109/11.12, allocations: 0.7009 MB / 1.637 GB, free: 111.2 MB / 0.7683 GB Notification: Performance of simCode: created initialization part: time 0.003222/11.12, allocations: 1.019 MB / 1.638 GB, free: 111.2 MB / 0.7683 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/11.12, allocations: 3.875 kB / 1.638 GB, free: 111.2 MB / 0.7683 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/11.12, allocations: 262.2 kB / 1.638 GB, free: 111.2 MB / 0.7683 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007527/11.13, allocations: 0.6353 MB / 1.639 GB, free: 111.2 MB / 0.7683 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/11.16, allocations: 2.861 MB / 1.641 GB, free: 110.6 MB / 0.7683 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/11.16, allocations: 1.429 MB / 1.643 GB, free: 109.9 MB / 0.7683 GB Notification: Performance of SimCode: time 4.238e-06/11.16, allocations: 0 / 1.643 GB, free: 109.9 MB / 0.7683 GB