Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.212/3.212, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.18e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.419, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.7207, allocations: 95.77 MB / 450.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006142/0.7214, allocations: 87.94 kB / 450.3 MB, free: 15.17 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.6025/1.324, allocations: 22.4 MB / 472.7 MB, free: 99.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.324, allocations: 0 / 472.7 MB, free: 99.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/1.324, allocations: 3.844 kB / 472.7 MB, free: 99.03 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001606/1.326, allocations: 0.6059 MB / 473.3 MB, free: 98.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.327e-05/1.326, allocations: 11.75 kB / 473.3 MB, free: 98.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/1.326, allocations: 67.53 kB / 473.4 MB, free: 98.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/1.326, allocations: 42.41 kB / 473.4 MB, free: 98.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/1.327, allocations: 266.3 kB / 473.7 MB, free: 98.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.327, allocations: 16.22 kB / 473.7 MB, free: 98.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.048e-05/1.327, allocations: 20.11 kB / 473.7 MB, free: 98.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/1.328, allocations: 435.9 kB / 474.1 MB, free: 98.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.329, allocations: 430.1 kB / 474.6 MB, free: 98.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.329, allocations: 6.016 kB / 474.6 MB, free: 98.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/1.329, allocations: 0 / 474.6 MB, free: 98.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/1.329, allocations: 43.95 kB / 474.6 MB, free: 98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/1.333, allocations: 1.224 MB / 475.8 MB, free: 97.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.334, allocations: 346.7 kB / 476.2 MB, free: 97.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/1.334, allocations: 102.8 kB / 476.3 MB, free: 97.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/1.334, allocations: 14.56 kB / 476.3 MB, free: 97.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.334, allocations: 34.56 kB / 476.3 MB, free: 97.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 4.068e-06/1.334, allocations: 0 / 476.3 MB, free: 97.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.00097/1.335, allocations: 263.8 kB / 476.6 MB, free: 97.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.336, allocations: 55.97 kB / 476.6 MB, free: 96.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/1.336, allocations: 170.5 kB / 476.8 MB, free: 96.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/1.336, allocations: 29.3 kB / 476.8 MB, free: 96.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.336, allocations: 207.3 kB / 477 MB, free: 96.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/1.336, allocations: 82.88 kB / 477.1 MB, free: 96.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/1.336, allocations: 0 / 477.1 MB, free: 96.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/1.336, allocations: 328 kB / 477.4 MB, free: 96.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/1.337, allocations: 99.08 kB / 477.5 MB, free: 96.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/1.337, allocations: 135.2 kB / 477.7 MB, free: 96.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/1.337, allocations: 128 kB / 477.8 MB, free: 96.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.337, allocations: 0 / 477.8 MB, free: 96.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001039/1.338, allocations: 319.2 kB / 478.1 MB, free: 96.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.338, allocations: 3.875 kB / 478.1 MB, free: 96.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.338, allocations: 3.656 kB / 478.1 MB, free: 96.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/1.339, allocations: 3.844 kB / 478.1 MB, free: 96.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.34, allocations: 125.1 kB / 478.2 MB, free: 96.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.342, allocations: 3.013 MB / 481.2 MB, free: 93.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.342, allocations: 29.59 kB / 481.3 MB, free: 93.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.343, allocations: 13.62 kB / 481.3 MB, free: 93.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.343, allocations: 116.2 kB / 481.4 MB, free: 92.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/1.343, allocations: 19.47 kB / 481.4 MB, free: 92.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.344, allocations: 400.6 kB / 481.8 MB, free: 92.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.344, allocations: 3.531 kB / 481.8 MB, free: 92.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.344, allocations: 2.5 kB / 481.8 MB, free: 92.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.344, allocations: 0 / 481.8 MB, free: 92.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/1.345, allocations: 331.3 kB / 482.1 MB, free: 92.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.345, allocations: 0 / 482.1 MB, free: 92.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.347, allocations: 112 kB / 482.2 MB, free: 92.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/1.347, allocations: 0 / 482.2 MB, free: 92.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/1.347, allocations: 14.41 kB / 482.3 MB, free: 92.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/1.349, allocations: 3.014 MB / 485.3 MB, free: 89.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.349, allocations: 3.984 kB / 485.3 MB, free: 89.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/1.35, allocations: 385.5 kB / 485.7 MB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.35, allocations: 99.88 kB / 485.7 MB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/1.35, allocations: 3.625 kB / 485.8 MB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/1.35, allocations: 11.53 kB / 485.8 MB, free: 89.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.351, allocations: 26.91 kB / 485.8 MB, free: 89.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/1.351, allocations: 18.55 kB / 485.8 MB, free: 89.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000194/1.351, allocations: 124.5 kB / 485.9 MB, free: 89.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.351, allocations: 0 / 485.9 MB, free: 89.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001408/1.352, allocations: 206 kB / 486.1 MB, free: 89.19 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/1.355, allocations: 1.091 MB / 487.2 MB, free: 88.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/1.356, allocations: 308.4 kB / 487.5 MB, free: 88.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.356, allocations: 0 / 487.5 MB, free: 88.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.357, allocations: 174.7 kB / 487.7 MB, free: 88.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/1.358, allocations: 22.36 kB / 487.7 MB, free: 88.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.36, allocations: 0.6096 MB / 488.3 MB, free: 87.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.36, allocations: 0.8431 MB / 489.2 MB, free: 87.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001403/1.362, allocations: 106.4 kB / 489.3 MB, free: 87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/1.362, allocations: 114.8 kB / 489.4 MB, free: 86.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.434e-06/1.362, allocations: 0 / 489.4 MB, free: 86.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07425/1.437, allocations: 7.943 MB / 497.3 MB, free: 80.03 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002891/1.437, allocations: 195.8 kB / 497.5 MB, free: 79.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.692/5.129, allocations: 0.6875 kB / 497.5 MB, free: 79.84 MB / 394.7 MB "" Variables in the reference:time,delta[1],delta[2],delta[3],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],_D_cse1,_D_cse2,_D_cse3,_D_cse4,_D_cse5,d_hyd,delta[1],delta[2],delta[3],dp_IN_con_1[1].K,dp_IN_con_1[1].R_0,dp_IN_con_1[1].d_hyd,dp_IN_con_1[1].delta,dp_IN_con_1[2].K,dp_IN_con_1[2].R_0,dp_IN_con_1[2].d_hyd,dp_IN_con_1[2].delta,dp_IN_con_2[1].K,dp_IN_con_2[1].R_0,dp_IN_con_2[1].d_hyd,dp_IN_con_2[1].delta,dp_IN_con_2[2].K,dp_IN_con_2[2].R_0,dp_IN_con_2[2].d_hyd,dp_IN_con_2[2].delta,dp_IN_con_2[3].K,dp_IN_con_2[3].R_0,dp_IN_con_2[3].d_hyd,dp_IN_con_2[3].delta,dp_IN_var_1[1].eta,dp_IN_var_1[1].rho,dp_IN_var_1[2].eta,dp_IN_var_1[2].rho,dp_IN_var_2[1].eta,dp_IN_var_2[1].rho,dp_IN_var_2[2].eta,dp_IN_var_2[2].rho,dp_IN_var_2[3].eta,dp_IN_var_2[3].rho,eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].R_0,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].delta,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].R_0,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].delta,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].R_0,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].delta,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].R_0,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].delta,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].R_0,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].delta,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].rho,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].rho,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3]