Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.475/4.475, allocations: 460.5 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.002e-05, allocations: 6.969 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.294/8.534, allocations: 2.511 GB / 3.183 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/8.534, allocations: 93 kB / 3.183 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.9/22.43, allocations: 2.606 GB / 5.789 GB, free: 99.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.783e-06/22.43, allocations: 0 / 5.789 GB, free: 99.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001423/22.43, allocations: 171.9 kB / 5.789 GB, free: 99.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02792/22.46, allocations: 6.209 MB / 5.795 GB, free: 97.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/22.46, allocations: 7.906 kB / 5.795 GB, free: 97.32 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003364/22.46, allocations: 0.675 MB / 5.796 GB, free: 97.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/22.48, allocations: 1.494 MB / 5.797 GB, free: 96.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02719/22.5, allocations: 7.441 MB / 5.805 GB, free: 95.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005972/22.51, allocations: 373.6 kB / 5.805 GB, free: 95.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/22.51, allocations: 0.5031 MB / 5.805 GB, free: 95.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/22.53, allocations: 6.567 MB / 5.812 GB, free: 95.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/22.53, allocations: 10.44 kB / 5.812 GB, free: 95.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/22.54, allocations: 208.9 kB / 5.812 GB, free: 95.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003605/22.54, allocations: 223.6 kB / 5.812 GB, free: 95.45 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/22.56, allocations: 5.667 MB / 5.818 GB, free: 95.41 MB / 0.948 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.0676/22.62, allocations: 28.14 MB / 5.845 GB, free: 80.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009293/22.63, allocations: 4.217 MB / 5.849 GB, free: 78.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006213/22.64, allocations: 2.467 MB / 5.852 GB, free: 77.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/22.64, allocations: 0.9242 MB / 5.853 GB, free: 76.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006014/22.65, allocations: 2.136 MB / 5.855 GB, free: 76.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 7.274e-06/22.65, allocations: 0 / 5.855 GB, free: 76.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.03388/22.68, allocations: 9.61 MB / 5.864 GB, free: 71.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/22.68, allocations: 248 kB / 5.864 GB, free: 71.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/22.69, allocations: 4.545 MB / 5.869 GB, free: 69.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/22.69, allocations: 96.67 kB / 5.869 GB, free: 69.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004855/22.7, allocations: 2.744 MB / 5.872 GB, free: 67.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00251/22.7, allocations: 1.143 MB / 5.873 GB, free: 66.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008437/22.7, allocations: 65.31 kB / 5.873 GB, free: 66.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004483/22.7, allocations: 440.6 kB / 5.873 GB, free: 66.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/22.71, allocations: 1.724 MB / 5.875 GB, free: 65.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006095/22.71, allocations: 2.619 MB / 5.877 GB, free: 63.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005947/22.72, allocations: 2.25 MB / 5.88 GB, free: 62.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/22.72, allocations: 4 kB / 5.88 GB, free: 62.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01531/22.74, allocations: 5.008 MB / 5.885 GB, free: 57.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001361/22.74, allocations: 6.208 MB / 5.891 GB, free: 50.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-05/22.74, allocations: 18.81 kB / 5.891 GB, free: 50.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/22.74, allocations: 223.8 kB / 5.891 GB, free: 50.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006862/22.75, allocations: 0.7553 MB / 5.892 GB, free: 50.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/22.75, allocations: 3.403 MB / 5.895 GB, free: 46.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/22.76, allocations: 0.5946 MB / 5.895 GB, free: 46.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/22.76, allocations: 134.6 kB / 5.896 GB, free: 46.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/22.76, allocations: 5.25 kB / 5.896 GB, free: 46.15 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01489/22.78, allocations: 4.547 MB / 5.9 GB, free: 42.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.456e-05/22.78, allocations: 19.91 kB / 5.9 GB, free: 42.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/22.78, allocations: 214.8 kB / 5.9 GB, free: 41.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/22.78, allocations: 0.7427 MB / 5.901 GB, free: 41.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/22.79, allocations: 4.052 MB / 5.905 GB, free: 37.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/22.8, allocations: 0.5914 MB / 5.906 GB, free: 36.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009959/22.8, allocations: 133 kB / 5.906 GB, free: 36.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001287/22.8, allocations: 338.3 kB / 5.906 GB, free: 36.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/22.81, allocations: 0.5017 MB / 5.906 GB, free: 35.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/22.82, allocations: 4.809 MB / 5.911 GB, free: 31.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/22.82, allocations: 35.7 kB / 5.911 GB, free: 31.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/22.82, allocations: 3.906 kB / 5.911 GB, free: 31.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01056/22.83, allocations: 3.986 MB / 5.915 GB, free: 28.3 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.03517/22.87, allocations: 11.86 MB / 5.927 GB, free: 18.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/22.87, allocations: 4 kB / 5.927 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007115/22.87, allocations: 0.7554 MB / 5.927 GB, free: 17.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008444/22.87, allocations: 164.2 kB / 5.928 GB, free: 17.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008686/22.87, allocations: 97.38 kB / 5.928 GB, free: 17.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/22.88, allocations: 3.32 MB / 5.931 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/22.88, allocations: 4 kB / 5.931 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/22.9, allocations: 7.899 MB / 5.939 GB, free: 5.828 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005511/22.9, allocations: 1.241 MB / 5.94 GB, free: 4.562 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002219/22.9, allocations: 83.98 kB / 5.94 GB, free: 4.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009473/22.91, allocations: 0.5033 MB / 5.94 GB, free: 4.008 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/22.92, allocations: 205.1 kB / 5.941 GB, free: 3.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006326/22.92, allocations: 115.9 kB / 5.941 GB, free: 3.695 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009824/22.93, allocations: 3.568 MB / 5.944 GB, free: 140 kB / 0.948 GB Notification: Performance of sort global known variables: time 8.32e-07/22.93, allocations: 0 / 5.944 GB, free: 140 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.02303/22.95, allocations: 3.175 MB / 5.947 GB, free: 12.97 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.03074/22.98, allocations: 12.38 MB / 5.959 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.8126/23.79, allocations: 7.196 MB / 5.966 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/23.79, allocations: 3.781 kB / 5.966 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007031/23.8, allocations: 2.261 MB / 5.969 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02802/23.83, allocations: 3.078 MB / 5.972 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0515/23.88, allocations: 13.69 MB / 5.985 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/23.89, allocations: 4.697 MB / 5.99 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0257/23.92, allocations: 4.41 MB / 5.994 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007643/23.92, allocations: 2.484 MB / 5.996 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.664e-06/23.92, allocations: 3.969 kB / 5.996 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4858/24.41, allocations: 214.6 MB / 6.206 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/24.41, allocations: 255.1 kB / 6.206 GB, free: 64.01 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/36.89, allocations: 4 kB / 6.206 GB, free: 64 MB / 0.9636 GB