Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.785/3.785, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.98e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6237, allocations: 92.68 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.552/8.176, allocations: 2.467 GB / 3.057 GB, free: 81.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/8.176, allocations: 88.02 kB / 3.057 GB, free: 81.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 11.7/19.88, allocations: 2.227 GB / 5.284 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.863e-06/19.88, allocations: 0 / 5.284 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001477/19.88, allocations: 151.9 kB / 5.284 GB, free: 23.74 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1139 * Number of variables: 1139 Notification: Performance of Generate backend data structure: time 0.02699/19.9, allocations: 5.728 MB / 5.29 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/19.9, allocations: 11.97 kB / 5.29 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003482/19.91, allocations: 0.6047 MB / 5.29 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/19.92, allocations: 1.342 MB / 5.292 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02916/19.95, allocations: 7.891 MB / 5.299 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005444/19.95, allocations: 340.7 kB / 5.3 GB, free: 7.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/19.95, allocations: 467.9 kB / 5.3 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02426/19.98, allocations: 6.148 MB / 5.306 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003003/19.98, allocations: 7.938 kB / 5.306 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/19.98, allocations: 196 kB / 5.306 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/19.98, allocations: 208.4 kB / 5.307 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7024/20.68, allocations: 5.192 MB / 5.312 GB, free: 59.46 MB / 0.8386 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.05683/20.74, allocations: 26.91 MB / 5.338 GB, free: 48.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/20.75, allocations: 3.842 MB / 5.342 GB, free: 47.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005284/20.76, allocations: 2.217 MB / 5.344 GB, free: 47.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/20.76, allocations: 404.3 kB / 5.344 GB, free: 47.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007126/20.76, allocations: 2.226 MB / 5.346 GB, free: 47.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=292): time 6.803e-06/20.76, allocations: 0 / 5.346 GB, free: 47.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=304): time 0.07365/20.84, allocations: 15.56 MB / 5.362 GB, free: 40.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002627/20.84, allocations: 0.6181 MB / 5.362 GB, free: 40.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01504/20.85, allocations: 3.988 MB / 5.366 GB, free: 39.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/20.85, allocations: 91.33 kB / 5.366 GB, free: 39.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.005932/20.86, allocations: 2.552 MB / 5.369 GB, free: 39.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002675/20.86, allocations: 1.055 MB / 5.37 GB, free: 38.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008473/20.86, allocations: 65.41 kB / 5.37 GB, free: 38.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004828/20.86, allocations: 441.9 kB / 5.37 GB, free: 38.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005804/20.87, allocations: 1.551 MB / 5.372 GB, free: 38.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/20.88, allocations: 2.473 MB / 5.374 GB, free: 37.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/20.88, allocations: 2.064 MB / 5.376 GB, free: 37.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/20.88, allocations: 3.406 kB / 5.376 GB, free: 37.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.0166/20.9, allocations: 4.872 MB / 5.381 GB, free: 36.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003188/20.9, allocations: 7.287 MB / 5.388 GB, free: 44.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.85e-05/20.9, allocations: 17.47 kB / 5.388 GB, free: 44.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/20.9, allocations: 223.9 kB / 5.388 GB, free: 44.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007435/20.91, allocations: 0.7596 MB / 5.389 GB, free: 44.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/20.92, allocations: 3.342 MB / 5.392 GB, free: 42.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009463/20.93, allocations: 0.5149 MB / 5.393 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/20.93, allocations: 135.1 kB / 5.393 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/20.93, allocations: 3.688 kB / 5.393 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/20.94, allocations: 4.286 MB / 5.397 GB, free: 42.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.784e-05/20.94, allocations: 16.53 kB / 5.397 GB, free: 42.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/20.94, allocations: 208.8 kB / 5.397 GB, free: 42.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/20.95, allocations: 0.7023 MB / 5.398 GB, free: 42.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/20.95, allocations: 4.12 MB / 5.402 GB, free: 39.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/20.96, allocations: 496.3 kB / 5.403 GB, free: 39.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/20.97, allocations: 133.5 kB / 5.403 GB, free: 39.29 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (382): * Single equations (assignments): 376 * 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 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.002948/20.97, allocations: 337.6 kB / 5.403 GB, free: 39.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003246/20.97, allocations: 482.3 kB / 5.403 GB, free: 38.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02351/21, allocations: 4.546 MB / 5.408 GB, free: 38.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/21, allocations: 36 kB / 5.408 GB, free: 38.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/21, allocations: 3.906 kB / 5.408 GB, free: 38.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01851/21.01, allocations: 3.781 MB / 5.412 GB, free: 38.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05084/21.07, allocations: 11.42 MB / 5.423 GB, free: 36.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/21.07, allocations: 4.875 kB / 5.423 GB, free: 36.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01117/21.08, allocations: 0.7311 MB / 5.423 GB, free: 36.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000952/21.08, allocations: 173 kB / 5.424 GB, free: 36.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009866/21.08, allocations: 96.78 kB / 5.424 GB, free: 36.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/21.1, allocations: 5.398 MB / 5.429 GB, free: 32.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/21.1, allocations: 13.02 kB / 5.429 GB, free: 32.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/21.12, allocations: 7.585 MB / 5.436 GB, free: 30.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005003/21.13, allocations: 1.093 MB / 5.437 GB, free: 30.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/21.13, allocations: 80.72 kB / 5.438 GB, free: 30.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008387/21.14, allocations: 460.9 kB / 5.438 GB, free: 30.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/21.14, allocations: 204 kB / 5.438 GB, free: 30.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004974/21.14, allocations: 123.8 kB / 5.438 GB, free: 30.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.008575/21.15, allocations: 3.135 MB / 5.441 GB, free: 30.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.31e-07/21.15, allocations: 0 / 5.441 GB, free: 30.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01958/21.17, allocations: 2.951 MB / 5.444 GB, free: 30.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.port_a1.h_outflow,hex.port_b1.h_outflow,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.hOut_internal,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.hOut_internal,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,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 (296): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02738/21.19, allocations: 12.38 MB / 5.456 GB, free: 25.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01871/21.21, allocations: 6.804 MB / 5.463 GB, free: 24.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/21.21, allocations: 4.438 kB / 5.463 GB, free: 24.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/21.22, allocations: 2.291 MB / 5.465 GB, free: 24.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02233/21.24, allocations: 2.862 MB / 5.468 GB, free: 24.54 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/21.28, allocations: 12.87 MB / 5.481 GB, free: 22.24 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008498/21.29, allocations: 4.295 MB / 5.485 GB, free: 21.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0222/21.31, allocations: 4.036 MB / 5.489 GB, free: 21.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006057/21.32, allocations: 2.318 MB / 5.491 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of SimCode: time 2.781e-05/21.32, allocations: 1.375 kB / 5.491 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/22.51, allocations: 206.4 MB / 5.693 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/22.51, allocations: 244.9 kB / 5.693 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/35.13, allocations: 0 / 5.693 GB, free: 102.2 MB / 0.8855 GB