Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.234/3.234, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.891e-05, allocations: 4 kB / 299.6 MB, free: 168 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4525, allocations: 54.85 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.6543, allocations: 83.2 MB / 437.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000482/0.6549, allocations: 95.94 kB / 437.7 MB, free: 11.75 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5488:11-5489:129: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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.6841, allocations: 4.169 MB / 441.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6841, allocations: 0 / 441.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.6842, allocations: 4 kB / 441.9 MB, free: 7.578 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009025/0.6851, allocations: 434.1 kB / 442.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/0.6852, allocations: 8.031 kB / 442.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.6853, allocations: 46.55 kB / 442.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.6868, allocations: 107.6 kB / 442.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.6872, allocations: 222.7 kB / 442.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.6873, allocations: 8 kB / 442.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.6873, allocations: 8 kB / 442.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007051/0.6881, allocations: 191.9 kB / 442.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.6887, allocations: 203.6 kB / 443.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6887, allocations: 0 / 443.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.6888, allocations: 3.953 kB / 443.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.6888, allocations: 15.98 kB / 443.1 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.6909, allocations: 0.6784 MB / 443.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.6912, allocations: 78.47 kB / 443.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.6914, allocations: 36.84 kB / 443.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.6914, allocations: 0 / 443.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.6914, allocations: 30.56 kB / 443.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.6915, allocations: 0 / 443.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004987/0.692, allocations: 105.6 kB / 444.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.692, allocations: 51.41 kB / 444.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.6922, allocations: 135.1 kB / 444.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.6923, allocations: 25.7 kB / 444.3 MB, free: 4.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.6924, allocations: 143.8 kB / 444.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.6925, allocations: 23.66 kB / 444.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.6925, allocations: 0 / 444.4 MB, free: 4.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6927, allocations: 322.8 kB / 444.7 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.6928, allocations: 35.97 kB / 444.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.693, allocations: 82.84 kB / 444.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.6932, allocations: 51.89 kB / 444.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6932, allocations: 0 / 444.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004885/0.6937, allocations: 137.4 kB / 445 MB, free: 4.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6938, allocations: 8 kB / 445 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6938, allocations: 0 / 445 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6938, allocations: 4 kB / 445 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.6959, allocations: 112.1 kB / 445.2 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.6983, allocations: 1.824 MB / 447 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.6987, allocations: 19.92 kB / 447 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.6987, allocations: 4 kB / 447 MB, free: 2.133 MB / 378.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 (14): * Single equations (assignments): 11 * 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.0001421/0.6989, allocations: 114.9 kB / 447.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.6989, allocations: 15.89 kB / 447.1 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.6996, allocations: 146.1 kB / 447.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6996, allocations: 0 / 447.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.6996, allocations: 0 / 447.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6997, allocations: 8 kB / 447.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.7001, allocations: 198.1 kB / 447.5 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.7001, allocations: 3.953 kB / 447.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.7019, allocations: 87.89 kB / 447.6 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.7019, allocations: 4 kB / 447.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.7019, allocations: 0 / 447.6 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.7037, allocations: 1.781 MB / 449.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.7037, allocations: 288 / 449.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.7042, allocations: 211.4 kB / 449.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.7042, allocations: 88.97 kB / 449.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.7043, allocations: 0 / 449.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/0.7046, allocations: 15.92 kB / 449.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.7047, allocations: 7.984 kB / 449.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.7048, allocations: 12 kB / 449.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.7049, allocations: 103.9 kB / 449.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7049, allocations: 0 / 449.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.7055, allocations: 47.84 kB / 449.8 MB, free: 15.16 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 (11): * Single equations (assignments): 8 * 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.0009316/0.7064, allocations: 0.7624 MB / 450.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.7085, allocations: 167.6 kB / 450.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7086, allocations: 0 / 450.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7099, allocations: 84.34 kB / 450.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.7103, allocations: 15.98 kB / 450.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.7115, allocations: 265.8 kB / 451.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.712, allocations: 0.747 MB / 451.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.7122, allocations: 28.47 kB / 451.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.7124, allocations: 43.42 kB / 451.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7124, allocations: 0 / 451.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.7639, allocations: 3.543 MB / 455.5 MB, free: 9.438 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004748/0.7645, allocations: 218.3 kB / 455.7 MB, free: 9.145 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.394/4.158, allocations: 5.875 kB / 455.7 MB, free: 9.141 MB / 394.7 MB "" Variables in the reference:time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[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:A_cross,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],_D_cse1,_D_cse2,_D_cse3,_D_cse4,dp_IN_con[1].A_cross,dp_IN_con[1].dp_smooth,dp_IN_con[2].A_cross,dp_IN_con[2].dp_smooth,dp_IN_con[3].A_cross,dp_IN_con[3].dp_smooth,dp_IN_var[1].rho,dp_IN_var[1].zeta_TOT,dp_IN_var[2].rho,dp_IN_var[2].zeta_TOT,dp_IN_var[3].rho,dp_IN_var[3].zeta_TOT,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_cross,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].dp_smooth,m_flow_IN_var[1].rho,m_flow_IN_var[1].zeta_TOT,m_flow_IN_var[2].rho,m_flow_IN_var[2].zeta_TOT,m_flow_IN_var[3].rho,m_flow_IN_var[3].zeta_TOT,n,rho,time,zeta_TOT[1],zeta_TOT[2],zeta_TOT[3]