Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.001/3.001, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.14e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4243, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/0.7028, allocations: 96.76 MB / 451.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004148/0.7033, allocations: 87.94 kB / 451.3 MB, free: 14.2 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6094:11-6097: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:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6108:11-6111: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.5154/1.219, allocations: 17.65 MB / 468.9 MB, free: 98.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.219, allocations: 0 / 468.9 MB, free: 98.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/1.219, allocations: 3.312 kB / 468.9 MB, free: 98.87 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.002487/1.221, allocations: 0.632 MB / 469.6 MB, free: 98.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/1.221, allocations: 8.656 kB / 469.6 MB, free: 98.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/1.222, allocations: 69.03 kB / 469.6 MB, free: 98.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.222, allocations: 29.88 kB / 469.7 MB, free: 98.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/1.222, allocations: 249.4 kB / 469.9 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/1.223, allocations: 12.06 kB / 469.9 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.223, allocations: 19.28 kB / 469.9 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/1.224, allocations: 396.9 kB / 470.3 MB, free: 98.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/1.226, allocations: 402.1 kB / 470.7 MB, free: 98.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/1.226, allocations: 4.719 kB / 470.7 MB, free: 98.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/1.226, allocations: 0 / 470.7 MB, free: 98.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/1.227, allocations: 42.14 kB / 470.8 MB, free: 98.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/1.232, allocations: 1.274 MB / 472 MB, free: 97.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.234, allocations: 247.5 kB / 472.3 MB, free: 97.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/1.234, allocations: 81.2 kB / 472.4 MB, free: 97.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.02e-05/1.234, allocations: 12.25 kB / 472.4 MB, free: 97.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.234, allocations: 30.56 kB / 472.4 MB, free: 97.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 5.941e-06/1.234, allocations: 0 / 472.4 MB, free: 97.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001191/1.235, allocations: 213.3 kB / 472.6 MB, free: 97.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.236, allocations: 55.31 kB / 472.7 MB, free: 97.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/1.236, allocations: 130.4 kB / 472.8 MB, free: 97.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/1.236, allocations: 25.7 kB / 472.8 MB, free: 97.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/1.236, allocations: 188.3 kB / 473 MB, free: 96.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/1.236, allocations: 85 kB / 473.1 MB, free: 96.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/1.236, allocations: 3.828 kB / 473.1 MB, free: 96.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/1.236, allocations: 326.2 kB / 473.4 MB, free: 96.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/1.237, allocations: 67.12 kB / 473.5 MB, free: 96.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/1.237, allocations: 156.1 kB / 473.6 MB, free: 96.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/1.238, allocations: 98.56 kB / 473.7 MB, free: 96.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.238, allocations: 3.219 kB / 473.7 MB, free: 96.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001228/1.239, allocations: 260.1 kB / 474 MB, free: 96.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/1.239, allocations: 7.875 kB / 474 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.239, allocations: 7.062 kB / 474 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/1.239, allocations: 3.875 kB / 474 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.241, allocations: 131.6 kB / 474.1 MB, free: 96.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/1.243, allocations: 2.372 MB / 476.5 MB, free: 94.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/1.244, allocations: 30.94 kB / 476.5 MB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.244, allocations: 15.72 kB / 476.5 MB, free: 94.12 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.0002163/1.244, allocations: 111.2 kB / 476.7 MB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.244, allocations: 11.75 kB / 476.7 MB, free: 94.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/1.246, allocations: 332.8 kB / 477 MB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.246, allocations: 3.906 kB / 477 MB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.246, allocations: 3.953 kB / 477 MB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.247, allocations: 3.844 kB / 477 MB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/1.247, allocations: 272.1 kB / 477.3 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.247, allocations: 0 / 477.3 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.249, allocations: 124 kB / 477.4 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/1.249, allocations: 0 / 477.4 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-05/1.25, allocations: 7.656 kB / 477.4 MB, free: 93.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/1.251, allocations: 2.366 MB / 479.8 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.251, allocations: 0 / 479.8 MB, free: 91.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.253, allocations: 324.7 kB / 480.1 MB, free: 91.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.472e-05/1.253, allocations: 96.92 kB / 480.2 MB, free: 91.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/1.253, allocations: 3.953 kB / 480.2 MB, free: 91.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/1.253, allocations: 11.09 kB / 480.2 MB, free: 91.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.254, allocations: 18.78 kB / 480.2 MB, free: 91.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.29e-05/1.254, allocations: 14.27 kB / 480.2 MB, free: 91.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001361/1.254, allocations: 93.3 kB / 480.3 MB, free: 91.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.254, allocations: 0 / 480.3 MB, free: 91.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002198/1.256, allocations: 252.5 kB / 480.6 MB, free: 91 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.003481/1.26, allocations: 1.146 MB / 481.7 MB, free: 90.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/1.261, allocations: 238.9 kB / 481.9 MB, free: 90.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.261, allocations: 2.25 kB / 481.9 MB, free: 90.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.263, allocations: 144.2 kB / 482.1 MB, free: 90.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/1.263, allocations: 7.562 kB / 482.1 MB, free: 90.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/1.267, allocations: 0.5529 MB / 482.6 MB, free: 89.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/1.267, allocations: 0.8197 MB / 483.5 MB, free: 89.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001106/1.268, allocations: 100.5 kB / 483.6 MB, free: 89.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.269, allocations: 89.09 kB / 483.6 MB, free: 89.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.844e-06/1.269, allocations: 0 / 483.6 MB, free: 89.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/1.347, allocations: 7.554 MB / 491.2 MB, free: 85.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002522/1.347, allocations: 192.9 kB / 491.4 MB, free: 85.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.532/4.879, allocations: 0 / 491.4 MB, free: 85.62 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]