Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.26/4.26, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.161e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2.135, allocations: 438.8 MB / 1.1 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/2.135, allocations: 93.8 kB / 1.101 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.155/8.291, allocations: 1.241 GB / 2.341 GB, free: 76.71 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.295e-06/8.291, allocations: 0 / 2.341 GB, free: 76.71 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005663/8.291, allocations: 75.98 kB / 2.341 GB, free: 76.64 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.01/8.301, allocations: 2.731 MB / 2.344 GB, free: 73.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/8.301, allocations: 8.031 kB / 2.344 GB, free: 73.85 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009981/8.302, allocations: 265.9 kB / 2.344 GB, free: 73.58 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/8.312, allocations: 1.007 MB / 2.345 GB, free: 72.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/8.322, allocations: 2.911 MB / 2.348 GB, free: 69.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/8.322, allocations: 151.7 kB / 2.348 GB, free: 69.45 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/8.323, allocations: 196 kB / 2.349 GB, free: 69.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006633/8.33, allocations: 2.1 MB / 2.351 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/8.33, allocations: 3.938 kB / 2.351 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/8.33, allocations: 79.95 kB / 2.351 GB, free: 66.99 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.372e-05/8.331, allocations: 52 kB / 2.351 GB, free: 66.94 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/8.336, allocations: 1.643 MB / 2.352 GB, free: 65.29 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.02749/8.364, allocations: 12.11 MB / 2.364 GB, free: 52.36 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009844/8.374, allocations: 1.634 MB / 2.366 GB, free: 50.72 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/8.376, allocations: 0.6564 MB / 2.366 GB, free: 50.06 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/8.377, allocations: 1.37 MB / 2.368 GB, free: 48.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/8.377, allocations: 43.56 kB / 2.368 GB, free: 48.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002962/8.38, allocations: 286.5 kB / 2.368 GB, free: 48.06 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 8.616e-06/8.38, allocations: 0 / 2.368 GB, free: 48.06 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01235/8.393, allocations: 3.316 MB / 2.371 GB, free: 44.68 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/8.393, allocations: 167.2 kB / 2.371 GB, free: 44.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/8.398, allocations: 1.791 MB / 2.373 GB, free: 42.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005031/8.398, allocations: 53.7 kB / 2.373 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/8.4, allocations: 1.196 MB / 2.374 GB, free: 41.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007382/8.4, allocations: 382.4 kB / 2.375 GB, free: 41.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/8.401, allocations: 32 kB / 2.375 GB, free: 40.99 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000136/8.401, allocations: 357.9 kB / 2.375 GB, free: 40.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/8.402, allocations: 0.5585 MB / 2.376 GB, free: 40.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/8.405, allocations: 1.029 MB / 2.377 GB, free: 38.86 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/8.407, allocations: 0.6595 MB / 2.377 GB, free: 38.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/8.407, allocations: 0 / 2.377 GB, free: 38.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00923/8.416, allocations: 2.183 MB / 2.379 GB, free: 36.01 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008407/8.417, allocations: 3.736 MB / 2.383 GB, free: 31.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/8.417, allocations: 8 kB / 2.383 GB, free: 31.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007701/8.425, allocations: 1.072 MB / 2.384 GB, free: 30.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/8.428, allocations: 331.5 kB / 2.384 GB, free: 30.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/8.444, allocations: 5.271 MB / 2.39 GB, free: 25.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/8.45, allocations: 405.9 kB / 2.39 GB, free: 24.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/8.45, allocations: 75.95 kB / 2.39 GB, free: 24.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/8.45, allocations: 4 kB / 2.39 GB, free: 24.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005377/8.456, allocations: 1.7 MB / 2.392 GB, free: 22.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/8.456, allocations: 11.38 kB / 2.392 GB, free: 22.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/8.46, allocations: 0.5871 MB / 2.392 GB, free: 22.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/8.463, allocations: 387.5 kB / 2.393 GB, free: 21.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/8.48, allocations: 6.226 MB / 2.399 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/8.486, allocations: 355.4 kB / 2.399 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/8.486, allocations: 75.95 kB / 2.399 GB, free: 15.07 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.0006055/8.487, allocations: 195.2 kB / 2.399 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008424/8.488, allocations: 229.1 kB / 2.4 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/8.494, allocations: 1.87 MB / 2.401 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/8.494, allocations: 12 kB / 2.401 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/8.494, allocations: 0 / 2.401 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003941/8.498, allocations: 1.697 MB / 2.403 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/8.51, allocations: 4.224 MB / 2.407 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/8.51, allocations: 4 kB / 2.407 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/8.513, allocations: 259.8 kB / 2.407 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003843/8.517, allocations: 0.6168 MB / 2.408 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/8.517, allocations: 35.97 kB / 2.408 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/8.519, allocations: 1.231 MB / 2.409 GB, free: 4.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.519, allocations: 0 / 2.409 GB, free: 4.512 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007068/8.526, allocations: 2.624 MB / 2.412 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/8.528, allocations: 0.5213 MB / 2.412 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/8.529, allocations: 23.95 kB / 2.412 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004791/8.534, allocations: 315.5 kB / 2.413 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/8.534, allocations: 72.89 kB / 2.413 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/8.535, allocations: 43.97 kB / 2.413 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003773/8.538, allocations: 1.37 MB / 2.414 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.02e-07/8.539, allocations: 3.938 kB / 2.414 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008682/8.547, allocations: 1.289 MB / 2.415 GB, free: 14.17 MB / 0.9167 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.01107/8.558, allocations: 4.439 MB / 2.42 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009853/8.568, allocations: 2.887 MB / 2.423 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/8.568, allocations: 192 / 2.423 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/8.571, allocations: 0.7039 MB / 2.423 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/8.581, allocations: 1.137 MB / 2.424 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/8.603, allocations: 4.183 MB / 2.428 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7537/9.357, allocations: 1.676 MB / 2.43 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00656/9.363, allocations: 0.5887 MB / 2.431 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/9.366, allocations: 1.006 MB / 2.432 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.654e-06/9.366, allocations: 0 / 2.432 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2858/9.652, allocations: 90.99 MB / 2.521 GB, free: 109 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/9.652, allocations: 276.5 kB / 2.521 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/16.42, allocations: 4.656 kB / 2.521 GB, free: 108.7 MB / 0.9167 GB