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 1.903/1.903, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.962e-05/4.986e-05, allocations: 3.984 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5661, allocations: 92.7 MB / 414.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/0.5666, allocations: 95.92 kB / 414.7 MB, free: 12.7 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.2244/0.7911, allocations: 38.22 MB / 452.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7911, allocations: 0 / 452.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.7912, allocations: 16 kB / 452.9 MB, free: 6 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.0029/0.7941, allocations: 1.192 MB / 454.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7942, allocations: 8.031 kB / 454.1 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/0.7945, allocations: 168.9 kB / 454.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.7948, allocations: 130.4 kB / 454.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.7959, allocations: 486.3 kB / 454.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.796, allocations: 74 kB / 454.9 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.7963, allocations: 91.98 kB / 455 MB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.7993, allocations: 1.294 MB / 456.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.7994, allocations: 0 / 456.3 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.7995, allocations: 40 kB / 456.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.7997, allocations: 74 kB / 456.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.8026, allocations: 1.246 MB / 457.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007897/0.8106, allocations: 3.098 MB / 460.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.8125, allocations: 0.6561 MB / 461.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.8133, allocations: 237.4 kB / 461.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.8134, allocations: 16.16 kB / 461.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.8134, allocations: 42.73 kB / 461.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 4.208e-06/0.8134, allocations: 0 / 461.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001981/0.8154, allocations: 0.5879 MB / 462.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8156, allocations: 183.9 kB / 462.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.8182, allocations: 1.181 MB / 463.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.8184, allocations: 29.7 kB / 463.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.8191, allocations: 0.5356 MB / 464.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.8193, allocations: 114.4 kB / 464.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-05/0.8194, allocations: 12 kB / 464.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.8195, allocations: 337.9 kB / 464.7 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.8203, allocations: 241.4 kB / 464.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.8214, allocations: 0.5558 MB / 465.5 MB, free: 8.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.8224, allocations: 339.7 kB / 465.8 MB, free: 8.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.8224, allocations: 4 kB / 465.8 MB, free: 8.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002665/0.8251, allocations: 0.914 MB / 466.7 MB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.8252, allocations: 12 kB / 466.7 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.8252, allocations: 8 kB / 466.7 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/0.8253, allocations: 20 kB / 466.8 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.8265, allocations: 171.9 kB / 466.9 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.8265, allocations: 23.92 kB / 467 MB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.828, allocations: 162.5 kB / 467.1 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.8282, allocations: 47.98 kB / 467.2 MB, free: 7.168 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.000301/0.8285, allocations: 170.8 kB / 467.3 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.8288, allocations: 118.5 kB / 467.4 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.8313, allocations: 0.739 MB / 468.2 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.8314, allocations: 4 kB / 468.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.8314, allocations: 4 kB / 468.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.8314, allocations: 0 / 468.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.8335, allocations: 0.7218 MB / 468.9 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.8335, allocations: 4 kB / 468.9 MB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.8345, allocations: 119.8 kB / 469 MB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/0.8345, allocations: 4 kB / 469 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.8346, allocations: 19.98 kB / 469.1 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.8346, allocations: 4 kB / 469.1 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8346, allocations: 4 kB / 469.1 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.8368, allocations: 1.114 MB / 470.2 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.8377, allocations: 279.3 kB / 470.5 MB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.8379, allocations: 11.95 kB / 470.5 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.8391, allocations: 51.95 kB / 470.5 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.8394, allocations: 39.89 kB / 470.6 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.8395, allocations: 19.98 kB / 470.6 MB, free: 3.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002111/0.8416, allocations: 0.9137 MB / 471.5 MB, free: 2.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.8417, allocations: 0 / 471.5 MB, free: 2.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001936/0.8436, allocations: 307.8 kB / 471.8 MB, free: 2.383 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.003443/0.8471, allocations: 2.203 MB / 474 MB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.849, allocations: 0.5802 MB / 474.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8491, allocations: 0 / 474.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.8499, allocations: 243.7 kB / 474.8 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.8519, allocations: 241.5 kB / 475 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.8578, allocations: 1.78 MB / 476.8 MB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.859, allocations: 1.18 MB / 478 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001671/0.8607, allocations: 398.6 kB / 478.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/0.8617, allocations: 387.3 kB / 478.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/0.8617, allocations: 4 kB / 478.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0796/0.9413, allocations: 25.87 MB / 0.4928 GB, free: 1.453 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.9417, allocations: 202.3 kB / 0.493 GB, free: 1.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.4, allocations: 0 / 0.493 GB, free: 1.23 MB / 426.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