Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.086e-05, allocations: 4 kB / 299.5 MB, free: 6.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4134, allocations: 54.85 MB / 354.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.5921, allocations: 100.4 MB / 454.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/0.5926, allocations: 99.88 kB / 454.9 MB, free: 13.67 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.1726/0.7652, allocations: 37.77 MB / 492.6 MB, free: 7.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.7653, allocations: 0 / 492.6 MB, free: 7.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.7653, allocations: 23.94 kB / 492.7 MB, free: 7.406 MB / 426.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.002939/0.7683, allocations: 1.176 MB / 493.8 MB, free: 6.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.7683, allocations: 8.031 kB / 493.8 MB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/0.7687, allocations: 130.4 kB / 494 MB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7698, allocations: 486.2 kB / 494.4 MB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.7698, allocations: 36 kB / 494.5 MB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.77, allocations: 59.94 kB / 494.5 MB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002587/0.7726, allocations: 1.16 MB / 495.7 MB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.7752, allocations: 1.154 MB / 496.9 MB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.7753, allocations: 3.938 kB / 496.9 MB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.7754, allocations: 0 / 496.9 MB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.7755, allocations: 70.08 kB / 496.9 MB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006242/0.7818, allocations: 2.668 MB / 499.6 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3166/1.098, allocations: 0.6334 MB / 0.4885 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009461/1.099, allocations: 221.6 kB / 0.4887 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/1.1, allocations: 15.14 kB / 0.4887 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.1, allocations: 47.75 kB / 0.4888 GB, free: 120.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.749e-06/1.1, allocations: 0 / 0.4888 GB, free: 120.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002353/1.102, allocations: 0.5139 MB / 0.4893 GB, free: 120.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/1.102, allocations: 188 kB / 0.4895 GB, free: 119.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.103, allocations: 0.5527 MB / 0.49 GB, free: 119.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/1.104, allocations: 27.27 kB / 0.49 GB, free: 119.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/1.104, allocations: 0.5777 MB / 0.4906 GB, free: 119.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.104, allocations: 110.8 kB / 0.4907 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/1.104, allocations: 3.375 kB / 0.4907 GB, free: 119.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/1.105, allocations: 385.8 kB / 0.4911 GB, free: 119.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000917/1.106, allocations: 229.9 kB / 0.4913 GB, free: 119.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.107, allocations: 0.5428 MB / 0.4918 GB, free: 118.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.108, allocations: 315 kB / 0.4921 GB, free: 118.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.108, allocations: 2.875 kB / 0.4921 GB, free: 118.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003099/1.111, allocations: 0.7919 MB / 0.4929 GB, free: 118.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.111, allocations: 9.125 kB / 0.4929 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/1.111, allocations: 12.84 kB / 0.4929 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.479e-05/1.111, allocations: 17.34 kB / 0.4929 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.113, allocations: 175.5 kB / 0.4931 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.102e-05/1.113, allocations: 27.58 kB / 0.4931 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.114, allocations: 82.06 kB / 0.4932 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.115, allocations: 46.19 kB / 0.4932 GB, free: 118.6 MB / 426.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.000319/1.115, allocations: 151.1 kB / 0.4934 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002187/1.117, allocations: 0.5128 MB / 0.4939 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/1.118, allocations: 76.62 kB / 0.494 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/1.12, allocations: 0.6781 MB / 0.4946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.12, allocations: 5.219 kB / 0.4946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.121, allocations: 4.375 kB / 0.4946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.121, allocations: 5.969 kB / 0.4946 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/1.123, allocations: 0.6445 MB / 0.4953 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.123, allocations: 5.172 kB / 0.4953 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.124, allocations: 109.5 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/1.124, allocations: 6.703 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/1.124, allocations: 18.88 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.124, allocations: 6.312 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.124, allocations: 5.203 kB / 0.4954 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.127, allocations: 1.046 MB / 0.4964 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/1.127, allocations: 144.4 kB / 0.4966 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/1.127, allocations: 3.406 kB / 0.4966 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.128, allocations: 43.86 kB / 0.4966 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/1.129, allocations: 47.25 kB / 0.4967 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/1.129, allocations: 15.03 kB / 0.4967 GB, free: 117.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009515/1.13, allocations: 412 kB / 0.4971 GB, free: 117.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.13, allocations: 2.719 kB / 0.4971 GB, free: 117.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00289/1.133, allocations: 349.6 kB / 0.4974 GB, free: 117.3 MB / 426.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.003666/1.136, allocations: 2.133 MB / 0.4995 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/1.139, allocations: 0.5419 MB / 0.5 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.139, allocations: 0 / 0.5 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009188/1.14, allocations: 247.4 kB / 0.5002 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.142, allocations: 114.2 kB / 0.5004 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/1.148, allocations: 1.604 MB / 0.5019 GB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.149, allocations: 1.184 MB / 0.5031 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001503/1.151, allocations: 300.5 kB / 0.5034 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008336/1.152, allocations: 370.1 kB / 0.5037 GB, free: 114.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.152, allocations: 0 / 0.5037 GB, free: 114.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09495/1.247, allocations: 16.41 MB / 0.5197 GB, free: 107.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.247, allocations: 197.5 kB / 0.5199 GB, free: 107.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.361, allocations: 0 / 0.5199 GB, free: 107.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat