Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.611e-05, allocations: 0.9375 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4189, allocations: 54.86 MB / 359.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.6238, allocations: 101.1 MB / 461 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004704/0.6243, allocations: 91.92 kB / 461.1 MB, free: 11.69 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.1992/0.8235, allocations: 38.2 MB / 499.3 MB, free: 5.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8236, allocations: 0 / 499.3 MB, free: 5.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.828e-05/0.8236, allocations: 16 kB / 499.3 MB, free: 5.051 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.003091/0.8267, allocations: 1.184 MB / 0.4887 GB, free: 3.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.8268, allocations: 8.031 kB / 0.4887 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003504/0.8272, allocations: 164.9 kB / 0.4889 GB, free: 3.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.8275, allocations: 134.4 kB / 0.489 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.8287, allocations: 490.2 kB / 0.4895 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.8288, allocations: 74 kB / 0.4896 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.829, allocations: 103.9 kB / 0.4897 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.8321, allocations: 1.279 MB / 0.4909 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.8322, allocations: 4 kB / 0.4909 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.8323, allocations: 40 kB / 0.4909 GB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.8324, allocations: 62.03 kB / 0.491 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.8354, allocations: 1.23 MB / 0.4922 GB, free: 156 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007475/0.8429, allocations: 3.09 MB / 0.4952 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.8448, allocations: 0.652 MB / 0.4959 GB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.8455, allocations: 237.5 kB / 0.4961 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.8456, allocations: 4.234 kB / 0.4961 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.8457, allocations: 46.73 kB / 0.4961 GB, free: 11.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 3.657e-06/0.8457, allocations: 0 / 0.4961 GB, free: 11.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001993/0.8477, allocations: 0.5842 MB / 0.4967 GB, free: 11.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.8478, allocations: 192 kB / 0.4969 GB, free: 11.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.8503, allocations: 1.181 MB / 0.498 GB, free: 9.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.8505, allocations: 29.7 kB / 0.4981 GB, free: 9.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.851, allocations: 0.5016 MB / 0.4986 GB, free: 9.402 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.8512, allocations: 110.5 kB / 0.4987 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.8513, allocations: 16 kB / 0.4987 GB, free: 9.277 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8515, allocations: 334.8 kB / 0.499 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007715/0.8523, allocations: 249.4 kB / 0.4992 GB, free: 8.699 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.8533, allocations: 0.5503 MB / 0.4998 GB, free: 7.988 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.8542, allocations: 331.5 kB / 0.5001 GB, free: 7.664 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.8543, allocations: 4 kB / 0.5001 GB, free: 7.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002384/0.8567, allocations: 0.7905 MB / 0.5009 GB, free: 6.863 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.8567, allocations: 11.98 kB / 0.5009 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.8568, allocations: 16.16 kB / 0.5009 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/0.8568, allocations: 16 kB / 0.5009 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8581, allocations: 167.7 kB / 0.5011 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/0.8581, allocations: 31.81 kB / 0.5011 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.8596, allocations: 166.5 kB / 0.5013 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.8597, allocations: 44 kB / 0.5013 GB, free: 6.418 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.0002734/0.86, allocations: 163 kB / 0.5015 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.8604, allocations: 118.5 kB / 0.5016 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.8628, allocations: 0.7432 MB / 0.5023 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.8628, allocations: 8 kB / 0.5023 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.8628, allocations: 0 / 0.5023 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.8629, allocations: 11.92 kB / 0.5023 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.865, allocations: 0.7101 MB / 0.503 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.865, allocations: 0 / 0.503 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/0.8661, allocations: 119.9 kB / 0.5031 GB, free: 4.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.8661, allocations: 3.984 kB / 0.5031 GB, free: 4.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.8662, allocations: 16 kB / 0.5031 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.868e-06/0.8662, allocations: 4 kB / 0.5031 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8662, allocations: 3.938 kB / 0.5031 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.8682, allocations: 1.118 MB / 0.5042 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.8688, allocations: 195.4 kB / 0.5044 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.8691, allocations: 11.98 kB / 0.5044 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8703, allocations: 51.97 kB / 0.5045 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.8705, allocations: 55.8 kB / 0.5045 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.8705, allocations: 12 kB / 0.5045 GB, free: 2.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001971/0.8725, allocations: 0.9135 MB / 0.5054 GB, free: 2.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8726, allocations: 0 / 0.5054 GB, free: 2.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0021/0.8747, allocations: 315.8 kB / 0.5057 GB, free: 1.695 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.003293/0.878, allocations: 2.197 MB / 0.5079 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.88, allocations: 0.5603 MB / 0.5084 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.88, allocations: 3.938 kB / 0.5084 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.8808, allocations: 247.7 kB / 0.5087 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.883, allocations: 245.5 kB / 0.5089 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.889, allocations: 1.783 MB / 0.5107 GB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.8901, allocations: 1.184 MB / 0.5118 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.8912, allocations: 407.3 kB / 0.5122 GB, free: 10.95 MB / 458.7 MB Notification: Performance of SimCode: time 3.847e-06/0.8912, allocations: 0 / 0.5122 GB, free: 10.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.194/4.085, allocations: 21.24 MB / 0.5329 GB, free: 133.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat