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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.347e-05, allocations: 4 kB / 273.1 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09018, allocations: 48.7 MB / 321.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5211, allocations: 92.7 MB / 414.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5214, allocations: 96.92 kB / 414.6 MB, free: 1.895 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.1541/0.6755, allocations: 38.21 MB / 452.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.537e-06/0.6756, allocations: 4 kB / 452.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.019e-05/0.6756, allocations: 20 kB / 452.8 MB, free: 1.777 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.002192/0.6778, allocations: 1.184 MB / 454 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.6779, allocations: 8.031 kB / 454 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.6782, allocations: 130.4 kB / 454.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.6791, allocations: 485.4 kB / 454.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.6792, allocations: 72.94 kB / 454.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.6794, allocations: 95.94 kB / 454.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.6817, allocations: 1.285 MB / 456 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.6818, allocations: 4 kB / 456.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6819, allocations: 41.36 kB / 456.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/0.682, allocations: 61.41 kB / 456.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.6842, allocations: 1.228 MB / 457.4 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005854/0.6901, allocations: 3.098 MB / 460.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.6916, allocations: 0.651 MB / 461.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.6921, allocations: 244.6 kB / 461.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.6922, allocations: 12.16 kB / 461.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.6923, allocations: 41.48 kB / 461.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 4.189e-06/0.6923, allocations: 4 kB / 461.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001596/0.6939, allocations: 0.5766 MB / 462 MB, free: 9.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.694, allocations: 187.9 kB / 462.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.6961, allocations: 1.175 MB / 463.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.6961, allocations: 29.2 kB / 463.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.6966, allocations: 0.5047 MB / 463.9 MB, free: 8.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.6968, allocations: 115.2 kB / 464 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.6968, allocations: 12.81 kB / 464 MB, free: 8.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.697, allocations: 338.6 kB / 464.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.6977, allocations: 243.5 kB / 464.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000903/0.6986, allocations: 0.5503 MB / 465.1 MB, free: 6.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.6994, allocations: 343.7 kB / 465.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.6994, allocations: 0 / 465.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002034/0.7015, allocations: 0.7939 MB / 466.3 MB, free: 5.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.7015, allocations: 12 kB / 466.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.7015, allocations: 8 kB / 466.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.923e-05/0.7016, allocations: 20 kB / 466.3 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008504/0.7024, allocations: 176.3 kB / 466.5 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.681e-05/0.7025, allocations: 27.86 kB / 466.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.7037, allocations: 162.5 kB / 466.7 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.7038, allocations: 47.98 kB / 466.7 MB, free: 5.383 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.0002584/0.7041, allocations: 162.9 kB / 466.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.7044, allocations: 118.5 kB / 467 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.7064, allocations: 0.7429 MB / 467.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7064, allocations: 11.98 kB / 467.7 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.7065, allocations: 4 kB / 467.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-06/0.7065, allocations: 0 / 467.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.7083, allocations: 0.7179 MB / 468.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-06/0.7083, allocations: 0 / 468.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.7089, allocations: 115.8 kB / 468.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/0.7089, allocations: 7.953 kB / 468.6 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.709, allocations: 19.98 kB / 468.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.905e-06/0.709, allocations: 0 / 468.6 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/0.7091, allocations: 11.92 kB / 468.6 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.7108, allocations: 1.114 MB / 469.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/0.7114, allocations: 275.3 kB / 470 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.7116, allocations: 8 kB / 470 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009318/0.7125, allocations: 55.91 kB / 470.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7127, allocations: 43.88 kB / 470.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.7128, allocations: 19.98 kB / 470.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001622/0.7144, allocations: 0.9138 MB / 471 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.6e-07/0.7144, allocations: 0 / 471 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001599/0.716, allocations: 307.8 kB / 471.3 MB, free: 0.5938 MB / 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.0006709/0.7167, allocations: 303.7 kB / 471.6 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.7182, allocations: 0.5636 MB / 472.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7182, allocations: 1.188 kB / 472.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.7188, allocations: 243.7 kB / 472.4 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.7204, allocations: 248.9 kB / 472.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.7238, allocations: 1.495 MB / 474.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.7249, allocations: 1.172 MB / 475.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004561/0.7254, allocations: 99.41 kB / 475.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.711e-06/0.7254, allocations: 0 / 475.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02977/0.7552, allocations: 16.23 MB / 491.7 MB, free: 12.21 MB / 394.7 MB