Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.087e-05, allocations: 4 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4499, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.6237, allocations: 95.47 MB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005484/0.6243, allocations: 95.92 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04174/0.6661, allocations: 8.025 MB / 0.5005 GB, free: 2.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6662, allocations: 0 / 0.5005 GB, free: 2.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.6662, allocations: 4 kB / 0.5005 GB, free: 2.879 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008429/0.667, allocations: 469.8 kB / 0.501 GB, free: 2.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.6671, allocations: 11.97 kB / 0.501 GB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.965e-05/0.6672, allocations: 50.55 kB / 0.501 GB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.6673, allocations: 19.72 kB / 0.501 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.6676, allocations: 206.7 kB / 0.5012 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.6676, allocations: 19.95 kB / 0.5013 GB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.6677, allocations: 20 kB / 0.5013 GB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.6681, allocations: 186.7 kB / 0.5015 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6682, allocations: 0 / 0.5015 GB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.6682, allocations: 7.984 kB / 0.5015 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6682, allocations: 4 kB / 0.5015 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.6685, allocations: 116.4 kB / 0.5016 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.6699, allocations: 0.5831 MB / 0.5022 GB, free: 1.055 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.6702, allocations: 46.58 kB / 0.5022 GB, free: 1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.6703, allocations: 20.88 kB / 0.5022 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.6703, allocations: 4.031 kB / 0.5022 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.6704, allocations: 34.56 kB / 0.5023 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.737e-06/0.6704, allocations: 3.938 kB / 0.5023 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003355/0.6707, allocations: 85.41 kB / 0.5023 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.6708, allocations: 51.41 kB / 0.5024 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.6711, allocations: 219.2 kB / 0.5026 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.6712, allocations: 25.7 kB / 0.5026 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.6714, allocations: 226.1 kB / 0.5028 GB, free: 304 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.6714, allocations: 19.7 kB / 0.5029 GB, free: 284 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.6714, allocations: 7.938 kB / 0.5029 GB, free: 276 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.6716, allocations: 318.8 kB / 0.5032 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.6717, allocations: 27.98 kB / 0.5032 GB, free: 15.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.6719, allocations: 112.8 kB / 0.5033 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.6721, allocations: 43.97 kB / 0.5033 GB, free: 15.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6721, allocations: 7.953 kB / 0.5033 GB, free: 15.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004381/0.6725, allocations: 141.8 kB / 0.5035 GB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6726, allocations: 8 kB / 0.5035 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.6726, allocations: 16 kB / 0.5035 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6727, allocations: 7.984 kB / 0.5035 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.6729, allocations: 31.92 kB / 0.5035 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.673, allocations: 7.938 kB / 0.5036 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.6733, allocations: 43.58 kB / 0.5036 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.6733, allocations: 8 kB / 0.5036 GB, free: 15.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001188/0.6734, allocations: 116.9 kB / 0.5037 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.6735, allocations: 27.7 kB / 0.5037 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.674, allocations: 118.8 kB / 0.5039 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.674, allocations: 4 kB / 0.5039 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.674, allocations: 0 / 0.5039 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.674, allocations: 0 / 0.5039 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.6744, allocations: 217.6 kB / 0.5041 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.6744, allocations: 11.98 kB / 0.5041 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.6746, allocations: 11.95 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6746, allocations: 0 / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6746, allocations: 4 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6746, allocations: 0 / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6746, allocations: 3.984 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.675, allocations: 187.4 kB / 0.5043 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.6751, allocations: 92.83 kB / 0.5044 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.6751, allocations: 7.953 kB / 0.5044 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.6753, allocations: 7.984 kB / 0.5044 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.6754, allocations: 7.984 kB / 0.5044 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.6754, allocations: 7.938 kB / 0.5044 GB, free: 14.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.6757, allocations: 179.1 kB / 0.5046 GB, free: 14.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6757, allocations: 0 / 0.5046 GB, free: 14.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006471/0.6764, allocations: 79.94 kB / 0.5046 GB, free: 14.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001133/0.6775, allocations: 0.8133 MB / 0.5054 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.678, allocations: 143.2 kB / 0.5056 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6781, allocations: 0 / 0.5056 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.6783, allocations: 92.2 kB / 0.5057 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.6787, allocations: 23.48 kB / 0.5057 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.6798, allocations: 314.8 kB / 0.506 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.6802, allocations: 0.7363 MB / 0.5067 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.6803, allocations: 57.25 kB / 0.5068 GB, free: 12.01 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6803, allocations: 3.938 kB / 0.5068 GB, free: 12.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.834/3.514, allocations: 5.353 MB / 0.512 GB, free: 6.668 MB / 442.7 MB