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 2.026/2.026, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.622e-05/4.623e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.5636, allocations: 92.7 MB / 414.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/0.5641, allocations: 95.92 kB / 414.7 MB, free: 13.08 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.1788/0.7429, allocations: 38.22 MB / 452.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.743, allocations: 0 / 452.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.7431, allocations: 12 kB / 452.9 MB, free: 6.387 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.002996/0.7461, allocations: 1.184 MB / 454.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.7461, allocations: 12.02 kB / 454.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003459/0.7465, allocations: 164.9 kB / 454.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.7468, allocations: 130.4 kB / 454.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7479, allocations: 498.2 kB / 454.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.748, allocations: 69.98 kB / 454.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.7483, allocations: 96 kB / 455 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.7514, allocations: 1.275 MB / 456.3 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.7514, allocations: 3.938 kB / 456.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.7516, allocations: 43.98 kB / 456.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.7517, allocations: 74.06 kB / 456.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.7547, allocations: 1.226 MB / 457.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007589/0.7623, allocations: 3.094 MB / 460.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.7642, allocations: 0.652 MB / 461.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.7649, allocations: 245.4 kB / 461.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/0.765, allocations: 4.234 kB / 461.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.7651, allocations: 46.73 kB / 461.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 3.417e-06/0.7651, allocations: 0 / 461.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.00196/0.767, allocations: 0.5802 MB / 462.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7672, allocations: 183.9 kB / 462.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.7698, allocations: 1.177 MB / 463.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.77, allocations: 33.86 kB / 463.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.7705, allocations: 0.5018 MB / 464.2 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.7707, allocations: 114.4 kB / 464.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.7709, allocations: 12 kB / 464.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.771, allocations: 342.8 kB / 464.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007648/0.7718, allocations: 237.4 kB / 464.8 MB, free: 10.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.7729, allocations: 0.5619 MB / 465.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.7739, allocations: 335.8 kB / 465.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7739, allocations: 0 / 465.7 MB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002471/0.7764, allocations: 0.7936 MB / 466.5 MB, free: 8.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.7765, allocations: 12.94 kB / 466.5 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.7765, allocations: 8 kB / 466.6 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-05/0.7766, allocations: 20 kB / 466.6 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.7779, allocations: 175.6 kB / 466.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/0.778, allocations: 23.92 kB / 466.8 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7797, allocations: 166.5 kB / 466.9 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.78, allocations: 40 kB / 467 MB, free: 7.758 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.000318/0.7803, allocations: 174.9 kB / 467.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.7807, allocations: 114.5 kB / 467.3 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.7832, allocations: 0.739 MB / 468 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.7833, allocations: 4 kB / 468 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.7833, allocations: 4 kB / 468 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.7834, allocations: 3.984 kB / 468 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.7856, allocations: 0.7217 MB / 468.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.7857, allocations: 0 / 468.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.7868, allocations: 115.9 kB / 468.8 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/0.7868, allocations: 4 kB / 468.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.787, allocations: 19.94 kB / 468.9 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.787, allocations: 7.984 kB / 468.9 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.787, allocations: 7.938 kB / 468.9 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.7891, allocations: 1.106 MB / 470 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/0.7899, allocations: 279.3 kB / 470.3 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.7902, allocations: 11.95 kB / 470.3 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7915, allocations: 55.89 kB / 470.3 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.7918, allocations: 43.94 kB / 470.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.7919, allocations: 15.98 kB / 470.4 MB, free: 4.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002091/0.794, allocations: 0.906 MB / 471.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.794, allocations: 0 / 471.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002249/0.7963, allocations: 311.8 kB / 471.6 MB, free: 2.973 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.003691/0.8, allocations: 2.204 MB / 473.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.8021, allocations: 0.5593 MB / 474.4 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.8022, allocations: 0 / 474.4 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.8031, allocations: 245.8 kB / 474.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.8055, allocations: 248.8 kB / 474.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006478/0.8121, allocations: 1.797 MB / 476.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.8132, allocations: 1.18 MB / 477.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.8143, allocations: 411.3 kB / 478.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8143, allocations: 0 / 478.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.835/3.649, allocations: 21.26 MB / 499.5 MB, free: 6.996 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