Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,fileNamePrefix="Buildings_5_0_1_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTestImplementation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.004/4.004, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.754e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6549, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.747, allocations: 328.1 MB / 0.91 GB, free: 27.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.747, allocations: 80.39 kB / 0.9101 GB, free: 27.86 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2257/1.973, allocations: 65.32 MB / 0.9739 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.324e-06/1.973, allocations: 0 / 0.9739 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.592e-05/1.973, allocations: 8 kB / 0.9739 GB, free: 4.445 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001278/1.974, allocations: 0.5885 MB / 0.9745 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.974, allocations: 12.03 kB / 0.9745 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.529e-05/1.974, allocations: 58.53 kB / 0.9746 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/1.975, allocations: 75.56 kB / 0.9746 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/1.976, allocations: 274.5 kB / 0.9749 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/1.976, allocations: 16.56 kB / 0.9749 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/1.976, allocations: 27.94 kB / 0.9749 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/1.977, allocations: 321.2 kB / 0.9753 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.977, allocations: 0 / 0.9753 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.725e-05/1.977, allocations: 15.95 kB / 0.9753 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/1.977, allocations: 8 kB / 0.9753 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/1.978, allocations: 196.7 kB / 0.9755 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/1.981, allocations: 1.694 MB / 0.9771 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/1.981, allocations: 163 kB / 0.9773 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/1.981, allocations: 85.22 kB / 0.9774 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/1.981, allocations: 192 / 0.9774 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.981, allocations: 42.69 kB / 0.9774 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/1.981, allocations: 0 / 0.9774 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.003771/1.985, allocations: 0.8649 MB / 0.9782 GB, free: 15.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.985, allocations: 59.34 kB / 0.9783 GB, free: 15.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/1.986, allocations: 231.6 kB / 0.9785 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/1.986, allocations: 33.7 kB / 0.9785 GB, free: 15.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.986, allocations: 172 kB / 0.9787 GB, free: 15.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.986, allocations: 94.66 kB / 0.9788 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.986, allocations: 4 kB / 0.9788 GB, free: 15.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.986, allocations: 346.8 kB / 0.9791 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/1.987, allocations: 87.92 kB / 0.9792 GB, free: 14.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/1.987, allocations: 165 kB / 0.9794 GB, free: 14.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/1.987, allocations: 119.9 kB / 0.9795 GB, free: 14.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.987, allocations: 0 / 0.9795 GB, free: 14.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001532/1.989, allocations: 405.8 kB / 0.9799 GB, free: 13.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.989, allocations: 4 kB / 0.9799 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.989, allocations: 8 kB / 0.9799 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/1.99, allocations: 129 kB / 0.98 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/1.99, allocations: 71.83 kB / 0.9801 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/1.994, allocations: 1.987 MB / 0.982 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/1.995, allocations: 35.98 kB / 0.9821 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.995, allocations: 16 kB / 0.9821 GB, free: 11.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/1.996, allocations: 121 kB / 0.9822 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/1.996, allocations: 23.72 kB / 0.9822 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/1.996, allocations: 38.86 kB / 0.9822 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.996, allocations: 4 kB / 0.9823 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.996, allocations: 4 kB / 0.9823 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.997, allocations: 0.6127 MB / 0.9829 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/1.999, allocations: 0.7877 MB / 0.9836 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.999, allocations: 192 / 0.9836 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/2, allocations: 39.98 kB / 0.9837 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/2.001, allocations: 132.6 kB / 0.9838 GB, free: 9.621 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/2.001, allocations: 15.98 kB / 0.9838 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/2.005, allocations: 1.886 MB / 0.9856 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/2.005, allocations: 0 / 0.9856 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/2.006, allocations: 0.577 MB / 0.9862 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/2.007, allocations: 104.8 kB / 0.9863 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/2.007, allocations: 8 kB / 0.9863 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/2.007, allocations: 19.92 kB / 0.9863 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/2.007, allocations: 27.98 kB / 0.9864 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/2.008, allocations: 12 kB / 0.9864 GB, free: 6.766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003348/2.008, allocations: 187.1 kB / 0.9866 GB, free: 6.586 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/2.008, allocations: 4 kB / 0.9866 GB, free: 6.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000985/2.009, allocations: 108 kB / 0.9867 GB, free: 6.477 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/2.011, allocations: 1.464 MB / 0.9881 GB, free: 4.965 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001199/2.012, allocations: 389.2 kB / 0.9885 GB, free: 4.574 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.013, allocations: 0 / 0.9885 GB, free: 4.574 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009543/2.013, allocations: 263.7 kB / 0.9887 GB, free: 4.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/2.015, allocations: 156.5 kB / 0.9889 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/2.017, allocations: 0.5246 MB / 0.9894 GB, free: 3.578 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/2.018, allocations: 0.7764 MB / 0.9901 GB, free: 2.777 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005626/2.018, allocations: 50.97 kB / 0.9902 GB, free: 2.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/2.019, allocations: 87.39 kB / 0.9903 GB, free: 2.645 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/2.019, allocations: 0 / 0.9903 GB, free: 2.645 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/2.065, allocations: 10 MB / 1 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/2.066, allocations: 239 kB / 1 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/4.817, allocations: 3.938 kB / 1 GB, free: 8.586 MB / 0.7136 GB