Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.327/4.327, allocations: 404.1 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.779e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6894, allocations: 92.69 MB / 0.585 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.097/8.787, allocations: 2.439 GB / 3.024 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/8.787, allocations: 88.14 kB / 3.024 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.264/14.05, allocations: 0.8681 GB / 3.892 GB, free: 126.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.685e-06/14.05, allocations: 0 / 3.892 GB, free: 126.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002619/14.05, allocations: 36.5 kB / 3.892 GB, free: 126.2 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.009864/14.06, allocations: 1.983 MB / 3.894 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/14.06, allocations: 7.75 kB / 3.894 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/14.07, allocations: 434.3 kB / 3.894 GB, free: 125.1 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/14.07, allocations: 1.226 MB / 3.895 GB, free: 124.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/14.07, allocations: 38 kB / 3.895 GB, free: 124.8 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005494/14.07, allocations: 73.41 kB / 3.896 GB, free: 124.8 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003956/14.08, allocations: 0.9868 MB / 3.897 GB, free: 124.8 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004458/14.08, allocations: 1.225 MB / 3.898 GB, free: 124.5 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.469e-05/14.08, allocations: 7.281 kB / 3.898 GB, free: 124.5 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002585/14.08, allocations: 3.188 kB / 3.898 GB, free: 124.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/14.08, allocations: 51.2 kB / 3.898 GB, free: 124.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/14.1, allocations: 5.881 MB / 3.904 GB, free: 121.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/14.1, allocations: 0.7996 MB / 3.904 GB, free: 121 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/14.1, allocations: 469.6 kB / 3.905 GB, free: 121 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/14.1, allocations: 339.4 kB / 3.905 GB, free: 120.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/14.11, allocations: 0.6785 MB / 3.906 GB, free: 120.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=92): time 5.58e-06/14.11, allocations: 2.469 kB / 3.906 GB, free: 120.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.006056/14.11, allocations: 1.075 MB / 3.907 GB, free: 120.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/14.11, allocations: 432.9 kB / 3.907 GB, free: 119.9 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/14.11, allocations: 0.7767 MB / 3.908 GB, free: 119.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/14.11, allocations: 33.48 kB / 3.908 GB, free: 119.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008564/14.12, allocations: 0.6245 MB / 3.909 GB, free: 119.4 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000547/14.12, allocations: 295.3 kB / 3.909 GB, free: 119.2 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/14.12, allocations: 0 / 3.909 GB, free: 119.2 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001345/14.12, allocations: 354.3 kB / 3.909 GB, free: 118.9 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/14.12, allocations: 400.9 kB / 3.91 GB, free: 118.9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/14.12, allocations: 0.7281 MB / 3.91 GB, free: 118.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/14.12, allocations: 0.5795 MB / 3.911 GB, free: 118.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/14.12, allocations: 2.969 kB / 3.911 GB, free: 118.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006002/14.13, allocations: 1.31 MB / 3.912 GB, free: 118.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006725/14.13, allocations: 2.597 MB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/14.13, allocations: 13.53 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.624e-05/14.13, allocations: 13 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/14.13, allocations: 290.5 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.34e-05/14.13, allocations: 14.25 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/14.14, allocations: 184.6 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/14.14, allocations: 63.72 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/14.14, allocations: 3.375 kB / 3.915 GB, free: 115.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005391/14.14, allocations: 1.166 MB / 3.916 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/14.14, allocations: 10.5 kB / 3.916 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/14.14, allocations: 10.94 kB / 3.916 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/14.15, allocations: 277.1 kB / 3.917 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/14.15, allocations: 17.34 kB / 3.917 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/14.15, allocations: 149.3 kB / 3.917 GB, free: 115.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/14.15, allocations: 59.75 kB / 3.917 GB, free: 115.6 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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.0006321/14.15, allocations: 214.2 kB / 3.917 GB, free: 115.4 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004992/14.16, allocations: 1.068 MB / 3.918 GB, free: 115.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/14.16, allocations: 130.2 kB / 3.918 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/14.16, allocations: 1.157 MB / 3.919 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/14.16, allocations: 6.75 kB / 3.919 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/14.16, allocations: 3.312 kB / 3.919 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/14.16, allocations: 13.73 kB / 3.919 GB, free: 115.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/14.17, allocations: 3.231 MB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/14.17, allocations: 6.688 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/14.18, allocations: 205.5 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-05/14.18, allocations: 8.312 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/14.18, allocations: 26.08 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.209e-05/14.18, allocations: 17.47 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/14.18, allocations: 14.91 kB / 3.923 GB, free: 114.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/14.18, allocations: 2.23 MB / 3.925 GB, free: 113.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/14.18, allocations: 343.3 kB / 3.925 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000689/14.19, allocations: 22.58 kB / 3.925 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/14.19, allocations: 115.2 kB / 3.925 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/14.19, allocations: 63.59 kB / 3.926 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/14.19, allocations: 51.55 kB / 3.926 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001461/14.19, allocations: 0.5797 MB / 3.926 GB, free: 113 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.052e-06/14.19, allocations: 0 / 3.926 GB, free: 113 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005797/14.2, allocations: 1.001 MB / 3.927 GB, free: 112.8 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.01321/14.21, allocations: 6.699 MB / 3.934 GB, free: 109.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005536/14.22, allocations: 2.003 MB / 3.936 GB, free: 109 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/14.22, allocations: 3.812 kB / 3.936 GB, free: 109 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/14.22, allocations: 0.6723 MB / 3.936 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005666/14.22, allocations: 458.5 kB / 3.937 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009178/14.23, allocations: 2.205 MB / 3.939 GB, free: 108 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/14.23, allocations: 1.241 MB / 3.94 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00523/14.24, allocations: 433.2 kB / 3.94 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/14.24, allocations: 0.5217 MB / 3.941 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of SimCode: time 2.345e-06/14.24, allocations: 0 / 3.941 GB, free: 107.3 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1659/14.41, allocations: 49.2 MB / 3.989 GB, free: 78.3 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002875/14.41, allocations: 210.7 kB / 3.989 GB, free: 78.05 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.736/20.14, allocations: 0 / 3.989 GB, free: 78.05 MB / 0.7917 GB