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 4.044/4.044, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.853e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6242, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.355/7.979, allocations: 2.439 GB / 3.029 GB, free: 130.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/7.98, allocations: 85.77 kB / 3.029 GB, free: 130.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.618/12.6, allocations: 0.877 GB / 3.906 GB, free: 119.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.414e-06/12.6, allocations: 3.969 kB / 3.906 GB, free: 119.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002354/12.6, allocations: 36.53 kB / 3.906 GB, free: 119.7 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.009042/12.61, allocations: 1.986 MB / 3.908 GB, free: 118.6 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/12.61, allocations: 12.5 kB / 3.908 GB, free: 118.6 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006004/12.61, allocations: 163.1 kB / 3.908 GB, free: 118.6 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/12.61, allocations: 437.9 kB / 3.909 GB, free: 118.5 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/12.62, allocations: 1.224 MB / 3.91 GB, free: 118.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/12.62, allocations: 88.47 kB / 3.91 GB, free: 118.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005428/12.62, allocations: 113.5 kB / 3.91 GB, free: 118.1 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/12.62, allocations: 1.422 MB / 3.911 GB, free: 117.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/12.62, allocations: 6.469 kB / 3.911 GB, free: 117.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/12.62, allocations: 48.84 kB / 3.911 GB, free: 117.8 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-05/12.62, allocations: 43.69 kB / 3.911 GB, free: 117.8 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/12.63, allocations: 1.158 MB / 3.913 GB, free: 117.8 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/12.64, allocations: 6.086 MB / 3.918 GB, free: 114.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/12.65, allocations: 0.825 MB / 3.919 GB, free: 114.2 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/12.65, allocations: 486.9 kB / 3.92 GB, free: 114.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/12.65, allocations: 339.8 kB / 3.92 GB, free: 113.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002576/12.65, allocations: 0.7462 MB / 3.921 GB, free: 113.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=92): time 5.921e-06/12.65, allocations: 3.938 kB / 3.921 GB, free: 113.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.005268/12.66, allocations: 1.119 MB / 3.922 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/12.66, allocations: 433.4 kB / 3.922 GB, free: 113 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/12.66, allocations: 0.9848 MB / 3.923 GB, free: 112.8 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004049/12.66, allocations: 46.23 kB / 3.923 GB, free: 112.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/12.66, allocations: 0.6092 MB / 3.924 GB, free: 112.6 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/12.66, allocations: 305.7 kB / 3.924 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/12.66, allocations: 24.12 kB / 3.924 GB, free: 112.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000142/12.66, allocations: 349 kB / 3.925 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/12.66, allocations: 424.5 kB / 3.925 GB, free: 112 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/12.66, allocations: 0.722 MB / 3.926 GB, free: 111.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/12.67, allocations: 0.538 MB / 3.926 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/12.67, allocations: 0 / 3.926 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004232/12.67, allocations: 1.315 MB / 3.927 GB, free: 111.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006907/12.67, allocations: 2.536 MB / 3.93 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.323e-05/12.67, allocations: 6.188 kB / 3.93 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.106e-05/12.67, allocations: 11.41 kB / 3.93 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/12.67, allocations: 294.8 kB / 3.93 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-05/12.67, allocations: 9.719 kB / 3.93 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/12.68, allocations: 224.4 kB / 3.93 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/12.68, allocations: 65.61 kB / 3.931 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/12.68, allocations: 5.469 kB / 3.931 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003448/12.68, allocations: 1.19 MB / 3.932 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/12.68, allocations: 5.656 kB / 3.932 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/12.68, allocations: 18.28 kB / 3.932 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/12.68, allocations: 277.4 kB / 3.932 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/12.68, allocations: 14.91 kB / 3.932 GB, free: 108.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/12.69, allocations: 190.6 kB / 3.932 GB, free: 108.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/12.69, allocations: 62.67 kB / 3.932 GB, free: 108.5 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.0005871/12.69, allocations: 252.2 kB / 3.932 GB, free: 108.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/12.69, allocations: 142.7 kB / 3.933 GB, free: 108.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/12.69, allocations: 1.157 MB / 3.934 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/12.69, allocations: 10.91 kB / 3.934 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/12.69, allocations: 0 / 3.934 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/12.69, allocations: 6.688 kB / 3.934 GB, free: 108.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/12.7, allocations: 3.184 MB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/12.7, allocations: 7.812 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/12.7, allocations: 202.5 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/12.7, allocations: 7.594 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/12.7, allocations: 35.59 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/12.7, allocations: 17.97 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/12.7, allocations: 11.25 kB / 3.937 GB, free: 107.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/12.71, allocations: 2.222 MB / 3.939 GB, free: 106.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/12.71, allocations: 354.3 kB / 3.94 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000611/12.71, allocations: 30.44 kB / 3.94 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/12.71, allocations: 129.7 kB / 3.94 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/12.71, allocations: 72.64 kB / 3.94 GB, free: 106 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/12.71, allocations: 50.52 kB / 3.94 GB, free: 106 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00176/12.72, allocations: 0.7433 MB / 3.941 GB, free: 105.9 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.42e-07/12.72, allocations: 0 / 3.941 GB, free: 105.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005661/12.72, allocations: 1.068 MB / 3.942 GB, free: 105.8 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.0103/12.73, allocations: 6.384 MB / 3.948 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005227/12.74, allocations: 2.032 MB / 3.95 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/12.74, allocations: 0 / 3.95 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/12.74, allocations: 0.675 MB / 3.951 GB, free: 101 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005815/12.74, allocations: 0.5902 MB / 3.951 GB, free: 100.9 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/12.75, allocations: 2.286 MB / 3.953 GB, free: 99.24 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009422/12.75, allocations: 1.237 MB / 3.955 GB, free: 98.19 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004478/12.76, allocations: 468.4 kB / 3.955 GB, free: 97.88 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/12.76, allocations: 0.5217 MB / 3.956 GB, free: 97.41 MB / 0.7917 GB Notification: Performance of SimCode: time 2.334e-06/12.76, allocations: 0 / 3.956 GB, free: 97.41 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1848/12.94, allocations: 72.94 MB / 4.027 GB, free: 28.69 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/12.94, allocations: 218.2 kB / 4.027 GB, free: 28.46 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.288/19.23, allocations: 0 / 4.027 GB, free: 28.46 MB / 0.7917 GB