Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.062/3.062, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.53e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4751, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.6986, allocations: 95.35 MB / 449.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004237/0.699, allocations: 95.92 kB / 449.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07318/0.7722, allocations: 12.02 MB / 461.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7723, allocations: 0 / 461.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.7723, allocations: 4 kB / 461.9 MB, free: 3.523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001283/0.7736, allocations: 0.5898 MB / 462.5 MB, free: 2.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.7737, allocations: 12.03 kB / 462.5 MB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.7738, allocations: 58.53 kB / 462.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.774, allocations: 39.53 kB / 462.6 MB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.7744, allocations: 234.5 kB / 462.8 MB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.7744, allocations: 16.78 kB / 462.8 MB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.7745, allocations: 20 kB / 462.9 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005871/0.7751, allocations: 213.5 kB / 463.1 MB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.7759, allocations: 294.1 kB / 463.4 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.776, allocations: 7.938 kB / 463.4 MB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.776, allocations: 4 kB / 463.4 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.7761, allocations: 8 kB / 463.4 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.7784, allocations: 0.7931 MB / 464.2 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.7788, allocations: 78.56 kB / 464.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.7789, allocations: 28.91 kB / 464.3 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.779, allocations: 0 / 464.3 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.779, allocations: 38.56 kB / 464.3 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/0.779, allocations: 0 / 464.3 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000519/0.7796, allocations: 109.4 kB / 464.4 MB, free: 0.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7796, allocations: 51.41 kB / 464.5 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.78, allocations: 230 kB / 464.7 MB, free: 0.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.7801, allocations: 29.7 kB / 464.7 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.7804, allocations: 255.3 kB / 465 MB, free: 256 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.7805, allocations: 39.42 kB / 465 MB, free: 216 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.7805, allocations: 0 / 465 MB, free: 216 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.3888/1.169, allocations: 335.6 kB / 465.3 MB, free: 96.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.17, allocations: 35.47 kB / 465.4 MB, free: 96.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.17, allocations: 218.3 kB / 465.6 MB, free: 96.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/1.17, allocations: 81.05 kB / 465.7 MB, free: 96.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.17, allocations: 2.156 kB / 465.7 MB, free: 96.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009731/1.171, allocations: 260.1 kB / 465.9 MB, free: 96.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/1.171, allocations: 8.109 kB / 465.9 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.171, allocations: 28.84 kB / 466 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.535e-05/1.172, allocations: 10.75 kB / 466 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/1.172, allocations: 58.45 kB / 466 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/1.172, allocations: 14.14 kB / 466 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/1.173, allocations: 37.73 kB / 466.1 MB, free: 96.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/1.173, allocations: 24.97 kB / 466.1 MB, free: 96.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001273/1.173, allocations: 120.1 kB / 466.2 MB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/1.173, allocations: 24.06 kB / 466.2 MB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008706/1.174, allocations: 179.7 kB / 466.4 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.174, allocations: 1.906 kB / 466.4 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.174, allocations: 0.7812 kB / 466.4 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.174, allocations: 0 / 466.4 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/1.174, allocations: 255.2 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001405/1.175, allocations: 19.19 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/1.175, allocations: 15.72 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.175, allocations: 0.625 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/1.175, allocations: 4.562 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.175, allocations: 0.9062 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.175, allocations: 1.281 kB / 466.7 MB, free: 96.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/1.176, allocations: 212.1 kB / 466.9 MB, free: 96.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/1.176, allocations: 95.73 kB / 467 MB, free: 96.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/1.176, allocations: 5.453 kB / 467 MB, free: 96.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/1.177, allocations: 13 kB / 467 MB, free: 96.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.177, allocations: 8.047 kB / 467 MB, free: 96.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/1.177, allocations: 5.953 kB / 467 MB, free: 96.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004293/1.177, allocations: 157.8 kB / 467.2 MB, free: 96 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.177, allocations: 0.7812 kB / 467.2 MB, free: 96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002201/1.18, allocations: 147 kB / 467.3 MB, free: 96 MB / 394.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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002495/1.182, allocations: 0.9321 MB / 468.3 MB, free: 95.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/1.184, allocations: 270.8 kB / 468.5 MB, free: 95.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.184, allocations: 0 / 468.5 MB, free: 95.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/1.184, allocations: 170.7 kB / 468.7 MB, free: 95.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/1.185, allocations: 21.88 kB / 468.7 MB, free: 95.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/1.188, allocations: 426.2 kB / 469.1 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/1.189, allocations: 0.7831 MB / 469.9 MB, free: 94.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00024/1.189, allocations: 18.06 kB / 469.9 MB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/1.189, allocations: 102.8 kB / 470 MB, free: 94.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/1.189, allocations: 0 / 470 MB, free: 94.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07083/1.26, allocations: 9.031 MB / 479.1 MB, free: 93.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004734/1.261, allocations: 196 kB / 479.3 MB, free: 93.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.074/5.334, allocations: 0 / 479.3 MB, free: 93.34 MB / 394.7 MB "" Variables in the reference:time,Re,m_flow[1],m_flow[2],m_flow[3],m_flow[4],Nu[1],Nu[2],Nu[3],Nu[4],input_Re.y Variables in the result:A_fr,D_c_1,D_c_2,D_c_3,D_c_4,F_p_1,F_p_2,F_p_3,F_p_4,L_2,L_h_2,L_p_2,N_1,N_2,N_3,N_4,Nu[1],Nu[2],Nu[3],Nu[4],P_l_1,P_l_2,P_l_3,P_l_4,P_t_1,P_t_2,P_t_3,P_t_4,Re,S_h_3,S_p_3,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube31.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube34.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube37.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube40.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube44.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube47.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube50.Re,_D_TMP_Modelica_Fluid_Dissipation_HeatTransfer_HeatExchanger_kc__roundTube53.Re,cp,delta_f,delta_f_3,eta,input_Re.duration,input_Re.height,input_Re.offset,input_Re.startTime,input_Re.y,lambda,m_flow[1],m_flow[2],m_flow[3],m_flow[4],m_flow_IN_con_1.A_fr,m_flow_IN_con_1.D_c,m_flow_IN_con_1.F_p,m_flow_IN_con_1.L,m_flow_IN_con_1.L_h,m_flow_IN_con_1.L_p,m_flow_IN_con_1.N,m_flow_IN_con_1.P_d,m_flow_IN_con_1.P_l,m_flow_IN_con_1.P_t,m_flow_IN_con_1.S_h,m_flow_IN_con_1.S_p,m_flow_IN_con_1.X_f,m_flow_IN_con_1.delta_f,m_flow_IN_con_1.geometry,m_flow_IN_con_2.A_fr,m_flow_IN_con_2.D_c,m_flow_IN_con_2.F_p,m_flow_IN_con_2.L,m_flow_IN_con_2.L_h,m_flow_IN_con_2.L_p,m_flow_IN_con_2.N,m_flow_IN_con_2.P_d,m_flow_IN_con_2.P_l,m_flow_IN_con_2.P_t,m_flow_IN_con_2.S_h,m_flow_IN_con_2.S_p,m_flow_IN_con_2.X_f,m_flow_IN_con_2.delta_f,m_flow_IN_con_2.geometry,m_flow_IN_con_3.A_fr,m_flow_IN_con_3.D_c,m_flow_IN_con_3.F_p,m_flow_IN_con_3.L,m_flow_IN_con_3.L_h,m_flow_IN_con_3.L_p,m_flow_IN_con_3.N,m_flow_IN_con_3.P_d,m_flow_IN_con_3.P_l,m_flow_IN_con_3.P_t,m_flow_IN_con_3.S_h,m_flow_IN_con_3.S_p,m_flow_IN_con_3.X_f,m_flow_IN_con_3.delta_f,m_flow_IN_con_3.geometry,m_flow_IN_con_4.A_fr,m_flow_IN_con_4.D_c,m_flow_IN_con_4.F_p,m_flow_IN_con_4.L,m_flow_IN_con_4.L_h,m_flow_IN_con_4.L_p,m_flow_IN_con_4.N,m_flow_IN_con_4.P_d,m_flow_IN_con_4.P_l,m_flow_IN_con_4.P_t,m_flow_IN_con_4.S_h,m_flow_IN_con_4.S_p,m_flow_IN_con_4.X_f,m_flow_IN_con_4.delta_f,m_flow_IN_con_4.geometry,m_flow_IN_var_1.cp,m_flow_IN_var_1.eta,m_flow_IN_var_1.lambda,m_flow_IN_var_1.m_flow,m_flow_IN_var_1.rho,m_flow_IN_var_2.cp,m_flow_IN_var_2.eta,m_flow_IN_var_2.lambda,m_flow_IN_var_2.m_flow,m_flow_IN_var_2.rho,m_flow_IN_var_3.cp,m_flow_IN_var_3.eta,m_flow_IN_var_3.lambda,m_flow_IN_var_3.m_flow,m_flow_IN_var_3.rho,m_flow_IN_var_4.cp,m_flow_IN_var_4.eta,m_flow_IN_var_4.lambda,m_flow_IN_var_4.m_flow,m_flow_IN_var_4.rho,n,rho,time