Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.348/4.348, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.144e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.041/8.265, allocations: 2.492 GB / 3.17 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/8.266, allocations: 88.47 kB / 3.17 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.08/20.35, allocations: 2.357 GB / 5.528 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.365e-06/20.35, allocations: 0 / 5.528 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001294/20.35, allocations: 150.2 kB / 5.528 GB, free: 11 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02564/20.37, allocations: 5.715 MB / 5.533 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/20.37, allocations: 14.55 kB / 5.533 GB, free: 5.195 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003251/20.38, allocations: 0.6413 MB / 5.534 GB, free: 4.543 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/20.39, allocations: 1.409 MB / 5.535 GB, free: 3.125 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8073/21.2, allocations: 7.063 MB / 5.542 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008355/21.2, allocations: 353.1 kB / 5.543 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/21.2, allocations: 494.7 kB / 5.543 GB, free: 104.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/21.23, allocations: 6.315 MB / 5.549 GB, free: 104 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/21.23, allocations: 11.06 kB / 5.549 GB, free: 104 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/21.23, allocations: 194.1 kB / 5.549 GB, free: 104 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004196/21.23, allocations: 210.4 kB / 5.55 GB, free: 104 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/21.25, allocations: 5.549 MB / 5.555 GB, free: 104 MB / 0.9323 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.07143/21.32, allocations: 26.65 MB / 5.581 GB, free: 94.77 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008673/21.33, allocations: 3.773 MB / 5.585 GB, free: 94.52 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005831/21.34, allocations: 2.421 MB / 5.587 GB, free: 94.49 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/21.34, allocations: 1.009 MB / 5.588 GB, free: 93.45 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005685/21.34, allocations: 2.141 MB / 5.59 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 7.454e-06/21.34, allocations: 0 / 5.59 GB, free: 93.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.0331/21.38, allocations: 9.433 MB / 5.599 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/21.38, allocations: 143.6 kB / 5.599 GB, free: 91.58 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/21.39, allocations: 4.231 MB / 5.604 GB, free: 91.28 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/21.39, allocations: 91.7 kB / 5.604 GB, free: 91.25 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003847/21.39, allocations: 2.498 MB / 5.606 GB, free: 90.67 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002109/21.4, allocations: 1.086 MB / 5.607 GB, free: 90.08 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/21.4, allocations: 59.97 kB / 5.607 GB, free: 90.08 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002783/21.4, allocations: 443.5 kB / 5.608 GB, free: 89.77 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/21.4, allocations: 1.679 MB / 5.609 GB, free: 89.76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/21.41, allocations: 2.46 MB / 5.612 GB, free: 89.02 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005497/21.41, allocations: 2.215 MB / 5.614 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-05/21.41, allocations: 0 / 5.614 GB, free: 88.89 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01421/21.43, allocations: 4.802 MB / 5.619 GB, free: 88.47 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00131/21.43, allocations: 5.683 MB / 5.624 GB, free: 82.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.202e-05/21.43, allocations: 15.09 kB / 5.624 GB, free: 82.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/21.43, allocations: 122.6 kB / 5.624 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006562/21.43, allocations: 0.7153 MB / 5.625 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/21.44, allocations: 2.745 MB / 5.628 GB, free: 80.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/21.45, allocations: 0.5379 MB / 5.628 GB, free: 80.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/21.45, allocations: 130.4 kB / 5.628 GB, free: 80.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/21.45, allocations: 3.75 kB / 5.628 GB, free: 80.57 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01217/21.46, allocations: 4.434 MB / 5.633 GB, free: 80.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/21.46, allocations: 12.58 kB / 5.633 GB, free: 80.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/21.46, allocations: 123.8 kB / 5.633 GB, free: 80.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/21.47, allocations: 0.7013 MB / 5.633 GB, free: 80.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/21.47, allocations: 2.142 MB / 5.636 GB, free: 79.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009914/21.48, allocations: 0.53 MB / 5.636 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/21.48, allocations: 130.2 kB / 5.636 GB, free: 79.02 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001249/21.48, allocations: 367.2 kB / 5.637 GB, free: 78.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/21.49, allocations: 467 kB / 5.637 GB, free: 78.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/21.5, allocations: 4.7 MB / 5.642 GB, free: 78.34 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/21.5, allocations: 29.44 kB / 5.642 GB, free: 78.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/21.5, allocations: 9.734 kB / 5.642 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009987/21.51, allocations: 3.932 MB / 5.645 GB, free: 78.01 MB / 0.9323 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.03296/21.54, allocations: 11.65 MB / 5.657 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/21.54, allocations: 7.781 kB / 5.657 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006599/21.55, allocations: 0.7101 MB / 5.657 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005763/21.55, allocations: 109.2 kB / 5.658 GB, free: 76.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/21.55, allocations: 96.39 kB / 5.658 GB, free: 76.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/21.55, allocations: 2.723 MB / 5.66 GB, free: 75.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/21.55, allocations: 3.969 kB / 5.66 GB, free: 75.03 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/21.57, allocations: 7.746 MB / 5.668 GB, free: 73.66 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005347/21.58, allocations: 1.191 MB / 5.669 GB, free: 73.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/21.58, allocations: 83.75 kB / 5.669 GB, free: 73.33 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009046/21.59, allocations: 494.1 kB / 5.67 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009939/21.59, allocations: 190.6 kB / 5.67 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005142/21.59, allocations: 119.5 kB / 5.67 GB, free: 73.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.009886/21.6, allocations: 3.333 MB / 5.673 GB, free: 73.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.91e-07/21.6, allocations: 0 / 5.673 GB, free: 73.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02115/21.62, allocations: 2.943 MB / 5.676 GB, free: 73.08 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (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,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0255/21.65, allocations: 11.94 MB / 5.688 GB, free: 69.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01745/21.66, allocations: 6.928 MB / 5.694 GB, free: 68.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/21.66, allocations: 6.5 kB / 5.694 GB, free: 68.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005509/21.67, allocations: 2.295 MB / 5.697 GB, free: 68.69 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02527/21.69, allocations: 2.921 MB / 5.7 GB, free: 68.63 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03956/21.73, allocations: 13.07 MB / 5.712 GB, free: 66.39 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/21.74, allocations: 4.515 MB / 5.717 GB, free: 81.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02274/21.77, allocations: 4.354 MB / 5.721 GB, free: 81.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006262/21.77, allocations: 2.281 MB / 5.723 GB, free: 81.48 MB / 0.948 GB Notification: Performance of SimCode: time 1.833e-06/21.77, allocations: 0 / 5.723 GB, free: 81.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.308/23.08, allocations: 199.9 MB / 5.918 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/23.08, allocations: 250.2 kB / 5.919 GB, free: 128 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/34.55, allocations: 0 / 5.919 GB, free: 128 MB / 0.9636 GB