Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.9e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5321, allocations: 92.69 MB / 414.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/0.5325, allocations: 95.94 kB / 414.6 MB, free: 13.01 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.178/0.7106, allocations: 38.22 MB / 452.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7106, allocations: 0 / 452.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.7107, allocations: 16 kB / 452.9 MB, free: 6.312 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.002705/0.7134, allocations: 1.192 MB / 454.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7135, allocations: 8.031 kB / 454.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/0.7138, allocations: 164.9 kB / 454.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.7141, allocations: 130.4 kB / 454.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7152, allocations: 486.3 kB / 454.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.7153, allocations: 77.98 kB / 454.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.7155, allocations: 95.94 kB / 455 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.7185, allocations: 1.294 MB / 456.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.7186, allocations: 0 / 456.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.7187, allocations: 43.98 kB / 456.3 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.7188, allocations: 62.03 kB / 456.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.7218, allocations: 1.253 MB / 457.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007323/0.7291, allocations: 3.09 MB / 460.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.731, allocations: 0.6639 MB / 461.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006694/0.7317, allocations: 229.5 kB / 461.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.7318, allocations: 16.22 kB / 461.6 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.7318, allocations: 50.66 kB / 461.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.546e-06/0.7318, allocations: 0 / 461.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001954/0.7338, allocations: 0.5762 MB / 462.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.734, allocations: 187.9 kB / 462.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.7366, allocations: 1.189 MB / 463.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.7368, allocations: 29.7 kB / 463.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/0.7374, allocations: 0.494 MB / 464.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.7376, allocations: 110.5 kB / 464.3 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.7376, allocations: 12 kB / 464.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7378, allocations: 338.8 kB / 464.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007803/0.7386, allocations: 249.4 kB / 464.9 MB, free: 9.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.7397, allocations: 0.5557 MB / 465.4 MB, free: 9.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/0.7406, allocations: 331.8 kB / 465.7 MB, free: 8.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.7407, allocations: 8 kB / 465.7 MB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002521/0.7432, allocations: 0.8214 MB / 466.6 MB, free: 8.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.7433, allocations: 12 kB / 466.6 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.7433, allocations: 12 kB / 466.6 MB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/0.7434, allocations: 20 kB / 466.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.7447, allocations: 175.9 kB / 466.8 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-05/0.7448, allocations: 23.92 kB / 466.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.7463, allocations: 158.5 kB / 467 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.7465, allocations: 55.92 kB / 467 MB, free: 7.598 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.0003179/0.7469, allocations: 166.9 kB / 467.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.7473, allocations: 126.5 kB / 467.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.7497, allocations: 0.7351 MB / 468 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.7498, allocations: 4 kB / 468 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7498, allocations: 4 kB / 468 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.7499, allocations: 0 / 468 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.7528, allocations: 0.7218 MB / 468.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.7529, allocations: 4 kB / 468.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.754, allocations: 115.8 kB / 468.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.754, allocations: 0 / 468.9 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/0.7541, allocations: 19.98 kB / 468.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/0.7542, allocations: 4 kB / 468.9 MB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.7542, allocations: 7.938 kB / 468.9 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.7562, allocations: 1.11 MB / 470 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007774/0.7571, allocations: 279.3 kB / 470.3 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.7573, allocations: 11.95 kB / 470.3 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.7585, allocations: 51.95 kB / 470.4 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.7587, allocations: 43.89 kB / 470.4 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-05/0.7588, allocations: 19.98 kB / 470.4 MB, free: 4.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002052/0.7608, allocations: 0.9099 MB / 471.3 MB, free: 3.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7609, allocations: 3.938 kB / 471.3 MB, free: 3.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001969/0.7629, allocations: 311.8 kB / 471.6 MB, free: 2.812 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.003472/0.7664, allocations: 2.2 MB / 473.8 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.7684, allocations: 0.5764 MB / 474.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7684, allocations: 0 / 474.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000841/0.7693, allocations: 243.7 kB / 474.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7714, allocations: 237.5 kB / 474.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.777, allocations: 1.809 MB / 476.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.7782, allocations: 1.176 MB / 477.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7793, allocations: 411.3 kB / 478.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7793, allocations: 0 / 478.3 MB, free: 12.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.925/3.705, allocations: 21.34 MB / 499.6 MB, free: 6.727 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat