Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.253/4.253, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.285e-05, allocations: 3.984 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.957/2.211, allocations: 439.5 MB / 1.107 GB, free: 258 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/2.212, allocations: 92.48 kB / 1.107 GB, free: 258 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.17/8.382, allocations: 1.241 GB / 2.348 GB, free: 89.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.194e-06/8.382, allocations: 0 / 2.348 GB, free: 89.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005409/8.383, allocations: 79.84 kB / 2.348 GB, free: 89.57 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.00977/8.392, allocations: 2.731 MB / 2.351 GB, free: 87.67 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/8.392, allocations: 10.72 kB / 2.351 GB, free: 87.67 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009621/8.393, allocations: 261.9 kB / 2.351 GB, free: 87.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009465/8.403, allocations: 1.005 MB / 2.352 GB, free: 87.04 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/8.413, allocations: 2.912 MB / 2.355 GB, free: 84.95 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/8.414, allocations: 155.4 kB / 2.355 GB, free: 84.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008958/8.414, allocations: 200.3 kB / 2.355 GB, free: 84.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00671/8.421, allocations: 2.108 MB / 2.357 GB, free: 83.39 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.128e-05/8.421, allocations: 0 / 2.357 GB, free: 83.39 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/8.422, allocations: 80 kB / 2.358 GB, free: 83.31 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/8.422, allocations: 44 kB / 2.358 GB, free: 83.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/8.428, allocations: 1.647 MB / 2.359 GB, free: 81.62 MB / 0.9011 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.02962/8.458, allocations: 12.13 MB / 2.371 GB, free: 68.72 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006902/8.464, allocations: 1.4 MB / 2.372 GB, free: 67.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/8.466, allocations: 0.6528 MB / 2.373 GB, free: 66.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/8.468, allocations: 1.372 MB / 2.374 GB, free: 65 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/8.468, allocations: 51.48 kB / 2.374 GB, free: 64.94 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003081/8.471, allocations: 282.5 kB / 2.375 GB, free: 64.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 1.002e-05/8.471, allocations: 4 kB / 2.375 GB, free: 64.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01289/8.484, allocations: 3.316 MB / 2.378 GB, free: 61.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/8.484, allocations: 175.2 kB / 2.378 GB, free: 61.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/8.489, allocations: 1.795 MB / 2.38 GB, free: 59.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/8.489, allocations: 49.7 kB / 2.38 GB, free: 59.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/8.491, allocations: 1.196 MB / 2.381 GB, free: 57.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006861/8.491, allocations: 386.4 kB / 2.381 GB, free: 57.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/8.491, allocations: 32 kB / 2.382 GB, free: 57.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001382/8.492, allocations: 357.9 kB / 2.382 GB, free: 57.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/8.493, allocations: 0.5585 MB / 2.382 GB, free: 56.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/8.495, allocations: 1.022 MB / 2.383 GB, free: 55.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/8.497, allocations: 0.6676 MB / 2.384 GB, free: 54.77 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/8.498, allocations: 4 kB / 2.384 GB, free: 54.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008814/8.506, allocations: 2.179 MB / 2.386 GB, free: 52.58 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008894/8.507, allocations: 3.745 MB / 2.39 GB, free: 48.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/8.507, allocations: 12 kB / 2.39 GB, free: 48.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008267/8.516, allocations: 1.111 MB / 2.391 GB, free: 47.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/8.519, allocations: 331.5 kB / 2.391 GB, free: 47.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/8.534, allocations: 5.271 MB / 2.396 GB, free: 41.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/8.54, allocations: 411.1 kB / 2.397 GB, free: 41.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005467/8.541, allocations: 75.95 kB / 2.397 GB, free: 41.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/8.541, allocations: 7.953 kB / 2.397 GB, free: 41.16 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004964/8.546, allocations: 1.704 MB / 2.399 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/8.546, allocations: 8 kB / 2.399 GB, free: 39.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/8.55, allocations: 0.5842 MB / 2.399 GB, free: 38.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/8.554, allocations: 391.4 kB / 2.399 GB, free: 38.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/8.57, allocations: 6.221 MB / 2.406 GB, free: 32.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005502/8.576, allocations: 359.4 kB / 2.406 GB, free: 31.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/8.576, allocations: 75.8 kB / 2.406 GB, free: 31.61 MB / 0.9011 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.0005692/8.577, allocations: 188.9 kB / 2.406 GB, free: 31.41 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/8.578, allocations: 233 kB / 2.406 GB, free: 31.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/8.583, allocations: 1.874 MB / 2.408 GB, free: 29.29 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/8.583, allocations: 12 kB / 2.408 GB, free: 29.28 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/8.583, allocations: 4 kB / 2.408 GB, free: 29.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003631/8.587, allocations: 1.705 MB / 2.41 GB, free: 27.49 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/8.599, allocations: 4.246 MB / 2.414 GB, free: 23.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/8.599, allocations: 0 / 2.414 GB, free: 23.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/8.601, allocations: 263.8 kB / 2.414 GB, free: 22.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004488/8.606, allocations: 0.6516 MB / 2.415 GB, free: 22.26 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003523/8.606, allocations: 35.97 kB / 2.415 GB, free: 22.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/8.608, allocations: 1.239 MB / 2.416 GB, free: 20.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/8.608, allocations: 0 / 2.416 GB, free: 20.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/8.619, allocations: 2.91 MB / 2.419 GB, free: 18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/8.621, allocations: 0.5096 MB / 2.42 GB, free: 17.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/8.622, allocations: 28 kB / 2.42 GB, free: 17.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/8.627, allocations: 311.5 kB / 2.42 GB, free: 17.14 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/8.627, allocations: 70.86 kB / 2.42 GB, free: 17.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/8.628, allocations: 55.95 kB / 2.42 GB, free: 17.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003331/8.631, allocations: 1.371 MB / 2.421 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.92e-07/8.631, allocations: 0 / 2.421 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008442/8.64, allocations: 1.277 MB / 2.423 GB, free: 14.35 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (86): * Single equations (assignments): 78 * 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.01308/8.653, allocations: 4.71 MB / 2.427 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007888/8.661, allocations: 2.902 MB / 2.43 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/8.661, allocations: 2.734 kB / 2.43 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/8.663, allocations: 0.6923 MB / 2.431 GB, free: 6.031 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009843/8.673, allocations: 1.134 MB / 2.432 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/8.693, allocations: 4.188 MB / 2.436 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/8.695, allocations: 1.68 MB / 2.437 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006294/8.701, allocations: 0.5982 MB / 2.438 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/8.704, allocations: 0.9991 MB / 2.439 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of SimCode: time 1.303e-06/8.704, allocations: 0 / 2.439 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9886/9.693, allocations: 91.12 MB / 2.528 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/9.693, allocations: 275.2 kB / 2.528 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/16.63, allocations: 2.531 kB / 2.528 GB, free: 122.2 MB / 0.9323 GB