Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.043/4.043, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.882e-05, allocations: 3 kB / 0.5338 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 98.72 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.538, allocations: 430 MB / 1.05 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.538, allocations: 93.12 kB / 1.05 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.721/8.259, allocations: 1.228 GB / 2.279 GB, free: 86.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.034e-06/8.26, allocations: 0 / 2.279 GB, free: 86.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000594/8.26, allocations: 76.36 kB / 2.279 GB, free: 86.53 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.01054/8.271, allocations: 2.703 MB / 2.281 GB, free: 84.62 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/8.271, allocations: 11.2 kB / 2.281 GB, free: 84.62 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/8.272, allocations: 258.4 kB / 2.281 GB, free: 84.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/8.282, allocations: 0.998 MB / 2.282 GB, free: 83.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/8.293, allocations: 2.891 MB / 2.285 GB, free: 80.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/8.293, allocations: 147.5 kB / 2.285 GB, free: 80.41 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006723/8.294, allocations: 199.9 kB / 2.286 GB, free: 80.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/8.301, allocations: 2.07 MB / 2.288 GB, free: 78.05 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.067e-05/8.301, allocations: 7.984 kB / 2.288 GB, free: 78.05 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/8.301, allocations: 76 kB / 2.288 GB, free: 77.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/8.301, allocations: 47.94 kB / 2.288 GB, free: 77.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/8.307, allocations: 1.62 MB / 2.289 GB, free: 76.3 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02859/8.336, allocations: 12.02 MB / 2.301 GB, free: 63.47 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006853/8.343, allocations: 1.403 MB / 2.302 GB, free: 62.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/8.345, allocations: 0.637 MB / 2.303 GB, free: 61.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/8.346, allocations: 1.366 MB / 2.304 GB, free: 59.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/8.346, allocations: 47.56 kB / 2.304 GB, free: 59.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003162/8.349, allocations: 286.5 kB / 2.305 GB, free: 59.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 1.145e-05/8.349, allocations: 0 / 2.305 GB, free: 59.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.01281/8.362, allocations: 3.282 MB / 2.308 GB, free: 56.09 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/8.362, allocations: 167.2 kB / 2.308 GB, free: 55.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/8.367, allocations: 1.774 MB / 2.31 GB, free: 54.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005129/8.368, allocations: 53.7 kB / 2.31 GB, free: 54.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/8.369, allocations: 1.2 MB / 2.311 GB, free: 52.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/8.37, allocations: 382.5 kB / 2.311 GB, free: 52.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/8.37, allocations: 28 kB / 2.311 GB, free: 52.42 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001298/8.37, allocations: 357.9 kB / 2.312 GB, free: 52.06 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/8.372, allocations: 0.5507 MB / 2.312 GB, free: 51.51 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/8.374, allocations: 1.021 MB / 2.313 GB, free: 50.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/8.376, allocations: 0.6557 MB / 2.314 GB, free: 49.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/8.376, allocations: 4 kB / 2.314 GB, free: 49.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007083/8.383, allocations: 2.063 MB / 2.316 GB, free: 47.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009731/8.384, allocations: 3.74 MB / 2.32 GB, free: 43.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/8.384, allocations: 8 kB / 2.32 GB, free: 43.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/8.39, allocations: 0.9465 MB / 2.321 GB, free: 42.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/8.393, allocations: 327.5 kB / 2.321 GB, free: 42.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/8.409, allocations: 5.272 MB / 2.326 GB, free: 36.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/8.415, allocations: 411.3 kB / 2.326 GB, free: 36.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005674/8.416, allocations: 71.95 kB / 2.326 GB, free: 36.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/8.416, allocations: 4 kB / 2.326 GB, free: 36.32 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005086/8.421, allocations: 1.695 MB / 2.328 GB, free: 34.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/8.421, allocations: 8 kB / 2.328 GB, free: 34.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/8.425, allocations: 0.5866 MB / 2.329 GB, free: 34.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/8.429, allocations: 387.5 kB / 2.329 GB, free: 33.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/8.445, allocations: 6.215 MB / 2.335 GB, free: 27.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/8.451, allocations: 355.5 kB / 2.336 GB, free: 26.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/8.452, allocations: 67.97 kB / 2.336 GB, free: 26.78 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.0006244/8.452, allocations: 192.9 kB / 2.336 GB, free: 26.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008321/8.453, allocations: 237 kB / 2.336 GB, free: 26.35 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005774/8.459, allocations: 1.837 MB / 2.338 GB, free: 24.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/8.459, allocations: 15.98 kB / 2.338 GB, free: 24.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/8.459, allocations: 0 / 2.338 GB, free: 24.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003857/8.463, allocations: 1.696 MB / 2.339 GB, free: 22.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/8.475, allocations: 4.121 MB / 2.343 GB, free: 18.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/8.475, allocations: 0 / 2.343 GB, free: 18.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/8.478, allocations: 255.7 kB / 2.344 GB, free: 18.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/8.48, allocations: 494.1 kB / 2.344 GB, free: 17.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003414/8.481, allocations: 35.97 kB / 2.344 GB, free: 17.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/8.483, allocations: 1.231 MB / 2.345 GB, free: 16.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/8.483, allocations: 3.953 kB / 2.345 GB, free: 16.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006757/8.49, allocations: 2.521 MB / 2.348 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/8.492, allocations: 0.5095 MB / 2.348 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008848/8.492, allocations: 20 kB / 2.348 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004796/8.497, allocations: 315.6 kB / 2.349 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/8.498, allocations: 72.89 kB / 2.349 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/8.498, allocations: 43.97 kB / 2.349 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003463/8.501, allocations: 1.358 MB / 2.35 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.22e-07/8.501, allocations: 0 / 2.35 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008074/8.51, allocations: 1.273 MB / 2.351 GB, free: 10.32 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (hex.port_b1.h_outflow,hex.port_a2.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.009276/8.519, allocations: 4.212 MB / 2.356 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008529/8.527, allocations: 2.879 MB / 2.358 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/8.528, allocations: 4.25 kB / 2.358 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/8.53, allocations: 0.6923 MB / 2.359 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009824/8.54, allocations: 1.112 MB / 2.36 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02167/8.561, allocations: 4.141 MB / 2.364 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/8.563, allocations: 1.661 MB / 2.366 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005977/8.569, allocations: 0.5867 MB / 2.366 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/8.572, allocations: 1.003 MB / 2.367 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/8.572, allocations: 0 / 2.367 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9389/9.511, allocations: 90.32 MB / 2.455 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/9.512, allocations: 286.2 kB / 2.456 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/16.5, allocations: 0 / 2.456 GB, free: 103.8 MB / 0.8698 GB