Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp_1.1.|cp_1.2.|cp_1.3.|cp_1.4.|cp_1.5.|cp_1.6.|eta_l_1.1.|eta_l_1.2.|eta_l_1.3.|eta_l_1.4.|eta_l_1.5.|eta_l_1.6.|eta_g_1.1.|eta_g_1.2.|eta_g_1.3.|eta_g_1.4.|eta_g_1.5.|eta_g_1.6.|lambda_1.1.|lambda_1.2.|lambda_1.3.|lambda_1.4.|lambda_1.5.|lambda_1.6.|rho_l_1.1.|rho_l_1.2.|rho_l_1.3.|rho_l_1.4.|rho_l_1.5.|rho_l_1.6.|rho_g_1.1.|rho_g_1.2.|rho_g_1.3.|rho_g_1.4.|rho_g_1.5.|rho_g_1.6.|M_1.1.|M_1.2.|M_1.3.|M_1.4.|M_1.5.|M_1.6.|dh_lg_1.1.|dh_lg_1.2.|dh_lg_1.3.|dh_lg_1.4.|dh_lg_1.5.|dh_lg_1.6.|qdot_A_1.1.|qdot_A_1.2.|qdot_A_1.3.|qdot_A_1.4.|qdot_A_1.5.|qdot_A_1.6.|p_1.1.|p_1.2.|p_1.3.|p_1.4.|p_1.5.|p_1.6.|p_crit_1.1.|p_crit_1.2.|p_crit_1.3.|p_crit_1.4.|p_crit_1.5.|p_crit_1.6.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_1.4.|m_flow_1.5.|m_flow_1.6.|mdot_A1.1.|mdot_A1.2.|mdot_A1.3.|mdot_A1.4.|mdot_A1.5.|mdot_A1.6.|m_flow_2|cp_3.1.|cp_3.2.|cp_3.3.|cp_3.4.|cp_3.5.|cp_3.6.|eta_l_3.1.|eta_l_3.2.|eta_l_3.3.|eta_l_3.4.|eta_l_3.5.|eta_l_3.6.|lambda_3.1.|lambda_3.2.|lambda_3.3.|lambda_3.4.|lambda_3.5.|lambda_3.6.|rho_l_3.1.|rho_l_3.2.|rho_l_3.3.|rho_l_3.4.|rho_l_3.5.|rho_l_3.6.|p_3.1.|p_3.2.|p_3.3.|p_3.4.|p_3.5.|p_3.6.|p_crit_3.1.|p_crit_3.2.|p_crit_3.3.|p_crit_3.4.|p_crit_3.5.|p_crit_3.6.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_3.4.|m_flow_3.5.|m_flow_3.6.|x_flow|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_1.4.|Nu_1.5.|Nu_1.6.|NU_2|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_3.4.|Nu_3.5.|Nu_3.6.|kc_1.1.|kc_1.2.|kc_1.3.|kc_1.4.|kc_1.5.|kc_1.6.|kc_2|kc_3.1.|kc_3.2.|kc_3.3.|kc_3.4.|kc_3.5.|kc_3.6.|input_x_0.y|input_x_1.y|input_x_2.y|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 221.5 MB, free: 7.746 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.693e-05, allocations: 4 kB / 273.1 MB, free: 3.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09968, allocations: 48.69 MB / 321.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4875, allocations: 92.7 MB / 414.5 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/0.488, allocations: 98.14 kB / 414.6 MB, free: 2.035 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4477:11-4491:77:writable] Error: Got type mismatch error, but matching types Real. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4453:11-4467:78:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4502:11-4516:76:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1988/0.6868, allocations: 38.21 MB / 452.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.292e-06/0.6868, allocations: 0 / 452.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-05/0.6869, allocations: 20 kB / 452.8 MB, free: 1.359 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002089/0.689, allocations: 1.185 MB / 454 MB, free: 200 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.689, allocations: 8.031 kB / 454 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.6893, allocations: 130.4 kB / 454.2 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.6903, allocations: 491.1 kB / 454.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.6904, allocations: 68.31 kB / 454.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.6905, allocations: 95 kB / 454.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.6929, allocations: 1.283 MB / 456.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.693, allocations: 4 kB / 456.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6931, allocations: 38.81 kB / 456.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.975e-05/0.6932, allocations: 69.5 kB / 456.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.6954, allocations: 1.222 MB / 457.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008619/0.7041, allocations: 3.106 MB / 460.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.707, allocations: 0.6501 MB / 461.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7081, allocations: 237.8 kB / 461.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.7082, allocations: 16.08 kB / 461.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.93e-05/0.7083, allocations: 46.36 kB / 461.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 6.073e-06/0.7083, allocations: 0 / 461.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003202/0.7115, allocations: 0.5798 MB / 462 MB, free: 9.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.7118, allocations: 191.8 kB / 462.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02019/0.732, allocations: 1.174 MB / 463.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.7322, allocations: 28.83 kB / 463.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.7333, allocations: 0.5443 MB / 464 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.7336, allocations: 114.4 kB / 464.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7337, allocations: 12.16 kB / 464.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/0.7341, allocations: 334 kB / 464.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.7353, allocations: 245.4 kB / 464.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.7371, allocations: 0.5464 MB / 465.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.7386, allocations: 343.7 kB / 465.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.7387, allocations: 4 kB / 465.5 MB, free: 6.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004354/0.743, allocations: 0.8827 MB / 466.4 MB, free: 5.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.7431, allocations: 8 kB / 466.4 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.7432, allocations: 12 kB / 466.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-05/0.7433, allocations: 20 kB / 466.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.7449, allocations: 176.2 kB / 466.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-05/0.745, allocations: 19.88 kB / 466.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0183/0.7633, allocations: 170.5 kB / 466.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/0.7638, allocations: 43.98 kB / 466.9 MB, free: 4.805 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005051/0.7643, allocations: 166.9 kB / 467 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/0.7652, allocations: 118.5 kB / 467.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.769, allocations: 0.739 MB / 467.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7691, allocations: 4 kB / 467.9 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.701e-06/0.7691, allocations: 0 / 467.9 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.7691, allocations: 8 kB / 467.9 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.7727, allocations: 0.7179 MB / 468.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.7727, allocations: 0 / 468.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.774, allocations: 111.9 kB / 468.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-05/0.774, allocations: 15.95 kB / 468.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.7742, allocations: 19.98 kB / 468.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.491e-06/0.7742, allocations: 0 / 468.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.7742, allocations: 7.938 kB / 468.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.7775, allocations: 1.106 MB / 469.9 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7787, allocations: 279.3 kB / 470.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/0.7791, allocations: 8 kB / 470.2 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00639/0.7855, allocations: 59.91 kB / 470.2 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.7859, allocations: 43.86 kB / 470.3 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.7861, allocations: 16 kB / 470.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002436/0.7886, allocations: 0.9099 MB / 471.2 MB, free: 336 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.169e-06/0.7886, allocations: 4 kB / 471.2 MB, free: 332 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001789/0.7904, allocations: 315.8 kB / 471.5 MB, free: 16 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007693/0.7912, allocations: 303 kB / 471.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.7927, allocations: 0.56 MB / 472.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7927, allocations: 0 / 472.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.7934, allocations: 248.6 kB / 472.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7951, allocations: 246.2 kB / 472.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.7987, allocations: 1.454 MB / 474.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.7999, allocations: 1.184 MB / 475.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00148/0.8014, allocations: 390.7 kB / 475.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.8018, allocations: 87.41 kB / 475.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.661e-06/0.8018, allocations: 0 / 475.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of Templates: time 0.03881/0.8406, allocations: 15.68 MB / 491.6 MB, free: 11.86 MB / 394.7 MB