Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.334/4.334, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.787e-05/4.798e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2671, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.131/8.399, allocations: 2.503 GB / 3.175 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/8.399, allocations: 92.61 kB / 3.175 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.3/19.69, allocations: 2.25 GB / 5.425 GB, free: 100 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.394e-06/19.69, allocations: 0 / 5.425 GB, free: 100 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001343/19.7, allocations: 156.4 kB / 5.426 GB, free: 100 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.02583/19.72, allocations: 5.673 MB / 5.431 GB, free: 97.62 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/19.72, allocations: 12.09 kB / 5.431 GB, free: 97.62 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002855/19.72, allocations: 0.576 MB / 5.432 GB, free: 97.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/19.74, allocations: 1.333 MB / 5.433 GB, free: 97.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/19.76, allocations: 7.056 MB / 5.44 GB, free: 96.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004661/19.76, allocations: 329.5 kB / 5.44 GB, free: 96.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/19.77, allocations: 449.7 kB / 5.441 GB, free: 96.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/19.79, allocations: 5.743 MB / 5.446 GB, free: 95.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/19.79, allocations: 7.781 kB / 5.446 GB, free: 95.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/19.79, allocations: 183.5 kB / 5.446 GB, free: 95.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/19.79, allocations: 196.8 kB / 5.447 GB, free: 95.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/19.8, allocations: 4.914 MB / 5.451 GB, free: 95.68 MB / 0.948 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.0564/19.86, allocations: 25.51 MB / 5.476 GB, free: 81.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/19.87, allocations: 4.107 MB / 5.48 GB, free: 79.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/19.87, allocations: 2.157 MB / 5.482 GB, free: 78.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/19.87, allocations: 0.9082 MB / 5.483 GB, free: 77.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004899/19.88, allocations: 1.846 MB / 5.485 GB, free: 77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 7.725e-06/19.88, allocations: 3.938 kB / 5.485 GB, free: 76.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=288): time 0.02892/19.91, allocations: 8.362 MB / 5.493 GB, free: 73.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/19.91, allocations: 245.2 kB / 5.494 GB, free: 72.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/19.92, allocations: 4.202 MB / 5.498 GB, free: 71.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009733/19.92, allocations: 90.33 kB / 5.498 GB, free: 71.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003739/19.92, allocations: 2.463 MB / 5.5 GB, free: 69.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/19.93, allocations: 0.9998 MB / 5.501 GB, free: 68.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000331/19.93, allocations: 62.47 kB / 5.501 GB, free: 68.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002422/19.93, allocations: 431.6 kB / 5.502 GB, free: 68.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/19.93, allocations: 1.481 MB / 5.503 GB, free: 67.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004971/19.94, allocations: 2.333 MB / 5.505 GB, free: 66.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/19.94, allocations: 1.956 MB / 5.507 GB, free: 65.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/19.94, allocations: 11.47 kB / 5.507 GB, free: 65.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01233/19.95, allocations: 4.392 MB / 5.512 GB, free: 63.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/19.95, allocations: 5.721 MB / 5.517 GB, free: 57.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-05/19.95, allocations: 19.03 kB / 5.517 GB, free: 57.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/19.96, allocations: 205 kB / 5.517 GB, free: 57.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/19.96, allocations: 0.6689 MB / 5.518 GB, free: 57.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/19.97, allocations: 3.394 MB / 5.521 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009823/19.97, allocations: 0.5568 MB / 5.522 GB, free: 53.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008146/19.98, allocations: 130.1 kB / 5.522 GB, free: 53.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/19.98, allocations: 7.422 kB / 5.522 GB, free: 53.19 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01086/19.99, allocations: 3.968 MB / 5.526 GB, free: 49.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.632e-05/19.99, allocations: 18.62 kB / 5.526 GB, free: 49.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/19.99, allocations: 205.2 kB / 5.526 GB, free: 49.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/19.99, allocations: 0.6549 MB / 5.527 GB, free: 48.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005649/20, allocations: 4.05 MB / 5.531 GB, free: 44.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009625/20.01, allocations: 0.5398 MB / 5.531 GB, free: 44.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008463/20.01, allocations: 125.9 kB / 5.531 GB, free: 44.44 MB / 0.948 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 (354): * Single equations (assignments): 348 * 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.001128/20.01, allocations: 320.7 kB / 5.532 GB, free: 44.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/20.01, allocations: 470.3 kB / 5.532 GB, free: 43.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/20.02, allocations: 4.166 MB / 5.536 GB, free: 40.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/20.02, allocations: 28 kB / 5.536 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/20.02, allocations: 0 / 5.536 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00873/20.03, allocations: 3.456 MB / 5.539 GB, free: 36.98 MB / 0.948 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.02916/20.06, allocations: 10.43 MB / 5.55 GB, free: 28.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/20.06, allocations: 4 kB / 5.55 GB, free: 28.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006071/20.07, allocations: 0.6583 MB / 5.55 GB, free: 27.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007768/20.07, allocations: 165.6 kB / 5.55 GB, free: 27.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005698/20.07, allocations: 89.56 kB / 5.551 GB, free: 27.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/20.07, allocations: 3.31 MB / 5.554 GB, free: 24.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/20.07, allocations: 10.81 kB / 5.554 GB, free: 24.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/20.09, allocations: 6.861 MB / 5.561 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/20.09, allocations: 1.13 MB / 5.562 GB, free: 16.97 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/20.1, allocations: 79.78 kB / 5.562 GB, free: 16.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00862/20.1, allocations: 482.4 kB / 5.562 GB, free: 16.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009116/20.11, allocations: 181.5 kB / 5.562 GB, free: 16.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005551/20.11, allocations: 106.3 kB / 5.562 GB, free: 16.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009084/20.12, allocations: 3.303 MB / 5.566 GB, free: 13.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.01e-07/20.12, allocations: 1.859 kB / 5.566 GB, free: 13.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01995/20.14, allocations: 2.99 MB / 5.569 GB, free: 10.51 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (278): * Single equations (assignments): 270 * 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.7579/20.89, allocations: 11.28 MB / 5.58 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01931/20.91, allocations: 6.308 MB / 5.586 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/20.91, allocations: 11.56 kB / 5.586 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005929/20.92, allocations: 1.966 MB / 5.588 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02572/20.94, allocations: 2.938 MB / 5.591 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04474/20.99, allocations: 12.32 MB / 5.603 GB, free: 101.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009702/21, allocations: 4.263 MB / 5.607 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02247/21.02, allocations: 3.987 MB / 5.611 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00674/21.03, allocations: 2.236 MB / 5.613 GB, free: 100.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.846e-06/21.03, allocations: 0 / 5.613 GB, free: 100.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4686/21.5, allocations: 202.4 MB / 5.81 GB, free: 66.63 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/21.5, allocations: 243.2 kB / 5.811 GB, free: 66.29 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/33.26, allocations: 3.938 kB / 5.811 GB, free: 66.29 MB / 0.948 GB