Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",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.17/4.17, allocations: 403.9 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3026/4.473, allocations: 95.02 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/5.021, allocations: 92.66 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.413/10.43, allocations: 2.181 GB / 2.765 GB, free: 35.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004687/10.43, allocations: 86.2 kB / 2.766 GB, free: 35.77 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 10.9/21.34, allocations: 1.994 GB / 4.759 GB, free: 71.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/21.34, allocations: 19.27 kB / 4.759 GB, free: 71.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/21.35, allocations: 1.006 MB / 4.76 GB, free: 70.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/21.37, allocations: 2.664 MB / 4.763 GB, free: 70.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004118/21.37, allocations: 194.4 kB / 4.763 GB, free: 70.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/21.37, allocations: 203.4 kB / 4.763 GB, free: 70.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01231/21.38, allocations: 2.897 MB / 4.766 GB, free: 70.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/21.39, allocations: 3.257 MB / 4.769 GB, free: 69.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/21.4, allocations: 5.312 kB / 4.769 GB, free: 69.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008293/21.4, allocations: 4.969 kB / 4.769 GB, free: 69.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/21.4, allocations: 117.5 kB / 4.769 GB, free: 69.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0409/21.44, allocations: 15.57 MB / 4.785 GB, free: 61.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005757/21.44, allocations: 1.844 MB / 4.786 GB, free: 61.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/21.45, allocations: 1.065 MB / 4.788 GB, free: 61.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/21.45, allocations: 56.25 kB / 4.788 GB, free: 61.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.338e-05/21.45, allocations: 73.33 kB / 4.788 GB, free: 61.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=192): time 5.841e-06/21.45, allocations: 0 / 4.788 GB, free: 61.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=192): time 0.01175/21.46, allocations: 2.174 MB / 4.79 GB, free: 61.31 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/21.46, allocations: 149.7 kB / 4.79 GB, free: 61.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/21.46, allocations: 1.588 MB / 4.791 GB, free: 60.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0007961/21.46, allocations: 32.14 kB / 4.791 GB, free: 60.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/21.46, allocations: 1.186 MB / 4.793 GB, free: 60.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/21.47, allocations: 0.6555 MB / 4.793 GB, free: 59.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/21.47, allocations: 0 / 4.793 GB, free: 59.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002349/21.47, allocations: 405.7 kB / 4.794 GB, free: 59.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/21.47, allocations: 0.8624 MB / 4.795 GB, free: 59.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/21.47, allocations: 1.612 MB / 4.796 GB, free: 58.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/21.48, allocations: 1.162 MB / 4.797 GB, free: 58.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/21.48, allocations: 7.812 kB / 4.797 GB, free: 58.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009691/21.49, allocations: 2.64 MB / 4.8 GB, free: 58.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002019/21.49, allocations: 7.674 MB / 4.807 GB, free: 50.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/21.49, allocations: 18.69 kB / 4.807 GB, free: 50.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.563e-05/21.49, allocations: 36.69 kB / 4.807 GB, free: 50.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01787/21.51, allocations: 1.199 MB / 4.809 GB, free: 50.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/21.52, allocations: 4.655 MB / 4.813 GB, free: 46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008849/21.53, allocations: 411.5 kB / 4.813 GB, free: 45.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/21.53, allocations: 112.5 kB / 4.814 GB, free: 45.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/21.53, allocations: 5.844 kB / 4.814 GB, free: 45.88 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007712/21.54, allocations: 2.257 MB / 4.816 GB, free: 45.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/21.54, allocations: 20.88 kB / 4.816 GB, free: 45.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-05/21.54, allocations: 31.97 kB / 4.816 GB, free: 45.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/21.54, allocations: 0.543 MB / 4.816 GB, free: 45.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.211e-05/21.54, allocations: 44.12 kB / 4.816 GB, free: 45.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/21.55, allocations: 331.1 kB / 4.817 GB, free: 45.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008796/21.55, allocations: 110.9 kB / 4.817 GB, free: 45.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001138/21.55, allocations: 170.8 kB / 4.817 GB, free: 45.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/21.56, allocations: 281.1 kB / 4.817 GB, free: 45.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/21.56, allocations: 287 kB / 4.818 GB, free: 45.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/21.56, allocations: 21.98 kB / 4.818 GB, free: 45.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/21.56, allocations: 7.344 kB / 4.818 GB, free: 45.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005403/21.56, allocations: 1.836 MB / 4.819 GB, free: 44.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/21.58, allocations: 5.239 MB / 4.824 GB, free: 44.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/21.58, allocations: 3.281 kB / 4.824 GB, free: 44.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01912/21.6, allocations: 1.233 MB / 4.826 GB, free: 44.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.725e-05/21.6, allocations: 13.62 kB / 4.826 GB, free: 44.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004855/21.6, allocations: 35.67 kB / 4.826 GB, free: 44.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02664/21.63, allocations: 9.8 MB / 4.835 GB, free: 35.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/21.63, allocations: 11.2 kB / 4.835 GB, free: 35.39 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00972/21.64, allocations: 3.624 MB / 4.839 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01391/21.65, allocations: 5.521 MB / 4.844 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/21.65, allocations: 0.6152 MB / 4.845 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008431/21.65, allocations: 16.41 kB / 4.845 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006811/21.66, allocations: 278.8 kB / 4.845 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/21.66, allocations: 104.3 kB / 4.845 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004025/21.66, allocations: 93 kB / 4.845 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.003126/21.67, allocations: 1.166 MB / 4.846 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01785/21.68, allocations: 3.411 MB / 4.85 GB, free: 32.78 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/21.69, allocations: 5.245 MB / 4.855 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0292/21.72, allocations: 4.531 MB / 4.859 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/21.72, allocations: 9.312 kB / 4.859 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02088/21.74, allocations: 1.98 MB / 4.861 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01794/21.76, allocations: 1.443 MB / 4.863 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/21.78, allocations: 5.864 MB / 4.868 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005845/21.79, allocations: 2.668 MB / 4.871 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of SimCode: time 1.673e-06/21.79, allocations: 0 / 4.871 GB, free: 24.34 MB / 0.8386 GB