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.25/2.25, allocations: 209.4 MB / 216.5 MB, free: 6.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.959e-05, allocations: 4 kB / 267.7 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 48.69 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6451, allocations: 92.19 MB / 408.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.6455, allocations: 97.48 kB / 408.6 MB, free: 0.582 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.2055/0.851, allocations: 37.78 MB / 446.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8511, allocations: 0 / 446.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.436e-05/0.8511, allocations: 16 kB / 446.4 MB, free: 13.84 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.002832/0.854, allocations: 1.184 MB / 447.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.8541, allocations: 8.031 kB / 447.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.8544, allocations: 134.4 kB / 447.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.8555, allocations: 490.2 kB / 448.2 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.8555, allocations: 32 kB / 448.3 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.8557, allocations: 60 kB / 448.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002535/0.8583, allocations: 1.152 MB / 449.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.8609, allocations: 1.154 MB / 450.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.8609, allocations: 0 / 450.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.861, allocations: 0 / 450.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.8612, allocations: 70.03 kB / 450.7 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/0.868, allocations: 2.68 MB / 453.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.8697, allocations: 0.6403 MB / 454 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.8703, allocations: 229.4 kB / 454.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/0.8704, allocations: 8.234 kB / 454.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.8704, allocations: 46.72 kB / 454.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.847e-06/0.8705, allocations: 4 kB / 454.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001696/0.8722, allocations: 0.5067 MB / 454.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.8723, allocations: 187.9 kB / 455 MB, free: 4.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.8733, allocations: 0.5581 MB / 455.5 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.8734, allocations: 25.7 kB / 455.6 MB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.874, allocations: 0.576 MB / 456.1 MB, free: 3.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.8741, allocations: 114.4 kB / 456.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.8742, allocations: 0 / 456.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.8744, allocations: 382.8 kB / 456.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.8751, allocations: 233.4 kB / 456.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/0.876, allocations: 0.5424 MB / 457.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.8769, allocations: 319.8 kB / 457.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.8769, allocations: 4 kB / 457.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002259/0.8792, allocations: 0.7977 MB / 458.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.8792, allocations: 11.59 kB / 458.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.8793, allocations: 15.94 kB / 458.5 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-05/0.8793, allocations: 24.02 kB / 458.6 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8805, allocations: 167.7 kB / 458.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.8806, allocations: 23.92 kB / 458.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.8817, allocations: 83.5 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.8818, allocations: 47.98 kB / 458.9 MB, free: 0.8594 MB / 378.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.0002871/0.8821, allocations: 154.9 kB / 459 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001606/0.8837, allocations: 0.5159 MB / 459.5 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.884, allocations: 67.16 kB / 459.6 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.8863, allocations: 0.6802 MB / 460.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.8864, allocations: 8 kB / 460.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8864, allocations: 0 / 460.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.8864, allocations: 0 / 460.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.8883, allocations: 0.6498 MB / 460.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.8883, allocations: 7.953 kB / 461 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8893, allocations: 115.9 kB / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.8894, allocations: 4 kB / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.8895, allocations: 11.98 kB / 461.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.8895, allocations: 4 kB / 461.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.8895, allocations: 0 / 461.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.8914, allocations: 1.051 MB / 462.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/0.8919, allocations: 219.9 kB / 462.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.8921, allocations: 15.94 kB / 462.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.893, allocations: 43.97 kB / 462.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.8933, allocations: 39.94 kB / 462.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.8934, allocations: 16 kB / 462.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007149/0.8941, allocations: 419.1 kB / 462.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8941, allocations: 0 / 462.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001873/0.896, allocations: 338.9 kB / 463.2 MB, free: 12.39 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.003012/0.899, allocations: 2.15 MB / 465.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.9007, allocations: 0.5404 MB / 465.9 MB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.9008, allocations: 4 kB / 465.9 MB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000709/0.9015, allocations: 236.6 kB / 466.1 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.9028, allocations: 115.5 kB / 466.2 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.9082, allocations: 1.598 MB / 467.8 MB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.9095, allocations: 1.19 MB / 469 MB, free: 6.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001363/0.9109, allocations: 303.3 kB / 469.3 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/0.9117, allocations: 363.3 kB / 469.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/0.9117, allocations: 0 / 469.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/0.9825, allocations: 16.4 MB / 486.1 MB, free: 5.371 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.9828, allocations: 197.3 kB / 486.3 MB, free: 5.176 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.358, allocations: 2.969 kB / 486.3 MB, free: 5.176 MB / 410.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