Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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 7.176/7.176, allocations: 403.9 MB / 410.9 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3576/7.534, allocations: 95.01 MB / 0.4941 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/8.363, allocations: 92.68 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.989/17.35, allocations: 2.172 GB / 2.756 GB, free: 44.63 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/17.35, allocations: 88.39 kB / 2.756 GB, free: 44.59 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 4.771/22.12, allocations: 0.8943 GB / 3.651 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/22.12, allocations: 16 kB / 3.651 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/22.13, allocations: 401.8 kB / 3.651 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005487/22.14, allocations: 1.205 MB / 3.652 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/22.14, allocations: 32 kB / 3.652 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/22.14, allocations: 60 kB / 3.652 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003728/22.14, allocations: 0.902 MB / 3.653 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/22.14, allocations: 1.006 MB / 3.654 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/22.14, allocations: 3.984 kB / 3.654 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/22.14, allocations: 0 / 3.654 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-05/22.14, allocations: 41.98 kB / 3.654 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/22.16, allocations: 4.407 MB / 3.658 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/22.16, allocations: 0.7095 MB / 3.659 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/22.16, allocations: 417.1 kB / 3.66 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009876/22.16, allocations: 381 kB / 3.66 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.504e-05/22.16, allocations: 47.16 kB / 3.66 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=69): time 6.332e-06/22.16, allocations: 0 / 3.66 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69): time 0.006398/22.17, allocations: 1.002 MB / 3.661 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/22.17, allocations: 137.2 kB / 3.661 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/22.17, allocations: 0.6027 MB / 3.662 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/22.17, allocations: 25.7 kB / 3.662 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/22.17, allocations: 411.3 kB / 3.662 GB, free: 304 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/22.17, allocations: 244.4 kB / 3.662 GB, free: 56 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/22.17, allocations: 0 / 3.662 GB, free: 56 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002436/22.17, allocations: 334 kB / 3.663 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009537/22.17, allocations: 285.5 kB / 3.663 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/22.17, allocations: 447 kB / 3.663 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/22.18, allocations: 434.3 kB / 3.664 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/22.18, allocations: 4 kB / 3.664 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003516/22.18, allocations: 0.9124 MB / 3.665 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006218/22.18, allocations: 1.053 MB / 3.666 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/22.18, allocations: 4 kB / 3.666 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/22.18, allocations: 8 kB / 3.666 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/22.18, allocations: 187.7 kB / 3.666 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/22.18, allocations: 11.39 kB / 3.666 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/22.19, allocations: 119.3 kB / 3.666 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/22.19, allocations: 31.98 kB / 3.666 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/22.19, allocations: 4 kB / 3.666 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003091/22.19, allocations: 0.7634 MB / 3.667 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/22.19, allocations: 7.906 kB / 3.667 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/22.19, allocations: 8 kB / 3.667 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/22.19, allocations: 172.1 kB / 3.667 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/22.19, allocations: 11.94 kB / 3.667 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/22.19, allocations: 119.4 kB / 3.667 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/22.19, allocations: 27.98 kB / 3.667 GB, free: 11 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0004469/22.19, allocations: 124.8 kB / 3.667 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/22.19, allocations: 102.8 kB / 3.667 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/22.2, allocations: 0.853 MB / 3.668 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/22.2, allocations: 11.94 kB / 3.668 GB, free: 9.895 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/22.2, allocations: 4 kB / 3.668 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002798/22.2, allocations: 1.01 MB / 3.669 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009808/22.21, allocations: 2.57 MB / 3.672 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/22.21, allocations: 4 kB / 3.672 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002228/22.21, allocations: 188.2 kB / 3.672 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/22.21, allocations: 8.094 kB / 3.672 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/22.21, allocations: 19.92 kB / 3.672 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/22.21, allocations: 7.938 kB / 3.672 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/22.21, allocations: 11.72 kB / 3.672 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004859/22.22, allocations: 1.698 MB / 3.674 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01001/22.23, allocations: 2.66 MB / 3.676 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/22.23, allocations: 291.9 kB / 3.676 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/22.23, allocations: 8 kB / 3.676 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003833/22.23, allocations: 103.7 kB / 3.677 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/22.24, allocations: 52.28 kB / 3.677 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/22.24, allocations: 47.91 kB / 3.677 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001397/22.24, allocations: 475.1 kB / 3.677 GB, free: 200 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.4067/22.64, allocations: 1.37 MB / 3.678 GB, free: 193.1 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 69 * 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 Backend phase and start with SimCode phase: time 0.005506/22.65, allocations: 2.581 MB / 3.681 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003603/22.65, allocations: 1.114 MB / 3.682 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/22.65, allocations: 0 / 3.682 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/22.65, allocations: 384.1 kB / 3.682 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/22.66, allocations: 0.5144 MB / 3.683 GB, free: 192.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/22.67, allocations: 1.936 MB / 3.685 GB, free: 191.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/22.67, allocations: 1.316 MB / 3.686 GB, free: 191.1 MB / 0.7917 GB Notification: Performance of SimCode: time 1.563e-06/22.67, allocations: 0 / 3.686 GB, free: 191.1 MB / 0.7917 GB