Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.189/3.189, allocations: 235.2 MB / 242.3 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.061e-05, allocations: 4 kB / 299.6 MB, free: 164 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.451, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.6507, allocations: 87.1 MB / 441.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004556/0.6512, allocations: 95.94 kB / 441.6 MB, free: 7.855 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.05408/0.7053, allocations: 8.802 MB / 450.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7054, allocations: 0 / 450.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.7054, allocations: 4 kB / 450.4 MB, free: 14.92 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001092/0.7065, allocations: 0.5179 MB / 451 MB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.7066, allocations: 8.031 kB / 451 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.7067, allocations: 66.48 kB / 451 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.7069, allocations: 39.61 kB / 451.1 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.7074, allocations: 238.6 kB / 451.3 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.7074, allocations: 16.78 kB / 451.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.7075, allocations: 23.94 kB / 451.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/0.7087, allocations: 377.4 kB / 451.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.7099, allocations: 409.3 kB / 452.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.7099, allocations: 0 / 452.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.71, allocations: 3.953 kB / 452.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/0.7101, allocations: 16.78 kB / 452.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.7131, allocations: 1.131 MB / 453.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.7134, allocations: 66.48 kB / 453.3 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.7135, allocations: 28.84 kB / 453.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.7136, allocations: 4 kB / 453.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.7137, allocations: 38.55 kB / 453.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.697e-06/0.7137, allocations: 0 / 453.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004773/0.7142, allocations: 89.72 kB / 453.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.7142, allocations: 51.41 kB / 453.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.7145, allocations: 161.2 kB / 453.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.7146, allocations: 25.7 kB / 453.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.7148, allocations: 223.5 kB / 453.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.7149, allocations: 23.66 kB / 454 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.7149, allocations: 0 / 454 MB, free: 11.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7151, allocations: 322.8 kB / 454.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7153, allocations: 35.98 kB / 454.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.7156, allocations: 152.3 kB / 454.5 MB, free: 10.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.7158, allocations: 71.95 kB / 454.5 MB, free: 10.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.7158, allocations: 4 kB / 454.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006743/0.7165, allocations: 193.7 kB / 454.7 MB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.7166, allocations: 8.031 kB / 454.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.7166, allocations: 4 kB / 454.7 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.7166, allocations: 8 kB / 454.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.7175, allocations: 87.88 kB / 454.8 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.7191, allocations: 1.785 MB / 456.6 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.7195, allocations: 27.83 kB / 456.6 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.7195, allocations: 16 kB / 456.7 MB, free: 8.305 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001887/0.7198, allocations: 126.6 kB / 456.8 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.7198, allocations: 7.906 kB / 456.8 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/0.7208, allocations: 173.9 kB / 457 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.7209, allocations: 0 / 457 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7209, allocations: 0 / 457 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7209, allocations: 11.88 kB / 457 MB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.7214, allocations: 230.1 kB / 457.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.7214, allocations: 0 / 457.2 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.7221, allocations: 59.95 kB / 457.2 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7221, allocations: 0 / 457.2 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.7221, allocations: 4 kB / 457.3 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.7235, allocations: 1.777 MB / 459 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7236, allocations: 288 / 459 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.724, allocations: 187.4 kB / 459.2 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.7241, allocations: 96.88 kB / 459.3 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.7241, allocations: 0 / 459.3 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.7244, allocations: 8 kB / 459.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.7245, allocations: 11.98 kB / 459.3 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.7245, allocations: 4 kB / 459.3 MB, free: 5.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.7247, allocations: 111.2 kB / 459.4 MB, free: 5.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7247, allocations: 0 / 459.4 MB, free: 5.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008263/0.7255, allocations: 99.53 kB / 459.5 MB, free: 5.266 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 (7): * Single equations (assignments): 4 * 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.001126/0.7267, allocations: 0.8066 MB / 460.3 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007993/0.7275, allocations: 132.9 kB / 460.5 MB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7275, allocations: 0 / 460.5 MB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.728, allocations: 64.42 kB / 460.5 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.7283, allocations: 4 kB / 460.5 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.7298, allocations: 399.1 kB / 460.9 MB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.7304, allocations: 0.8099 MB / 461.7 MB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004724/0.7309, allocations: 60.98 kB / 461.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.7311, allocations: 75.41 kB / 461.9 MB, free: 2.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7311, allocations: 0 / 461.9 MB, free: 2.848 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4463/1.177, allocations: 4.432 MB / 466.3 MB, free: 100.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003367/1.178, allocations: 217.9 kB / 466.5 MB, free: 100.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.362/4.54, allocations: 3.719 kB / 466.5 MB, free: 100.2 MB / 394.7 MB "" Variables in the reference:time,A_cross,A_cross_nom,dp_nom,m_flow_nom,exp,NominalMassFlowRate,V_flow_nom,zeta_TOT,zeta_TOT_nom,rho_nom,rho[1],rho[2],rho[3],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,A_cross_nom,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],NominalMassFlowRate,V_flow_nom,dp_IN_con[1].A_cross,dp_IN_con[1].A_cross_nom,dp_IN_con[1].V_flow_nom,dp_IN_con[1].dp_nom,dp_IN_con[1].exp,dp_IN_con[1].m_flow_nom,dp_IN_con[1].rho_nom,dp_IN_con[1].target,dp_IN_con[1].zeta_TOT_nom,dp_IN_con[2].A_cross,dp_IN_con[2].A_cross_nom,dp_IN_con[2].V_flow_nom,dp_IN_con[2].dp_nom,dp_IN_con[2].exp,dp_IN_con[2].m_flow_nom,dp_IN_con[2].rho_nom,dp_IN_con[2].target,dp_IN_con[2].zeta_TOT_nom,dp_IN_con[3].A_cross,dp_IN_con[3].A_cross_nom,dp_IN_con[3].V_flow_nom,dp_IN_con[3].dp_nom,dp_IN_con[3].exp,dp_IN_con[3].m_flow_nom,dp_IN_con[3].rho_nom,dp_IN_con[3].target,dp_IN_con[3].zeta_TOT_nom,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,dp_nom,exp,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].A_cross_nom,m_flow_IN_con[1].V_flow_nom,m_flow_IN_con[1].dp_nom,m_flow_IN_con[1].exp,m_flow_IN_con[1].m_flow_nom,m_flow_IN_con[1].rho_nom,m_flow_IN_con[1].target,m_flow_IN_con[1].zeta_TOT_nom,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].A_cross_nom,m_flow_IN_con[2].V_flow_nom,m_flow_IN_con[2].dp_nom,m_flow_IN_con[2].exp,m_flow_IN_con[2].m_flow_nom,m_flow_IN_con[2].rho_nom,m_flow_IN_con[2].target,m_flow_IN_con[2].zeta_TOT_nom,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].A_cross_nom,m_flow_IN_con[3].V_flow_nom,m_flow_IN_con[3].dp_nom,m_flow_IN_con[3].exp,m_flow_IN_con[3].m_flow_nom,m_flow_IN_con[3].rho_nom,m_flow_IN_con[3].target,m_flow_IN_con[3].zeta_TOT_nom,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,m_flow_nom,n,rho[1],rho[2],rho[3],rho_nom,time,zeta_TOT,zeta_TOT_nom