Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.813/3.813, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.407e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6235, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.575/8.199, allocations: 2.439 GB / 3.029 GB, free: 111.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/8.199, allocations: 97.11 kB / 3.029 GB, free: 111.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.516/12.72, allocations: 0.877 GB / 3.906 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.124e-06/12.72, allocations: 0 / 3.906 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001796/12.72, allocations: 42.42 kB / 3.906 GB, free: 119.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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.008056/12.72, allocations: 1.978 MB / 3.908 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/12.72, allocations: 11.12 kB / 3.908 GB, free: 118.3 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004728/12.72, allocations: 171.2 kB / 3.908 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/12.73, allocations: 440.1 kB / 3.908 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/12.73, allocations: 1.216 MB / 3.91 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/12.73, allocations: 90.25 kB / 3.91 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/12.73, allocations: 119.5 kB / 3.91 GB, free: 117.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/12.74, allocations: 1.43 MB / 3.911 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/12.74, allocations: 3.219 kB / 3.911 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/12.74, allocations: 47.19 kB / 3.911 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/12.74, allocations: 52.66 kB / 3.911 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/12.74, allocations: 1.175 MB / 3.913 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01298/12.76, allocations: 6.083 MB / 3.918 GB, free: 113.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/12.76, allocations: 0.839 MB / 3.919 GB, free: 113.8 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/12.76, allocations: 490.8 kB / 3.92 GB, free: 113.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/12.76, allocations: 339.3 kB / 3.92 GB, free: 113.4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/12.76, allocations: 0.7552 MB / 3.921 GB, free: 113.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=92): time 5.23e-06/12.76, allocations: 0 / 3.921 GB, free: 113.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.004434/12.77, allocations: 1.116 MB / 3.922 GB, free: 113 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/12.77, allocations: 437.5 kB / 3.922 GB, free: 112.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/12.77, allocations: 0.9852 MB / 3.923 GB, free: 112.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003207/12.77, allocations: 51.67 kB / 3.923 GB, free: 112.3 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/12.77, allocations: 0.608 MB / 3.924 GB, free: 112 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/12.77, allocations: 306.9 kB / 3.924 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/12.77, allocations: 23.06 kB / 3.924 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001086/12.77, allocations: 353.8 kB / 3.925 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/12.77, allocations: 410.3 kB / 3.925 GB, free: 111.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/12.77, allocations: 0.7348 MB / 3.926 GB, free: 110.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/12.78, allocations: 0.5398 MB / 3.926 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/12.78, allocations: 0 / 3.926 GB, free: 110.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003539/12.78, allocations: 1.332 MB / 3.928 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005916/12.78, allocations: 2.536 MB / 3.93 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/12.78, allocations: 7.812 kB / 3.93 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/12.78, allocations: 8.594 kB / 3.93 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/12.78, allocations: 288.6 kB / 3.93 GB, free: 107.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/12.78, allocations: 15.34 kB / 3.93 GB, free: 107.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/12.79, allocations: 225.5 kB / 3.93 GB, free: 107.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/12.79, allocations: 61.77 kB / 3.931 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/12.79, allocations: 3.688 kB / 3.931 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0031/12.79, allocations: 1.205 MB / 3.932 GB, free: 106.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/12.79, allocations: 7.969 kB / 3.932 GB, free: 106.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/12.79, allocations: 14.81 kB / 3.932 GB, free: 106.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/12.79, allocations: 270.2 kB / 3.932 GB, free: 106.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/12.79, allocations: 21.59 kB / 3.932 GB, free: 106.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/12.79, allocations: 188.4 kB / 3.932 GB, free: 106.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/12.79, allocations: 57.41 kB / 3.932 GB, free: 106.6 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0005426/12.79, allocations: 263.2 kB / 3.933 GB, free: 106.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/12.8, allocations: 146.7 kB / 3.933 GB, free: 106.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/12.8, allocations: 1.155 MB / 3.934 GB, free: 105.8 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/12.8, allocations: 7.375 kB / 3.934 GB, free: 105.8 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/12.8, allocations: 7.844 kB / 3.934 GB, free: 105.8 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/12.8, allocations: 3.891 kB / 3.934 GB, free: 105.8 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006791/12.81, allocations: 3.203 MB / 3.937 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/12.81, allocations: 8 kB / 3.937 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/12.81, allocations: 192.5 kB / 3.937 GB, free: 103.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/12.81, allocations: 8 kB / 3.937 GB, free: 103.1 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/12.81, allocations: 38.47 kB / 3.937 GB, free: 103 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/12.81, allocations: 11.94 kB / 3.937 GB, free: 103 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/12.81, allocations: 4 kB / 3.937 GB, free: 103 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004421/12.81, allocations: 2.233 MB / 3.939 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/12.81, allocations: 357.2 kB / 3.94 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/12.81, allocations: 30.91 kB / 3.94 GB, free: 100.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/12.82, allocations: 128.7 kB / 3.94 GB, free: 100.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/12.82, allocations: 78.67 kB / 3.94 GB, free: 100.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/12.82, allocations: 39.94 kB / 3.94 GB, free: 100.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001515/12.82, allocations: 0.7522 MB / 3.941 GB, free: 99.52 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.71e-07/12.82, allocations: 0 / 3.941 GB, free: 99.52 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005092/12.82, allocations: 1.063 MB / 3.942 GB, free: 98.48 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.01058/12.83, allocations: 6.334 MB / 3.948 GB, free: 92.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004826/12.84, allocations: 2.067 MB / 3.95 GB, free: 90.12 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/12.84, allocations: 0 / 3.95 GB, free: 90.12 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/12.84, allocations: 0.6842 MB / 3.951 GB, free: 89.41 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/12.85, allocations: 0.6046 MB / 3.951 GB, free: 88.81 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006977/12.85, allocations: 2.287 MB / 3.953 GB, free: 86.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/12.85, allocations: 1.237 MB / 3.955 GB, free: 85.15 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003638/12.86, allocations: 468.4 kB / 3.955 GB, free: 84.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/12.86, allocations: 0.5188 MB / 3.956 GB, free: 84.18 MB / 0.7917 GB Notification: Performance of SimCode: time 1.312e-06/12.86, allocations: 0 / 3.956 GB, free: 84.18 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/13.01, allocations: 72.85 MB / 4.027 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/13.01, allocations: 219.6 kB / 4.027 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.918/18.93, allocations: 0 / 4.027 GB, free: 11.72 MB / 0.7917 GB