Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",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.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.22e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4467, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.6768, allocations: 89.37 MB / 443.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004421/0.6773, allocations: 95.92 kB / 443.9 MB, free: 5.582 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.06643/0.7437, allocations: 11.16 MB / 455.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7438, allocations: 0 / 455.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.7438, allocations: 4 kB / 455.1 MB, free: 10.34 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001527/0.7453, allocations: 0.5801 MB / 455.6 MB, free: 9.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.7454, allocations: 12.03 kB / 455.7 MB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.7456, allocations: 62.53 kB / 455.7 MB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7457, allocations: 31.61 kB / 455.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.7462, allocations: 238.6 kB / 456 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.7462, allocations: 12.78 kB / 456 MB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.7463, allocations: 16 kB / 456 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001131/0.7475, allocations: 409.3 kB / 456.4 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7486, allocations: 406 kB / 456.8 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.7486, allocations: 4 kB / 456.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.7487, allocations: 0 / 456.8 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.7488, allocations: 32.77 kB / 456.8 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.7524, allocations: 1.266 MB / 458.1 MB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.7533, allocations: 252.4 kB / 458.4 MB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.7536, allocations: 80.75 kB / 458.4 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.7536, allocations: 12.38 kB / 458.4 MB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.7537, allocations: 34.56 kB / 458.5 MB, free: 6.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.397e-06/0.7537, allocations: 0 / 458.5 MB, free: 6.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007139/0.7544, allocations: 209.8 kB / 458.7 MB, free: 6.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.7545, allocations: 55.41 kB / 458.7 MB, free: 6.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.7547, allocations: 123.3 kB / 458.9 MB, free: 6.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.7547, allocations: 25.7 kB / 458.9 MB, free: 6.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.7549, allocations: 195.9 kB / 459.1 MB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.755, allocations: 86.75 kB / 459.2 MB, free: 5.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.7551, allocations: 0 / 459.2 MB, free: 5.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.7552, allocations: 326.8 kB / 459.5 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.7554, allocations: 71.97 kB / 459.5 MB, free: 5.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.7558, allocations: 148.6 kB / 459.7 MB, free: 5.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.7561, allocations: 100 kB / 459.8 MB, free: 5.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.7561, allocations: 4 kB / 459.8 MB, free: 5.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007916/0.7569, allocations: 261.1 kB / 460 MB, free: 5.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.7569, allocations: 15.88 kB / 460.1 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.757, allocations: 4 kB / 460.1 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.757, allocations: 7.984 kB / 460.1 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.7583, allocations: 127.8 kB / 460.2 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.7601, allocations: 2.376 MB / 462.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.7605, allocations: 27.73 kB / 462.6 MB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.7605, allocations: 12 kB / 462.6 MB, free: 2.375 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.7607, allocations: 108.9 kB / 462.7 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.7608, allocations: 15.89 kB / 462.7 MB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7621, allocations: 322 kB / 463.1 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.7621, allocations: 4 kB / 463.1 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.7622, allocations: 4 kB / 463.1 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7622, allocations: 7.953 kB / 463.1 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.7628, allocations: 269.9 kB / 463.3 MB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.7628, allocations: 7.922 kB / 463.3 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.7639, allocations: 107.9 kB / 463.4 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.764, allocations: 7.922 kB / 463.5 MB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.764, allocations: 4 kB / 463.5 MB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3553/1.119, allocations: 2.361 MB / 465.8 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/1.119, allocations: 0.5312 kB / 465.8 MB, free: 98.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.121, allocations: 329.7 kB / 466.1 MB, free: 98.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/1.121, allocations: 94.91 kB / 466.2 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/1.121, allocations: 4.312 kB / 466.2 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/1.121, allocations: 10.23 kB / 466.2 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.122, allocations: 20.8 kB / 466.3 MB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/1.122, allocations: 11.05 kB / 466.3 MB, free: 98.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000132/1.122, allocations: 99.97 kB / 466.4 MB, free: 98.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.122, allocations: 0 / 466.4 MB, free: 98.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001705/1.124, allocations: 177.8 kB / 466.5 MB, free: 98.64 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002672/1.126, allocations: 1.012 MB / 467.6 MB, free: 97.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/1.128, allocations: 233.6 kB / 467.8 MB, free: 97.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.128, allocations: 2.531 kB / 467.8 MB, free: 97.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/1.129, allocations: 138.4 kB / 467.9 MB, free: 97.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/1.13, allocations: 5.141 kB / 467.9 MB, free: 97.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.133, allocations: 0.5314 MB / 468.5 MB, free: 97.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/1.134, allocations: 0.8039 MB / 469.3 MB, free: 97.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00102/1.135, allocations: 106.3 kB / 469.4 MB, free: 97.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.135, allocations: 89.38 kB / 469.5 MB, free: 97.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/1.135, allocations: 0 / 469.5 MB, free: 97.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08641/1.222, allocations: 6.134 MB / 475.6 MB, free: 96.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004272/1.222, allocations: 214.3 kB / 475.8 MB, free: 96.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.36/4.582, allocations: 4.453 kB / 475.8 MB, free: 96.47 MB / 394.7 MB "" Variables in the reference:time,MIN,A_cross,roughness,d_hyd,K[1],K[2],K[3],K[4],L,eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K[1],K[2],K[3],K[4],L,MIN,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],_D_cse1,_D_cse2,_D_cse3,_D_cse4,d_hyd,dp_IN_con[1].K,dp_IN_con[1].L,dp_IN_con[1].d_hyd,dp_IN_con[1].roughness,dp_IN_con[2].K,dp_IN_con[2].L,dp_IN_con[2].d_hyd,dp_IN_con[2].roughness,dp_IN_con[3].K,dp_IN_con[3].L,dp_IN_con[3].d_hyd,dp_IN_con[3].roughness,dp_IN_con[4].K,dp_IN_con[4].L,dp_IN_con[4].d_hyd,dp_IN_con[4].roughness,dp_IN_var[1].eta,dp_IN_var[1].rho,dp_IN_var[2].eta,dp_IN_var[2].rho,dp_IN_var[3].eta,dp_IN_var[3].rho,dp_IN_var[4].eta,dp_IN_var[4].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],m_flow_IN_con[1].K,m_flow_IN_con[1].L,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].roughness,m_flow_IN_con[2].K,m_flow_IN_con[2].L,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].roughness,m_flow_IN_con[3].K,m_flow_IN_con[3].L,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].roughness,m_flow_IN_con[4].K,m_flow_IN_con[4].L,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].roughness,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,m_flow_IN_var[2].eta,m_flow_IN_var[2].rho,m_flow_IN_var[3].eta,m_flow_IN_var[3].rho,m_flow_IN_var[4].eta,m_flow_IN_var[4].rho,n,rho,roughness,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]