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.939/3.939, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.151e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6375/0.6376, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.888, allocations: 428.4 MB / 1.008 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.888, allocations: 96.75 kB / 1.008 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.811/7.699, allocations: 1.094 GB / 2.102 GB, free: 113.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.703e-06/7.699, allocations: 0.5625 kB / 2.102 GB, free: 113.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003166/7.7, allocations: 47.28 kB / 2.102 GB, free: 113.8 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.006279/7.706, allocations: 2.113 MB / 2.104 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/7.706, allocations: 10.66 kB / 2.104 GB, free: 112.7 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/7.706, allocations: 177.7 kB / 2.104 GB, free: 112.6 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/7.71, allocations: 463.7 kB / 2.105 GB, free: 112.5 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008866/7.719, allocations: 2.313 MB / 2.107 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/7.719, allocations: 95.75 kB / 2.107 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/7.719, allocations: 126.8 kB / 2.107 GB, free: 112 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/7.723, allocations: 1.313 MB / 2.108 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/7.723, allocations: 1.594 kB / 2.108 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/7.723, allocations: 52.94 kB / 2.109 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/7.723, allocations: 29.75 kB / 2.109 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/7.726, allocations: 0.8787 MB / 2.109 GB, free: 111.7 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.01334/7.739, allocations: 7.225 MB / 2.116 GB, free: 107.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/7.742, allocations: 1.163 MB / 2.118 GB, free: 106.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/7.742, allocations: 300.1 kB / 2.118 GB, free: 106.6 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005597/7.748, allocations: 2.453 MB / 2.12 GB, free: 104.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/7.749, allocations: 408.9 kB / 2.121 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001015/7.75, allocations: 93.86 kB / 2.121 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 3.657e-06/7.75, allocations: 2.562 kB / 2.121 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.00271/7.753, allocations: 0.7167 MB / 2.121 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/7.753, allocations: 192.2 kB / 2.122 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/7.756, allocations: 1.32 MB / 2.123 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/7.756, allocations: 46.14 kB / 2.123 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/7.758, allocations: 0.8944 MB / 2.124 GB, free: 103.9 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/7.758, allocations: 226.3 kB / 2.124 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/7.758, allocations: 18.66 kB / 2.124 GB, free: 103.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.758, allocations: 341.6 kB / 2.124 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/7.759, allocations: 280 kB / 2.125 GB, free: 103.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/7.76, allocations: 0.6836 MB / 2.125 GB, free: 103 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/7.761, allocations: 430.5 kB / 2.126 GB, free: 102.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/7.761, allocations: 3.781 kB / 2.126 GB, free: 102.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002848/7.764, allocations: 1.136 MB / 2.127 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009596/7.765, allocations: 4.125 MB / 2.131 GB, free: 98.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/7.765, allocations: 14.59 kB / 2.131 GB, free: 98.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-05/7.765, allocations: 14.69 kB / 2.131 GB, free: 98.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/7.767, allocations: 268.2 kB / 2.131 GB, free: 98.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003888/7.767, allocations: 0.6104 MB / 2.132 GB, free: 97.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002449/7.77, allocations: 131 kB / 2.132 GB, free: 97.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/7.77, allocations: 53.22 kB / 2.132 GB, free: 97.79 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/7.77, allocations: 7.719 kB / 2.132 GB, free: 97.79 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00239/7.773, allocations: 0.9565 MB / 2.133 GB, free: 97.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/7.773, allocations: 16.14 kB / 2.133 GB, free: 97.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/7.773, allocations: 17.91 kB / 2.133 GB, free: 97.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/7.775, allocations: 243.9 kB / 2.133 GB, free: 97.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003635/7.775, allocations: 0.6203 MB / 2.134 GB, free: 97.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/7.777, allocations: 121.5 kB / 2.134 GB, free: 97.11 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/7.777, allocations: 51.94 kB / 2.134 GB, free: 97.11 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.0004368/7.778, allocations: 175.3 kB / 2.134 GB, free: 97 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/7.778, allocations: 162.6 kB / 2.134 GB, free: 96.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/7.781, allocations: 0.9976 MB / 2.135 GB, free: 96.82 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/7.781, allocations: 7.062 kB / 2.135 GB, free: 96.82 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/7.781, allocations: 0 / 2.135 GB, free: 96.82 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/7.783, allocations: 0.8272 MB / 2.136 GB, free: 96.53 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/7.788, allocations: 2.116 MB / 2.138 GB, free: 96.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/7.788, allocations: 0 / 2.138 GB, free: 96.18 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/7.79, allocations: 143.7 kB / 2.138 GB, free: 96.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/7.79, allocations: 48.23 kB / 2.138 GB, free: 96.16 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/7.79, allocations: 27.95 kB / 2.138 GB, free: 96.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/7.791, allocations: 1.857 MB / 2.14 GB, free: 94.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/7.791, allocations: 0 / 2.14 GB, free: 94.38 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/7.795, allocations: 1.317 MB / 2.141 GB, free: 94.11 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/7.796, allocations: 323.7 kB / 2.142 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/7.796, allocations: 22.5 kB / 2.142 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/7.798, allocations: 103.2 kB / 2.142 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/7.799, allocations: 60.06 kB / 2.142 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/7.799, allocations: 30.08 kB / 2.142 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002217/7.801, allocations: 1.002 MB / 2.143 GB, free: 93.8 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.21e-07/7.801, allocations: 0 / 2.143 GB, free: 93.8 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005094/7.806, allocations: 1.022 MB / 2.144 GB, free: 93.63 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.006551/7.813, allocations: 2.966 MB / 2.147 GB, free: 92.63 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003941/7.817, allocations: 1.6 MB / 2.148 GB, free: 92.29 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/7.817, allocations: 1.25 kB / 2.148 GB, free: 92.29 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/7.818, allocations: 484 kB / 2.149 GB, free: 92.17 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/7.823, allocations: 0.6537 MB / 2.149 GB, free: 92.15 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009311/7.833, allocations: 2.866 MB / 2.152 GB, free: 91.36 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/7.834, allocations: 1.408 MB / 2.154 GB, free: 90.64 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004738/7.838, allocations: 0.583 MB / 2.154 GB, free: 90.61 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/7.84, allocations: 0.6903 MB / 2.155 GB, free: 90.61 MB / 0.7917 GB Notification: Performance of SimCode: time 1.242e-06/7.84, allocations: 0 / 2.155 GB, free: 90.61 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/7.984, allocations: 55.79 MB / 2.209 GB, free: 58.43 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/7.985, allocations: 224.4 kB / 2.21 GB, free: 58.13 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.176/13.16, allocations: 0 / 2.21 GB, free: 58.13 MB / 0.7917 GB