Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.716/3.716, allocations: 403.3 MB / 415.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.403e-05, allocations: 4 kB / 0.4991 GB, free: 13.28 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.592, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.679, allocations: 384.4 MB / 0.965 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/1.679, allocations: 96.62 kB / 0.9651 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.966/3.646, allocations: 388.1 MB / 1.344 GB, free: 34.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.674e-06/3.646, allocations: 0 / 1.344 GB, free: 34.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002743/3.646, allocations: 47.98 kB / 1.344 GB, free: 34.56 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006878/3.653, allocations: 1.94 MB / 1.346 GB, free: 32.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/3.653, allocations: 8.031 kB / 1.346 GB, free: 32.56 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00071/3.654, allocations: 219.3 kB / 1.346 GB, free: 32.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/3.655, allocations: 229.5 kB / 1.347 GB, free: 32.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007654/3.663, allocations: 2.227 MB / 1.349 GB, free: 29.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/3.663, allocations: 111.6 kB / 1.349 GB, free: 29.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006029/3.664, allocations: 167.9 kB / 1.349 GB, free: 29.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005505/3.669, allocations: 2.006 MB / 1.351 GB, free: 27.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/3.67, allocations: 7.938 kB / 1.351 GB, free: 27.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/3.67, allocations: 60 kB / 1.351 GB, free: 27.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/3.67, allocations: 47.98 kB / 1.351 GB, free: 27.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/3.675, allocations: 1.744 MB / 1.353 GB, free: 25.58 MB / 0.7761 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.01887/3.694, allocations: 8.677 MB / 1.361 GB, free: 16.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/3.697, allocations: 1.358 MB / 1.363 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/3.698, allocations: 0.6613 MB / 1.363 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009672/3.708, allocations: 3.754 MB / 1.367 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/3.708, allocations: 47.34 kB / 1.367 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=95): time 4.439e-06/3.708, allocations: 0 / 1.367 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=101): time 0.009905/3.718, allocations: 3.479 MB / 1.37 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/3.718, allocations: 119.9 kB / 1.37 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/3.721, allocations: 1.492 MB / 1.372 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/3.721, allocations: 53.7 kB / 1.372 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007943/3.722, allocations: 0.7808 MB / 1.373 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/3.723, allocations: 366.7 kB / 1.373 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/3.723, allocations: 32 kB / 1.373 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000137/3.723, allocations: 365.9 kB / 1.373 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/3.725, allocations: 0.7301 MB / 1.374 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/3.727, allocations: 1.116 MB / 1.375 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/3.729, allocations: 0.9456 MB / 1.376 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/3.729, allocations: 4 kB / 1.376 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.5526/4.282, allocations: 2.108 MB / 1.378 GB, free: 195.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000953/4.283, allocations: 4.315 MB / 1.382 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.607e-05/4.283, allocations: 14.8 kB / 1.382 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.875e-05/4.283, allocations: 20.25 kB / 1.382 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/4.287, allocations: 391.7 kB / 1.383 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.766e-05/4.287, allocations: 26.44 kB / 1.383 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/4.289, allocations: 140.8 kB / 1.383 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/4.29, allocations: 71.25 kB / 1.383 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/4.29, allocations: 3.938 kB / 1.383 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005362/4.295, allocations: 1.945 MB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/4.295, allocations: 16.28 kB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.406e-05/4.295, allocations: 20.06 kB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/4.298, allocations: 382.4 kB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.547e-05/4.299, allocations: 24.47 kB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/4.301, allocations: 136.2 kB / 1.385 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/4.301, allocations: 67.66 kB / 1.386 GB, free: 191.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 196 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004828/4.302, allocations: 190.5 kB / 1.386 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/4.302, allocations: 153.7 kB / 1.386 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/4.306, allocations: 1.448 MB / 1.387 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/4.306, allocations: 14.23 kB / 1.387 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/4.306, allocations: 3.719 kB / 1.387 GB, free: 191.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002688/4.309, allocations: 1.452 MB / 1.389 GB, free: 190.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/4.32, allocations: 4.861 MB / 1.393 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/4.32, allocations: 3.562 kB / 1.393 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/4.321, allocations: 223.2 kB / 1.394 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/4.321, allocations: 9.875 kB / 1.394 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/4.322, allocations: 35.7 kB / 1.394 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/4.322, allocations: 12.7 kB / 1.394 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/4.322, allocations: 16.09 kB / 1.394 GB, free: 188.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/4.326, allocations: 2.457 MB / 1.396 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/4.327, allocations: 425 kB / 1.397 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/4.328, allocations: 24.78 kB / 1.397 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/4.33, allocations: 79.38 kB / 1.397 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/4.33, allocations: 80.55 kB / 1.397 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/4.33, allocations: 41.45 kB / 1.397 GB, free: 187.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002469/4.332, allocations: 1.207 MB / 1.398 GB, free: 187.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.012e-06/4.332, allocations: 0 / 1.398 GB, free: 187.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003939/4.336, allocations: 0.8621 MB / 1.399 GB, free: 187.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (indTanHex.port_a.h_outflow,indTanHex.port_b.h_outflow,indTanHex.vol[2].ports[2].h_outflow,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005967/4.342, allocations: 4.488 MB / 1.403 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005965/4.348, allocations: 2.594 MB / 1.406 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/4.349, allocations: 3.375 kB / 1.406 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/4.35, allocations: 0.6066 MB / 1.406 GB, free: 185.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/4.357, allocations: 0.8833 MB / 1.407 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/4.367, allocations: 3.995 MB / 1.411 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/4.369, allocations: 1.741 MB / 1.413 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006532/4.375, allocations: 1.3 MB / 1.414 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/4.377, allocations: 0.6349 MB / 1.415 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/4.377, allocations: 2.188 kB / 1.415 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/4.504, allocations: 54.84 MB / 1.468 GB, free: 181.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/4.505, allocations: 222.9 kB / 1.468 GB, free: 181.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.585/9.09, allocations: 3.594 kB / 1.468 GB, free: 181.4 MB / 0.7761 GB