Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.719e-05, allocations: 4 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6148, allocations: 92.7 MB / 414.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004702/0.6154, allocations: 91.92 kB / 414.7 MB, free: 12.68 MB / 346.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.2549/0.8703, allocations: 38.22 MB / 452.9 MB, free: 5.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8704, allocations: 0 / 452.9 MB, free: 5.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.8705, allocations: 12 kB / 452.9 MB, free: 5.98 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003055/0.8735, allocations: 1.192 MB / 454.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.8736, allocations: 8.031 kB / 454.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003379/0.874, allocations: 168.8 kB / 454.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.8743, allocations: 130.4 kB / 454.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8754, allocations: 490.2 kB / 454.9 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.8755, allocations: 74 kB / 455 MB, free: 3.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.8757, allocations: 92 kB / 455.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.8787, allocations: 1.282 MB / 456.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.8788, allocations: 4 kB / 456.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.8789, allocations: 40 kB / 456.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.8791, allocations: 62.08 kB / 456.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.882, allocations: 1.234 MB / 457.7 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007617/0.8896, allocations: 3.098 MB / 460.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.8916, allocations: 0.6481 MB / 461.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.8923, allocations: 237.4 kB / 461.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.125e-05/0.8923, allocations: 16.2 kB / 461.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.8924, allocations: 50.67 kB / 461.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/0.8924, allocations: 0 / 461.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001957/0.8944, allocations: 0.5725 MB / 462.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8945, allocations: 196 kB / 462.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.8971, allocations: 1.173 MB / 463.7 MB, free: 10.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.8972, allocations: 29.7 kB / 463.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.8979, allocations: 0.5395 MB / 464.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.8981, allocations: 114.4 kB / 464.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.8982, allocations: 16 kB / 464.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8984, allocations: 330 kB / 464.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007911/0.8992, allocations: 249.4 kB / 464.9 MB, free: 9.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.9002, allocations: 0.5542 MB / 465.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009783/0.9012, allocations: 331.8 kB / 465.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.9012, allocations: 11.94 kB / 465.8 MB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00275/0.904, allocations: 0.883 MB / 466.7 MB, free: 7.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.9041, allocations: 8 kB / 466.7 MB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.9041, allocations: 12 kB / 466.7 MB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-05/0.9042, allocations: 16 kB / 466.7 MB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.9054, allocations: 171.8 kB / 466.9 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/0.9055, allocations: 23.92 kB / 466.9 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.907, allocations: 166.5 kB / 467.1 MB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.9071, allocations: 43.98 kB / 467.1 MB, free: 7.219 MB / 394.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.0002813/0.9074, allocations: 174.9 kB / 467.3 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.9078, allocations: 118.4 kB / 467.4 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.9102, allocations: 0.739 MB / 468.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.9103, allocations: 4 kB / 468.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.9103, allocations: 4 kB / 468.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.9103, allocations: 4 kB / 468.2 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.9124, allocations: 0.7101 MB / 468.9 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.9124, allocations: 11.95 kB / 468.9 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.9134, allocations: 115.8 kB / 469 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/0.9134, allocations: 4 kB / 469 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/0.9135, allocations: 15.98 kB / 469 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.9135, allocations: 4 kB / 469 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9135, allocations: 8 kB / 469 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.9155, allocations: 1.106 MB / 470.1 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.9163, allocations: 287.3 kB / 470.4 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.9165, allocations: 11.95 kB / 470.4 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.9177, allocations: 47.95 kB / 470.5 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9179, allocations: 43.92 kB / 470.5 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.918, allocations: 20 kB / 470.5 MB, free: 3.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.92, allocations: 0.9099 MB / 471.4 MB, free: 2.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.92, allocations: 0 / 471.4 MB, free: 2.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002001/0.922, allocations: 307.8 kB / 471.7 MB, free: 2.434 MB / 394.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.003335/0.9254, allocations: 2.199 MB / 473.9 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.9273, allocations: 0.5602 MB / 474.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9274, allocations: 1.125 kB / 474.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.9281, allocations: 247.7 kB / 474.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.9302, allocations: 244.8 kB / 475 MB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.9359, allocations: 1.768 MB / 476.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.937, allocations: 1.184 MB / 477.9 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002429/0.9395, allocations: 394.7 kB / 478.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/0.9409, allocations: 395.3 kB / 478.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.9409, allocations: 0 / 478.7 MB, free: 11.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09376/1.035, allocations: 25.79 MB / 0.4927 GB, free: 1.613 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/1.035, allocations: 204 kB / 0.4929 GB, free: 1.387 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.612/4.647, allocations: 11.78 kB / 0.4929 GB, free: 1.375 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat