Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.771/3.771, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.933e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6388, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.832, allocations: 428.4 MB / 1.008 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/1.833, allocations: 94.56 kB / 1.008 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.847/7.68, allocations: 1.094 GB / 2.102 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.054e-06/7.68, allocations: 0 / 2.102 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003437/7.68, allocations: 52.89 kB / 2.102 GB, free: 113.4 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.006493/7.687, allocations: 2.111 MB / 2.104 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/7.687, allocations: 18.19 kB / 2.104 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004839/7.687, allocations: 170.5 kB / 2.104 GB, free: 112.3 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/7.691, allocations: 462.9 kB / 2.105 GB, free: 112.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009015/7.7, allocations: 2.306 MB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/7.7, allocations: 97.41 kB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/7.701, allocations: 125.9 kB / 2.107 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/7.704, allocations: 1.302 MB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/7.704, allocations: 7.031 kB / 2.108 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/7.704, allocations: 47.91 kB / 2.109 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/7.704, allocations: 31.41 kB / 2.109 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/7.707, allocations: 0.8559 MB / 2.109 GB, free: 111.4 MB / 0.7917 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.01269/7.72, allocations: 7.222 MB / 2.116 GB, free: 107 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/7.722, allocations: 1.15 MB / 2.118 GB, free: 106.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/7.723, allocations: 310.2 kB / 2.118 GB, free: 106.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005442/7.728, allocations: 2.45 MB / 2.12 GB, free: 104.6 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/7.73, allocations: 406.4 kB / 2.121 GB, free: 104.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001051/7.731, allocations: 91.17 kB / 2.121 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 3.827e-06/7.731, allocations: 0 / 2.121 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.002649/7.733, allocations: 0.7153 MB / 2.121 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/7.733, allocations: 193.8 kB / 2.122 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/7.736, allocations: 1.319 MB / 2.123 GB, free: 104 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002501/7.736, allocations: 44.52 kB / 2.123 GB, free: 104 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/7.737, allocations: 0.8966 MB / 2.124 GB, free: 103.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/7.738, allocations: 222.9 kB / 2.124 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/7.738, allocations: 21.09 kB / 2.124 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/7.738, allocations: 347.1 kB / 2.124 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/7.739, allocations: 273 kB / 2.125 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/7.74, allocations: 0.6819 MB / 2.125 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009073/7.741, allocations: 433.4 kB / 2.126 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/7.741, allocations: 3.938 kB / 2.126 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002831/7.743, allocations: 1.105 MB / 2.127 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009475/7.744, allocations: 4.124 MB / 2.131 GB, free: 98.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/7.745, allocations: 14.19 kB / 2.131 GB, free: 98.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/7.745, allocations: 18.88 kB / 2.131 GB, free: 98.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/7.747, allocations: 262.1 kB / 2.131 GB, free: 98.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/7.747, allocations: 0.6158 MB / 2.132 GB, free: 97.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/7.75, allocations: 134.3 kB / 2.132 GB, free: 97.52 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/7.75, allocations: 50.7 kB / 2.132 GB, free: 97.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/7.75, allocations: 3.562 kB / 2.132 GB, free: 97.52 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/7.752, allocations: 0.9315 MB / 2.133 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/7.752, allocations: 11.62 kB / 2.133 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/7.752, allocations: 15.56 kB / 2.133 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/7.754, allocations: 250.7 kB / 2.133 GB, free: 97.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/7.755, allocations: 0.6165 MB / 2.134 GB, free: 96.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/7.757, allocations: 122.1 kB / 2.134 GB, free: 96.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/7.757, allocations: 55.55 kB / 2.134 GB, free: 96.84 MB / 0.7917 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.09720000000000001 * vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000432/7.757, allocations: 168.2 kB / 2.134 GB, free: 96.73 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/7.758, allocations: 166.9 kB / 2.134 GB, free: 96.64 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/7.761, allocations: 0.9991 MB / 2.135 GB, free: 96.54 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/7.761, allocations: 7.75 kB / 2.135 GB, free: 96.54 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/7.761, allocations: 0 / 2.135 GB, free: 96.54 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/7.762, allocations: 0.8267 MB / 2.136 GB, free: 96.26 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/7.768, allocations: 2.113 MB / 2.138 GB, free: 95.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/7.768, allocations: 0 / 2.138 GB, free: 95.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/7.769, allocations: 141.6 kB / 2.138 GB, free: 95.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/7.77, allocations: 52.73 kB / 2.138 GB, free: 95.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/7.77, allocations: 22.31 kB / 2.138 GB, free: 95.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/7.771, allocations: 1.86 MB / 2.14 GB, free: 94.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/7.771, allocations: 0 / 2.14 GB, free: 94.11 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/7.774, allocations: 1.311 MB / 2.141 GB, free: 93.84 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/7.775, allocations: 323.8 kB / 2.142 GB, free: 93.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/7.776, allocations: 17 kB / 2.142 GB, free: 93.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/7.777, allocations: 108 kB / 2.142 GB, free: 93.65 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/7.778, allocations: 56.52 kB / 2.142 GB, free: 93.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/7.778, allocations: 30 kB / 2.142 GB, free: 93.65 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002079/7.78, allocations: 1.008 MB / 2.143 GB, free: 93.54 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.41e-07/7.78, allocations: 0 / 2.143 GB, free: 93.54 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004636/7.784, allocations: 1.026 MB / 2.144 GB, free: 93.36 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol.dynBal.U,vol.dynBal.m,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0061/7.791, allocations: 2.978 MB / 2.147 GB, free: 92.32 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003847/7.795, allocations: 1.559 MB / 2.148 GB, free: 91.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/7.795, allocations: 0 / 2.148 GB, free: 91.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/7.796, allocations: 476.1 kB / 2.149 GB, free: 91.88 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/7.801, allocations: 0.671 MB / 2.149 GB, free: 91.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/7.81, allocations: 2.852 MB / 2.152 GB, free: 91.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/7.811, allocations: 1.41 MB / 2.154 GB, free: 90.35 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004093/7.815, allocations: 0.5837 MB / 2.154 GB, free: 90.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/7.817, allocations: 0.6896 MB / 2.155 GB, free: 90.32 MB / 0.7917 GB Notification: Performance of SimCode: time 1.664e-06/7.817, allocations: 0 / 2.155 GB, free: 90.32 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/7.952, allocations: 55.76 MB / 2.209 GB, free: 58.54 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/7.952, allocations: 231.1 kB / 2.209 GB, free: 58.26 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.305/13.26, allocations: 0 / 2.209 GB, free: 58.26 MB / 0.7917 GB