Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.609/2.609, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.784e-05/4.796e-05, allocations: 4 kB / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4089, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.5986, allocations: 107.5 MB / 0.5057 GB, free: 14.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004328/0.5991, allocations: 95.94 kB / 0.5058 GB, free: 14.9 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:4393:11-4407: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 4.0.0/Fluid/Dissipation.mo:4369:11-4383: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 4.0.0/Fluid/Dissipation.mo:4418:11-4432: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.5159/1.115, allocations: 39.04 MB / 0.5439 GB, free: 99.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.115, allocations: 0 / 0.5439 GB, free: 99.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.568e-05/1.115, allocations: 12 kB / 0.5439 GB, free: 99.79 MB / 442.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.003308/1.118, allocations: 1.188 MB / 0.5451 GB, free: 98.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.119, allocations: 8.031 kB / 0.5451 GB, free: 98.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/1.119, allocations: 164.9 kB / 0.5453 GB, free: 98.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.119, allocations: 130.4 kB / 0.5454 GB, free: 98.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.121, allocations: 490.2 kB / 0.5459 GB, free: 97.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/1.121, allocations: 77.98 kB / 0.5459 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/1.121, allocations: 96 kB / 0.546 GB, free: 97.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/1.124, allocations: 1.282 MB / 0.5473 GB, free: 96.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.125, allocations: 4 kB / 0.5473 GB, free: 96.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/1.125, allocations: 40 kB / 0.5473 GB, free: 96.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/1.125, allocations: 62.08 kB / 0.5474 GB, free: 96.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/1.129, allocations: 1.23 MB / 0.5486 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008921/1.138, allocations: 3.09 MB / 0.5516 GB, free: 91.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/1.14, allocations: 0.6529 MB / 0.5522 GB, free: 91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/1.141, allocations: 237.3 kB / 0.5525 GB, free: 90.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/1.141, allocations: 16.14 kB / 0.5525 GB, free: 90.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.141, allocations: 42.8 kB / 0.5525 GB, free: 90.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 5.12e-06/1.141, allocations: 0 / 0.5525 GB, free: 90.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.002507/1.143, allocations: 0.5732 MB / 0.5531 GB, free: 90.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.144, allocations: 188.1 kB / 0.5532 GB, free: 89.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.147, allocations: 1.181 MB / 0.5544 GB, free: 88.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/1.147, allocations: 29.7 kB / 0.5544 GB, free: 88.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/1.148, allocations: 0.5395 MB / 0.555 GB, free: 88.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/1.148, allocations: 114.4 kB / 0.5551 GB, free: 88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/1.148, allocations: 16 kB / 0.5551 GB, free: 87.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/1.148, allocations: 330 kB / 0.5554 GB, free: 87.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009814/1.149, allocations: 249.4 kB / 0.5556 GB, free: 87.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.15, allocations: 0.5581 MB / 0.5562 GB, free: 86.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.151, allocations: 330.6 kB / 0.5565 GB, free: 86.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.151, allocations: 4 kB / 0.5565 GB, free: 86.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003214/1.155, allocations: 0.8903 MB / 0.5574 GB, free: 85.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/1.155, allocations: 11.98 kB / 0.5574 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.155, allocations: 16.16 kB / 0.5574 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/1.155, allocations: 16 kB / 0.5574 GB, free: 85.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.156, allocations: 171.7 kB / 0.5576 GB, free: 85.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.743e-05/1.156, allocations: 19.92 kB / 0.5576 GB, free: 85.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.158, allocations: 166.5 kB / 0.5578 GB, free: 85.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.159, allocations: 40 kB / 0.5578 GB, free: 85.04 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.0003323/1.159, allocations: 170.9 kB / 0.558 GB, free: 84.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/1.159, allocations: 118.5 kB / 0.5581 GB, free: 84.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/1.163, allocations: 0.7466 MB / 0.5588 GB, free: 83.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.163, allocations: 4 kB / 0.5588 GB, free: 83.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.163, allocations: 0 / 0.5588 GB, free: 83.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.163, allocations: 11.98 kB / 0.5588 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/1.165, allocations: 0.7062 MB / 0.5595 GB, free: 83.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.165, allocations: 4 kB / 0.5595 GB, free: 83.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.166, allocations: 115.9 kB / 0.5596 GB, free: 83.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/1.167, allocations: 4 kB / 0.5596 GB, free: 83.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/1.167, allocations: 19.94 kB / 0.5596 GB, free: 83.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.167, allocations: 4 kB / 0.5596 GB, free: 83.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.167, allocations: 3.938 kB / 0.5596 GB, free: 83.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/1.169, allocations: 1.117 MB / 0.5607 GB, free: 81.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/1.17, allocations: 191.5 kB / 0.5609 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/1.17, allocations: 11.98 kB / 0.5609 GB, free: 81.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.172, allocations: 51.95 kB / 0.561 GB, free: 81.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/1.172, allocations: 51.88 kB / 0.561 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/1.172, allocations: 16 kB / 0.561 GB, free: 81.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002304/1.174, allocations: 0.9058 MB / 0.5619 GB, free: 80.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.174, allocations: 0 / 0.5619 GB, free: 80.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002725/1.177, allocations: 307.8 kB / 0.5622 GB, free: 80.33 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.003703/1.181, allocations: 2.199 MB / 0.5644 GB, free: 78.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/1.183, allocations: 0.5686 MB / 0.5649 GB, free: 77.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.183, allocations: 0 / 0.5649 GB, free: 77.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009649/1.184, allocations: 247 kB / 0.5652 GB, free: 77.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/1.187, allocations: 241.4 kB / 0.5654 GB, free: 77.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/1.194, allocations: 1.769 MB / 0.5671 GB, free: 75.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.196, allocations: 1.184 MB / 0.5683 GB, free: 74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002376/1.198, allocations: 398.6 kB / 0.5687 GB, free: 73.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/1.199, allocations: 391.3 kB / 0.569 GB, free: 73.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/1.199, allocations: 4 kB / 0.569 GB, free: 73.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/1.272, allocations: 25.8 MB / 0.5942 GB, free: 47.68 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.272, allocations: 200.6 kB / 0.5944 GB, free: 47.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/4.846, allocations: 0 / 0.5944 GB, free: 47.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat