Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.014/3.014, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.845e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.6178, allocations: 92.28 MB / 446.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004758/0.6184, allocations: 99.92 kB / 446.8 MB, free: 2.664 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4809:11-4812: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:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1038/0.7222, allocations: 15.01 MB / 461.8 MB, free: 3.555 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7222, allocations: 0 / 461.8 MB, free: 3.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.7222, allocations: 8 kB / 461.8 MB, free: 3.547 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001543/0.7238, allocations: 0.549 MB / 462.4 MB, free: 2.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.7239, allocations: 12.03 kB / 462.4 MB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.724, allocations: 54.53 kB / 462.4 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.7241, allocations: 27.62 kB / 462.5 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.7246, allocations: 234.7 kB / 462.7 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.7247, allocations: 12.56 kB / 462.7 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.7248, allocations: 12 kB / 462.7 MB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/0.7258, allocations: 321.1 kB / 463 MB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.7268, allocations: 316.9 kB / 463.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7268, allocations: 0 / 463.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.7269, allocations: 0 / 463.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.48e-05/0.727, allocations: 36.75 kB / 463.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.7299, allocations: 0.9649 MB / 464.3 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7311, allocations: 246.8 kB / 464.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.7314, allocations: 74.33 kB / 464.7 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.7314, allocations: 8.172 kB / 464.7 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.7315, allocations: 34.75 kB / 464.7 MB, free: 476 kB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.657e-06/0.7315, allocations: 0 / 464.7 MB, free: 476 kB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.000825/0.7323, allocations: 201.5 kB / 464.9 MB, free: 272 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.7324, allocations: 59.41 kB / 465 MB, free: 200 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.7326, allocations: 115 kB / 465.1 MB, free: 80 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.7326, allocations: 25.7 kB / 465.1 MB, free: 48 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.4054/1.138, allocations: 155.7 kB / 465.2 MB, free: 99.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.138, allocations: 72.14 kB / 465.3 MB, free: 99.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/1.138, allocations: 0.5625 kB / 465.3 MB, free: 99.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/1.138, allocations: 322.9 kB / 465.6 MB, free: 99.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.139, allocations: 60.91 kB / 465.7 MB, free: 99.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/1.139, allocations: 92.08 kB / 465.8 MB, free: 99.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/1.139, allocations: 78.83 kB / 465.9 MB, free: 99.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.139, allocations: 0.5625 kB / 465.9 MB, free: 99.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008927/1.14, allocations: 211.2 kB / 466.1 MB, free: 99.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/1.14, allocations: 6.609 kB / 466.1 MB, free: 99.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.14, allocations: 0.6562 kB / 466.1 MB, free: 99.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.14, allocations: 3.234 kB / 466.1 MB, free: 99.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.142, allocations: 92.17 kB / 466.2 MB, free: 99.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/1.143, allocations: 2.39 MB / 468.6 MB, free: 97.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/1.144, allocations: 21.44 kB / 468.6 MB, free: 97.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/1.144, allocations: 9.625 kB / 468.6 MB, free: 97.12 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 (23): * Single equations (assignments): 19 * 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.0001354/1.144, allocations: 109.9 kB / 468.7 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/1.144, allocations: 19.05 kB / 468.7 MB, free: 97.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.145, allocations: 301.2 kB / 469 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.145, allocations: 6.25 kB / 469 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.145, allocations: 0.6562 kB / 469 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.145, allocations: 1.688 kB / 469 MB, free: 96.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/1.146, allocations: 264.2 kB / 469.3 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.146, allocations: 1.312 kB / 469.3 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.147, allocations: 92.28 kB / 469.4 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.147, allocations: 1.062 kB / 469.4 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.147, allocations: 11.23 kB / 469.4 MB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.149, allocations: 2.393 MB / 471.8 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.149, allocations: 3.812 kB / 471.8 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/1.15, allocations: 324.4 kB / 472.1 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/1.15, allocations: 124.6 kB / 472.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/1.15, allocations: 4.359 kB / 472.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/1.15, allocations: 10.17 kB / 472.2 MB, free: 94.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.151, allocations: 24.34 kB / 472.2 MB, free: 94.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/1.151, allocations: 8.781 kB / 472.3 MB, free: 94.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.376e-05/1.151, allocations: 98.84 kB / 472.4 MB, free: 94.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.151, allocations: 0 / 472.4 MB, free: 94.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001067/1.152, allocations: 178.8 kB / 472.5 MB, free: 94.12 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 (25): * Single equations (assignments): 21 * 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.001931/1.154, allocations: 1.011 MB / 473.5 MB, free: 93.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/1.155, allocations: 197.4 kB / 473.7 MB, free: 93.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.155, allocations: 0 / 473.7 MB, free: 93.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008109/1.156, allocations: 138.5 kB / 473.9 MB, free: 93.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/1.156, allocations: 2.734 kB / 473.9 MB, free: 93.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.158, allocations: 496.8 kB / 474.4 MB, free: 93.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.159, allocations: 0.7955 MB / 475.1 MB, free: 92.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005226/1.159, allocations: 72.17 kB / 475.2 MB, free: 92.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.159, allocations: 79.56 kB / 475.3 MB, free: 92.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/1.159, allocations: 0 / 475.3 MB, free: 92.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/1.242, allocations: 6.293 MB / 481.6 MB, free: 92.22 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003792/1.242, allocations: 190 kB / 481.8 MB, free: 92.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.452/4.694, allocations: 2.531 kB / 481.8 MB, free: 92.03 MB / 394.7 MB "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],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],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[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,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,delta[1],delta[2],delta[3],delta[4],dp_IN_con[1].K,dp_IN_con[1].d_hyd,dp_IN_con[1].delta,dp_IN_con[2].K,dp_IN_con[2].d_hyd,dp_IN_con[2].delta,dp_IN_con[3].K,dp_IN_con[3].d_hyd,dp_IN_con[3].delta,dp_IN_con[4].K,dp_IN_con[4].d_hyd,dp_IN_con[4].delta,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],m_flow_IN_con[1].K,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].delta,m_flow_IN_con[2].K,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].delta,m_flow_IN_con[3].K,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].delta,m_flow_IN_con[4].K,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].delta,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,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]