Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 270 MB / 282.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.816e-05, allocations: 0 / 347 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.5186, allocations: 107.5 MB / 0.5042 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5189, allocations: 99.92 kB / 0.5043 GB, free: 15.04 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:4393:11-4407: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 trunk/Fluid/Dissipation.mo:4369:11-4383: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 trunk/Fluid/Dissipation.mo:4418:11-4432: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.5078/1.027, allocations: 39.04 MB / 0.5424 GB, free: 100.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.055e-06/1.027, allocations: 0 / 0.5424 GB, free: 100.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.004e-05/1.027, allocations: 16 kB / 0.5425 GB, free: 100 MB / 442.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.001585/1.028, allocations: 1.184 MB / 0.5436 GB, free: 98.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.028, allocations: 8.031 kB / 0.5436 GB, free: 98.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/1.029, allocations: 126.4 kB / 0.5437 GB, free: 98.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/1.029, allocations: 494.2 kB / 0.5442 GB, free: 98.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/1.029, allocations: 74 kB / 0.5443 GB, free: 98.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.03, allocations: 96 kB / 0.5444 GB, free: 97.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/1.031, allocations: 1.279 MB / 0.5456 GB, free: 96.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.031, allocations: 3.938 kB / 0.5456 GB, free: 96.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/1.032, allocations: 36 kB / 0.5457 GB, free: 96.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/1.032, allocations: 66.08 kB / 0.5457 GB, free: 96.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.034, allocations: 1.226 MB / 0.5469 GB, free: 95.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004463/1.038, allocations: 3.094 MB / 0.5499 GB, free: 92.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.039, allocations: 0.6501 MB / 0.5506 GB, free: 91.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/1.04, allocations: 233.5 kB / 0.5508 GB, free: 91.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/1.04, allocations: 20.14 kB / 0.5508 GB, free: 91.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.04, allocations: 42.73 kB / 0.5509 GB, free: 91.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 4.613e-06/1.04, allocations: 3.984 kB / 0.5509 GB, free: 91.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001328/1.041, allocations: 0.5802 MB / 0.5514 GB, free: 90.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.041, allocations: 188.1 kB / 0.5516 GB, free: 90.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/1.043, allocations: 1.177 MB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/1.043, allocations: 29.7 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/1.043, allocations: 0.5017 MB / 0.5533 GB, free: 88.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.043, allocations: 114.4 kB / 0.5534 GB, free: 88.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/1.043, allocations: 12 kB / 0.5534 GB, free: 88.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.745e-05/1.043, allocations: 334.8 kB / 0.5537 GB, free: 88.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/1.044, allocations: 245.4 kB / 0.5539 GB, free: 87.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/1.045, allocations: 0.5581 MB / 0.5545 GB, free: 87.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/1.045, allocations: 335 kB / 0.5548 GB, free: 86.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.84e-06/1.045, allocations: 4 kB / 0.5548 GB, free: 86.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00163/1.047, allocations: 0.7945 MB / 0.5556 GB, free: 86.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.047, allocations: 16 kB / 0.5556 GB, free: 86.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.047, allocations: 8 kB / 0.5556 GB, free: 86.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/1.047, allocations: 20 kB / 0.5556 GB, free: 85.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/1.048, allocations: 179.6 kB / 0.5558 GB, free: 85.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.048, allocations: 23.94 kB / 0.5558 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/1.049, allocations: 162.5 kB / 0.556 GB, free: 85.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/1.049, allocations: 43.98 kB / 0.556 GB, free: 85.59 MB / 442.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.0001861/1.049, allocations: 170.9 kB / 0.5562 GB, free: 85.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.049, allocations: 118.5 kB / 0.5563 GB, free: 85.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.051, allocations: 0.7419 MB / 0.557 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.68e-06/1.051, allocations: 4 kB / 0.557 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-06/1.051, allocations: 0 / 0.557 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-06/1.051, allocations: 4 kB / 0.557 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.052, allocations: 0.7101 MB / 0.5577 GB, free: 83.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.052, allocations: 4 kB / 0.5577 GB, free: 83.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/1.053, allocations: 115.9 kB / 0.5578 GB, free: 83.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.271e-06/1.053, allocations: 4 kB / 0.5578 GB, free: 83.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/1.053, allocations: 19.94 kB / 0.5579 GB, free: 83.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.884e-06/1.053, allocations: 7.938 kB / 0.5579 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.986e-06/1.053, allocations: 4 kB / 0.5579 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.054, allocations: 1.113 MB / 0.559 GB, free: 82.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/1.055, allocations: 195.5 kB / 0.5591 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.055, allocations: 4 kB / 0.5591 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/1.056, allocations: 51.95 kB / 0.5592 GB, free: 82.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.056, allocations: 51.83 kB / 0.5592 GB, free: 82.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/1.056, allocations: 19.98 kB / 0.5593 GB, free: 82.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001224/1.057, allocations: 0.9058 MB / 0.5602 GB, free: 81.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.6e-07/1.057, allocations: 0 / 0.5602 GB, free: 81.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001396/1.059, allocations: 315.8 kB / 0.5605 GB, free: 80.89 MB / 442.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.0005535/1.059, allocations: 304 kB / 0.5607 GB, free: 80.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/1.06, allocations: 0.5631 MB / 0.5613 GB, free: 80.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.072e-06/1.06, allocations: 0 / 0.5613 GB, free: 80.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005214/1.061, allocations: 243.7 kB / 0.5615 GB, free: 79.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.062, allocations: 243.5 kB / 0.5618 GB, free: 79.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/1.065, allocations: 1.504 MB / 0.5632 GB, free: 78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/1.066, allocations: 1.176 MB / 0.5644 GB, free: 76.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.066, allocations: 99.39 kB / 0.5645 GB, free: 76.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.592e-06/1.066, allocations: 4 kB / 0.5645 GB, free: 76.69 MB / 442.7 MB Notification: Performance of Templates: time 0.02347/1.09, allocations: 16.22 MB / 0.5803 GB, free: 60.55 MB / 442.7 MB