Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.042/3.042, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.533e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4585, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/0.7315, allocations: 83.69 MB / 438.1 MB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007066/0.7323, allocations: 99.86 kB / 438.2 MB, free: 11.3 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, 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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04474/0.7771, allocations: 5.924 MB / 444.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7771, allocations: 4 kB / 444.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.7772, allocations: 0 / 444.1 MB, free: 5.348 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008674/0.7781, allocations: 449.9 kB / 444.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7781, allocations: 12.03 kB / 444.6 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.737e-05/0.7782, allocations: 50.5 kB / 444.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7794, allocations: 75.72 kB / 444.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.7798, allocations: 210.9 kB / 444.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.7798, allocations: 4 kB / 444.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.7799, allocations: 12 kB / 444.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007966/0.7807, allocations: 231.8 kB / 445.2 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.7815, allocations: 239.8 kB / 445.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.7815, allocations: 0 / 445.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.7816, allocations: 7.953 kB / 445.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-05/0.7817, allocations: 27.86 kB / 445.4 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.7841, allocations: 0.733 MB / 446.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.7847, allocations: 162.3 kB / 446.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.7849, allocations: 56.86 kB / 446.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.7849, allocations: 0 / 446.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.785, allocations: 34.84 kB / 446.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.514e-06/0.785, allocations: 0 / 446.4 MB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006996/0.7857, allocations: 161.4 kB / 446.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.7858, allocations: 55.41 kB / 446.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.786, allocations: 123.1 kB / 446.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.786, allocations: 25.7 kB / 446.8 MB, free: 2.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7862, allocations: 143.7 kB / 446.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.7863, allocations: 31.55 kB / 446.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.7863, allocations: 0 / 446.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7865, allocations: 326.8 kB / 447.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.7867, allocations: 59.89 kB / 447.3 MB, free: 1.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.787, allocations: 99.44 kB / 447.4 MB, free: 1.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.7873, allocations: 71.92 kB / 447.5 MB, free: 1.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7873, allocations: 0 / 447.5 MB, free: 1.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007581/0.7881, allocations: 201.2 kB / 447.7 MB, free: 1.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.7881, allocations: 8 kB / 447.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.7881, allocations: 0 / 447.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7882, allocations: 4 kB / 447.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7892, allocations: 88.25 kB / 447.8 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.7908, allocations: 1.789 MB / 449.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.7913, allocations: 23.81 kB / 449.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.7914, allocations: 19.97 kB / 449.6 MB, free: 15.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.7916, allocations: 122.8 kB / 449.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.7916, allocations: 7.906 kB / 449.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.793, allocations: 241.9 kB / 450 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7931, allocations: 4 kB / 450 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7931, allocations: 4 kB / 450 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7931, allocations: 0 / 450 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.7936, allocations: 213.9 kB / 450.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.7936, allocations: 0 / 450.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.7943, allocations: 51.95 kB / 450.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.7944, allocations: 4 kB / 450.2 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.7944, allocations: 4 kB / 450.3 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.7959, allocations: 1.785 MB / 452 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7959, allocations: 0 / 452 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.7964, allocations: 227.6 kB / 452.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.7965, allocations: 92.91 kB / 452.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.7966, allocations: 0 / 452.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.7969, allocations: 11.98 kB / 452.4 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.797, allocations: 7.984 kB / 452.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.7971, allocations: 11.98 kB / 452.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.7972, allocations: 107.3 kB / 452.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7972, allocations: 0 / 452.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006586/0.7979, allocations: 63.78 kB / 452.5 MB, free: 12.45 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.7991, allocations: 0.7982 MB / 453.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.8002, allocations: 148.2 kB / 453.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8002, allocations: 0 / 453.5 MB, free: 11.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.8008, allocations: 75.89 kB / 453.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.8011, allocations: 0 / 453.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.8026, allocations: 306.8 kB / 453.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.8031, allocations: 0.7473 MB / 454.6 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.8035, allocations: 48.86 kB / 454.7 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.8037, allocations: 60.48 kB / 454.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8037, allocations: 0 / 454.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08513/0.8889, allocations: 4.104 MB / 458.8 MB, free: 6.09 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003426/0.8893, allocations: 203.1 kB / 459 MB, free: 5.824 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.396/4.285, allocations: 0 / 459 MB, free: 5.824 MB / 394.7 MB "" Variables in the reference:time,V_flow[1],V_flow[2],V_flow[3],a[1],a[2],a[3],rho,input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],V_flow[1],V_flow[2],V_flow[3],_D_cse1,_D_cse2,_D_cse3,_D_cse4,_D_cse5,_D_cse6,_D_cse7,a[1],a[2],a[3],b,dp_IN_con[1].a,dp_IN_con[1].b,dp_IN_con[1].dp_min,dp_IN_con[2].a,dp_IN_con[2].b,dp_IN_con[2].dp_min,dp_IN_con[3].a,dp_IN_con[3].b,dp_IN_con[3].dp_min,dp_IN_var[1].rho,dp_IN_var[2].rho,dp_IN_var[3].rho,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_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].a,m_flow_IN_con[1].b,m_flow_IN_con[1].dp_min,m_flow_IN_con[2].a,m_flow_IN_con[2].b,m_flow_IN_con[2].dp_min,m_flow_IN_con[3].a,m_flow_IN_con[3].b,m_flow_IN_con[3].dp_min,m_flow_IN_var[1].rho,m_flow_IN_var[2].rho,m_flow_IN_var[3].rho,n,rho,time