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 3.859/3.859, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-05/4.853e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6352/0.6353, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.72, allocations: 328.1 MB / 0.91 GB, free: 28.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.72, allocations: 80.31 kB / 0.9101 GB, free: 28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.22/1.94, allocations: 65.32 MB / 0.9739 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.951e-06/1.94, allocations: 3.984 kB / 0.9739 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.516e-05/1.94, allocations: 12 kB / 0.9739 GB, free: 4.656 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.001252/1.942, allocations: 0.586 MB / 0.9745 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.942, allocations: 8.031 kB / 0.9745 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.453e-05/1.942, allocations: 58.55 kB / 0.9745 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009293/1.943, allocations: 71.56 kB / 0.9746 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/1.943, allocations: 278.5 kB / 0.9749 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/1.943, allocations: 16.56 kB / 0.9749 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/1.943, allocations: 31.94 kB / 0.9749 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/1.944, allocations: 322.2 kB / 0.9752 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.944, allocations: 8 kB / 0.9752 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/1.944, allocations: 15.95 kB / 0.9752 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.944, allocations: 4 kB / 0.9752 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/1.945, allocations: 189.6 kB / 0.9754 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/1.948, allocations: 1.694 MB / 0.9771 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/1.949, allocations: 175.1 kB / 0.9772 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/1.949, allocations: 85.23 kB / 0.9773 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/1.949, allocations: 8.359 kB / 0.9773 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.949, allocations: 30.75 kB / 0.9774 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 2.915e-06/1.949, allocations: 0 / 0.9774 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.004255/1.953, allocations: 0.9 MB / 0.9782 GB, free: 15.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.953, allocations: 55.41 kB / 0.9783 GB, free: 15.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/1.954, allocations: 239.6 kB / 0.9785 GB, free: 15.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/1.954, allocations: 33.7 kB / 0.9786 GB, free: 15.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/1.954, allocations: 172 kB / 0.9787 GB, free: 15.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.954, allocations: 102.6 kB / 0.9788 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/1.954, allocations: 4 kB / 0.9788 GB, free: 15.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.954, allocations: 334.8 kB / 0.9791 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/1.955, allocations: 84 kB / 0.9792 GB, free: 14.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/1.955, allocations: 176.9 kB / 0.9794 GB, free: 14.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/1.955, allocations: 115.9 kB / 0.9795 GB, free: 14.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.955, allocations: 0 / 0.9795 GB, free: 14.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001644/1.957, allocations: 433.6 kB / 0.9799 GB, free: 14.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.957, allocations: 8 kB / 0.9799 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.957, allocations: 0 / 0.9799 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/1.958, allocations: 125 kB / 0.98 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/1.959, allocations: 67.84 kB / 0.9801 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/1.963, allocations: 2.006 MB / 0.9821 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/1.963, allocations: 19.98 kB / 0.9821 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/1.964, allocations: 16 kB / 0.9821 GB, free: 11.7 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.0001821/1.964, allocations: 136.9 kB / 0.9822 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/1.964, allocations: 31.62 kB / 0.9823 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.964, allocations: 26.88 kB / 0.9823 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.964, allocations: 4 kB / 0.9823 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.964, allocations: 0 / 0.9823 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/1.965, allocations: 0.6136 MB / 0.9829 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/1.968, allocations: 0.7963 MB / 0.9837 GB, free: 9.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.968, allocations: 0 / 0.9837 GB, free: 9.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/1.968, allocations: 35.97 kB / 0.9837 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.969, allocations: 132.8 kB / 0.9838 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/1.969, allocations: 8 kB / 0.9838 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003807/1.973, allocations: 1.885 MB / 0.9857 GB, free: 7.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.973, allocations: 96 / 0.9857 GB, free: 7.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/1.975, allocations: 0.5755 MB / 0.9862 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.975, allocations: 100.8 kB / 0.9863 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/1.975, allocations: 12.06 kB / 0.9863 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/1.976, allocations: 23.92 kB / 0.9864 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.976, allocations: 28.05 kB / 0.9864 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/1.976, allocations: 20.05 kB / 0.9864 GB, free: 6.902 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000317/1.976, allocations: 187.1 kB / 0.9866 GB, free: 6.723 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.976, allocations: 4 kB / 0.9866 GB, free: 6.719 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009251/1.977, allocations: 116 kB / 0.9867 GB, free: 6.605 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.002378/1.98, allocations: 1.454 MB / 0.9881 GB, free: 5.098 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.981, allocations: 397.9 kB / 0.9885 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.981, allocations: 0 / 0.9885 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/1.982, allocations: 270.4 kB / 0.9888 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.983, allocations: 158.1 kB / 0.9889 GB, free: 4.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.985, allocations: 0.5264 MB / 0.9894 GB, free: 3.691 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.986, allocations: 0.7764 MB / 0.9902 GB, free: 2.891 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005449/1.986, allocations: 50.97 kB / 0.9902 GB, free: 2.844 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/1.987, allocations: 83.41 kB / 0.9903 GB, free: 2.762 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/1.987, allocations: 0 / 0.9903 GB, free: 2.762 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04633/2.033, allocations: 10.04 MB / 1 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003884/2.033, allocations: 233 kB / 1 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/4.715, allocations: 0 / 1 GB, free: 8.672 MB / 0.7136 GB