Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.025/4.025, allocations: 432.8 MB / 444.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.996e-05/5e-05, allocations: 4.781 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.572/7.873, allocations: 2.498 GB / 3.129 GB, free: 114.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/7.874, allocations: 91.02 kB / 3.129 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.04/19.91, allocations: 2.243 GB / 5.372 GB, free: 82.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.773e-06/19.91, allocations: 0 / 5.372 GB, free: 82.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001773/19.91, allocations: 157.3 kB / 5.372 GB, free: 82.77 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.03253/19.95, allocations: 5.654 MB / 5.377 GB, free: 80.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/19.95, allocations: 9.75 kB / 5.377 GB, free: 80.44 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00374/19.95, allocations: 0.5879 MB / 5.378 GB, free: 80.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/19.97, allocations: 1.337 MB / 5.379 GB, free: 80.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03345/20, allocations: 7.109 MB / 5.386 GB, free: 79.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007254/20, allocations: 326 kB / 5.386 GB, free: 79.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/20, allocations: 446.2 kB / 5.387 GB, free: 79.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/20.03, allocations: 5.713 MB / 5.392 GB, free: 78.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003928/20.03, allocations: 3.875 kB / 5.392 GB, free: 78.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002504/20.03, allocations: 182.9 kB / 5.393 GB, free: 78.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/20.03, allocations: 206.4 kB / 5.393 GB, free: 78.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/20.05, allocations: 4.905 MB / 5.398 GB, free: 78.63 MB / 0.8855 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.05964/20.11, allocations: 25.46 MB / 5.422 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/20.12, allocations: 4.1 MB / 5.426 GB, free: 67.57 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/20.13, allocations: 2.134 MB / 5.429 GB, free: 67.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/20.13, allocations: 0.9085 MB / 5.429 GB, free: 66.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005615/20.14, allocations: 1.823 MB / 5.431 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=282): time 7.935e-06/20.14, allocations: 0 / 5.431 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=286): time 0.03099/20.17, allocations: 8.266 MB / 5.439 GB, free: 63.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/20.17, allocations: 251.6 kB / 5.44 GB, free: 63.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/20.18, allocations: 4.205 MB / 5.444 GB, free: 61.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009602/20.18, allocations: 84.55 kB / 5.444 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004219/20.18, allocations: 2.477 MB / 5.446 GB, free: 59.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/20.19, allocations: 0.991 MB / 5.447 GB, free: 58.92 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/20.19, allocations: 62.73 kB / 5.447 GB, free: 58.88 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003204/20.19, allocations: 430 kB / 5.448 GB, free: 58.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/20.19, allocations: 1.474 MB / 5.449 GB, free: 57.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/20.2, allocations: 2.326 MB / 5.451 GB, free: 56.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005139/20.2, allocations: 1.959 MB / 5.453 GB, free: 55.76 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/20.2, allocations: 3.938 kB / 5.453 GB, free: 55.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01418/20.22, allocations: 4.344 MB / 5.457 GB, free: 54.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001379/20.22, allocations: 5.73 MB / 5.463 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-05/20.22, allocations: 13.84 kB / 5.463 GB, free: 47.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/20.22, allocations: 213.7 kB / 5.463 GB, free: 47.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/20.22, allocations: 0.6585 MB / 5.464 GB, free: 47.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/20.23, allocations: 3.413 MB / 5.467 GB, free: 44.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/20.24, allocations: 0.544 MB / 5.468 GB, free: 44.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009808/20.24, allocations: 129.4 kB / 5.468 GB, free: 44.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/20.24, allocations: 3.688 kB / 5.468 GB, free: 44.69 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0115/20.25, allocations: 3.906 MB / 5.472 GB, free: 43.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/20.25, allocations: 15.03 kB / 5.472 GB, free: 43.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009039/20.25, allocations: 208.2 kB / 5.472 GB, free: 43.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005649/20.26, allocations: 0.6436 MB / 5.473 GB, free: 43.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/20.26, allocations: 4.056 MB / 5.476 GB, free: 39.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/20.27, allocations: 0.5286 MB / 5.477 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009812/20.27, allocations: 123.1 kB / 5.477 GB, free: 39.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (353): * Single equations (assignments): 347 * 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.001492/20.28, allocations: 324.9 kB / 5.477 GB, free: 39.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00187/20.28, allocations: 470.3 kB / 5.478 GB, free: 38.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/20.29, allocations: 4.092 MB / 5.482 GB, free: 35.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-05/20.29, allocations: 35.06 kB / 5.482 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/20.29, allocations: 0 / 5.482 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009887/20.3, allocations: 3.39 MB / 5.485 GB, free: 32.06 MB / 0.8855 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.03058/20.33, allocations: 10.25 MB / 5.495 GB, free: 23.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/20.33, allocations: 3.938 kB / 5.495 GB, free: 23.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00616/20.34, allocations: 0.6476 MB / 5.496 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/20.34, allocations: 167.8 kB / 5.496 GB, free: 23.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/20.34, allocations: 87.3 kB / 5.496 GB, free: 22.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/20.34, allocations: 3.31 MB / 5.499 GB, free: 19.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/20.34, allocations: 7.938 kB / 5.499 GB, free: 19.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/20.36, allocations: 6.694 MB / 5.506 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00496/20.37, allocations: 1.105 MB / 5.507 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/20.37, allocations: 75.64 kB / 5.507 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008422/20.38, allocations: 479.7 kB / 5.508 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008811/20.38, allocations: 172.7 kB / 5.508 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004602/20.38, allocations: 105.1 kB / 5.508 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008933/20.39, allocations: 3.299 MB / 5.511 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.51e-07/20.39, allocations: 7.344 kB / 5.511 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01984/20.41, allocations: 2.983 MB / 5.514 GB, free: 6.012 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (274): * Single equations (assignments): 266 * 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.03231/20.44, allocations: 11.53 MB / 5.525 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01819/20.46, allocations: 6.3 MB / 5.531 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/20.46, allocations: 4.781 kB / 5.531 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/20.46, allocations: 1.956 MB / 5.533 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02583/20.49, allocations: 2.943 MB / 5.536 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7477/21.24, allocations: 12.25 MB / 5.548 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/21.25, allocations: 4.238 MB / 5.552 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0232/21.27, allocations: 4.101 MB / 5.556 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006236/21.28, allocations: 2.237 MB / 5.558 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.363e-06/21.28, allocations: 3.609 kB / 5.558 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4485/21.72, allocations: 202.1 MB / 5.756 GB, free: 64.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/21.73, allocations: 243.3 kB / 5.756 GB, free: 63.78 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/33.63, allocations: 4 kB / 5.756 GB, free: 63.78 MB / 0.9011 GB