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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.739/4.739, allocations: 404.2 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.69e-05, allocations: 4 kB / 0.4945 GB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.689, allocations: 92.69 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.864, allocations: 327.4 MB / 0.9048 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.865, allocations: 83.56 kB / 0.9049 GB, free: 35.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2608/2.125, allocations: 65.07 MB / 0.9684 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/2.125, allocations: 3.938 kB / 0.9684 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.754e-05/2.125, allocations: 4 kB / 0.9684 GB, free: 12.71 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.001349/2.127, allocations: 0.5886 MB / 0.969 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/2.127, allocations: 8.031 kB / 0.969 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/2.128, allocations: 79.56 kB / 0.9691 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/2.129, allocations: 278.5 kB / 0.9694 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/2.129, allocations: 8 kB / 0.9694 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/2.129, allocations: 12 kB / 0.9694 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006146/2.129, allocations: 173 kB / 0.9695 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/2.13, allocations: 285.2 kB / 0.9698 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/2.13, allocations: 11.94 kB / 0.9698 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/2.13, allocations: 0 / 0.9698 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/2.13, allocations: 8 kB / 0.9698 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002993/2.133, allocations: 1.624 MB / 0.9714 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/2.134, allocations: 163.2 kB / 0.9716 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/2.134, allocations: 77.17 kB / 0.9716 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/2.134, allocations: 8.172 kB / 0.9717 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/2.134, allocations: 38.73 kB / 0.9717 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 3.025e-06/2.134, allocations: 0 / 0.9717 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.004325/2.138, allocations: 0.8364 MB / 0.9725 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/2.138, allocations: 55.41 kB / 0.9726 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/2.139, allocations: 199.1 kB / 0.9728 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/2.139, allocations: 29.7 kB / 0.9728 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/2.139, allocations: 179.8 kB / 0.973 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/2.139, allocations: 94.59 kB / 0.973 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/2.139, allocations: 0 / 0.973 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001525/2.139, allocations: 334.8 kB / 0.9734 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/2.14, allocations: 83.92 kB / 0.9734 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/2.14, allocations: 165 kB / 0.9736 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/2.14, allocations: 99.95 kB / 0.9737 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.14, allocations: 4 kB / 0.9737 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001655/2.142, allocations: 393.7 kB / 0.9741 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/2.142, allocations: 11.95 kB / 0.9741 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.142, allocations: 0 / 0.9741 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/2.143, allocations: 133 kB / 0.9742 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/2.144, allocations: 59.91 kB / 0.9743 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004497/2.148, allocations: 1.935 MB / 0.9762 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/2.149, allocations: 20.02 kB / 0.9762 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/2.149, allocations: 12 kB / 0.9762 GB, free: 4.25 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002852/2.149, allocations: 132.7 kB / 0.9763 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001337/2.151, allocations: 294 kB / 0.9766 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/2.151, allocations: 27.72 kB / 0.9766 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/2.151, allocations: 31.17 kB / 0.9767 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/2.151, allocations: 0 / 0.9767 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/2.151, allocations: 0 / 0.9767 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/2.152, allocations: 0.5973 MB / 0.9772 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/2.155, allocations: 0.7347 MB / 0.978 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/2.155, allocations: 4 kB / 0.978 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/2.155, allocations: 35.92 kB / 0.978 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/2.156, allocations: 121 kB / 0.9781 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/2.156, allocations: 15.92 kB / 0.9781 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/2.16, allocations: 1.841 MB / 0.9799 GB, free: 156 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/2.16, allocations: 3.938 kB / 0.9799 GB, free: 152 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/2.162, allocations: 0.5373 MB / 0.9804 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/2.162, allocations: 104.8 kB / 0.9805 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/2.162, allocations: 4 kB / 0.9806 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/2.163, allocations: 16.05 kB / 0.9806 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/2.163, allocations: 23.91 kB / 0.9806 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/2.163, allocations: 15.94 kB / 0.9806 GB, free: 15.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002609/2.163, allocations: 161.6 kB / 0.9808 GB, free: 15.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/2.163, allocations: 0 / 0.9808 GB, free: 15.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001062/2.164, allocations: 100 kB / 0.9809 GB, free: 15.12 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.002383/2.167, allocations: 1.435 MB / 0.9823 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001581/2.168, allocations: 389.8 kB / 0.9826 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.168, allocations: 0 / 0.9826 GB, free: 13.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/2.17, allocations: 261.4 kB / 0.9829 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/2.171, allocations: 119.5 kB / 0.983 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/2.173, allocations: 0.4946 MB / 0.9835 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/2.174, allocations: 0.7755 MB / 0.9842 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005839/2.174, allocations: 47.27 kB / 0.9843 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/2.174, allocations: 87.41 kB / 0.9844 GB, free: 11.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/2.174, allocations: 0 / 0.9844 GB, free: 11.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05934/2.234, allocations: 8.179 MB / 0.9923 GB, free: 3.258 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003364/2.234, allocations: 192.4 kB / 0.9925 GB, free: 3.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.091/5.325, allocations: 0 / 0.9925 GB, free: 3.062 MB / 0.698 GB