Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.25e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.6964, allocations: 107.5 MB / 0.5057 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/0.6968, allocations: 101.3 kB / 0.5058 GB, free: 12.35 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/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 trunk/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 trunk/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.1772/0.874, allocations: 39.03 MB / 0.5439 GB, free: 4.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8741, allocations: 0 / 0.5439 GB, free: 4.855 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.8741, allocations: 16 kB / 0.5439 GB, free: 4.84 MB / 458.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.002586/0.8767, allocations: 1.196 MB / 0.5451 GB, free: 3.594 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.8768, allocations: 8.031 kB / 0.5451 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.8771, allocations: 176.9 kB / 0.5453 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.8773, allocations: 126.4 kB / 0.5454 GB, free: 3.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009907/0.8783, allocations: 494.2 kB / 0.5459 GB, free: 2.754 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.8784, allocations: 66 kB / 0.5459 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.8786, allocations: 96 kB / 0.546 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.8814, allocations: 1.282 MB / 0.5473 GB, free: 1.273 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.8815, allocations: 4 kB / 0.5473 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.8816, allocations: 40 kB / 0.5473 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.8817, allocations: 62.08 kB / 0.5474 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.8845, allocations: 1.226 MB / 0.5486 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/0.8914, allocations: 3.094 MB / 0.5516 GB, free: 12.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.8932, allocations: 0.6559 MB / 0.5522 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/0.8938, allocations: 229.5 kB / 0.5525 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/0.8939, allocations: 28.14 kB / 0.5525 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.8939, allocations: 38.8 kB / 0.5525 GB, free: 11.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.517e-06/0.894, allocations: 0 / 0.5525 GB, free: 11.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001816/0.8958, allocations: 0.5713 MB / 0.5531 GB, free: 11.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.8959, allocations: 192.1 kB / 0.5533 GB, free: 10.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.8982, allocations: 1.177 MB / 0.5544 GB, free: 9.734 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.8983, allocations: 33.7 kB / 0.5544 GB, free: 9.695 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.8989, allocations: 0.5356 MB / 0.555 GB, free: 9.152 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.8991, allocations: 114.4 kB / 0.5551 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.8992, allocations: 16 kB / 0.5551 GB, free: 9.023 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.8993, allocations: 330 kB / 0.5554 GB, free: 8.695 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.9001, allocations: 245.4 kB / 0.5556 GB, free: 8.453 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.9011, allocations: 0.558 MB / 0.5562 GB, free: 7.742 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009171/0.902, allocations: 331.3 kB / 0.5565 GB, free: 7.422 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.9021, allocations: 8 kB / 0.5565 GB, free: 7.414 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002473/0.9046, allocations: 0.8907 MB / 0.5574 GB, free: 6.516 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.9046, allocations: 12 kB / 0.5574 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.9046, allocations: 12 kB / 0.5574 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/0.9047, allocations: 16 kB / 0.5574 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.9059, allocations: 175.8 kB / 0.5576 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-05/0.9059, allocations: 23.92 kB / 0.5576 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.9073, allocations: 158.5 kB / 0.5578 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.9074, allocations: 47.98 kB / 0.5578 GB, free: 6.078 MB / 474.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.0002538/0.9077, allocations: 162.9 kB / 0.558 GB, free: 5.914 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.908, allocations: 118.5 kB / 0.5581 GB, free: 5.797 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.9103, allocations: 0.7427 MB / 0.5588 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.9103, allocations: 7.984 kB / 0.5588 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9103, allocations: 4 kB / 0.5588 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.9103, allocations: 0 / 0.5588 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.9122, allocations: 0.714 MB / 0.5595 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9122, allocations: 4 kB / 0.5595 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.9131, allocations: 111.8 kB / 0.5596 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.9131, allocations: 4 kB / 0.5596 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.9132, allocations: 23.94 kB / 0.5596 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9132, allocations: 0 / 0.5596 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.9132, allocations: 8 kB / 0.5597 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9151, allocations: 1.105 MB / 0.5607 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.9155, allocations: 203.5 kB / 0.5609 GB, free: 2.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/0.9158, allocations: 12 kB / 0.5609 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9169, allocations: 47.95 kB / 0.561 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.9171, allocations: 43.89 kB / 0.561 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.9172, allocations: 23.98 kB / 0.5611 GB, free: 2.594 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001836/0.9191, allocations: 0.898 MB / 0.5619 GB, free: 1.691 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9191, allocations: 4 kB / 0.5619 GB, free: 1.688 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001759/0.9208, allocations: 319.8 kB / 0.5622 GB, free: 1.375 MB / 474.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.003099/0.924, allocations: 2.198 MB / 0.5644 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.9258, allocations: 0.5636 MB / 0.5649 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9258, allocations: 1.125 kB / 0.5649 GB, free: 14.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000737/0.9265, allocations: 243.7 kB / 0.5652 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.9286, allocations: 251.5 kB / 0.5654 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.9337, allocations: 1.764 MB / 0.5671 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9348, allocations: 1.188 MB / 0.5683 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00248/0.9373, allocations: 394.7 kB / 0.5687 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.9386, allocations: 391.3 kB / 0.569 GB, free: 10.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.913e-06/0.9387, allocations: 0 / 0.569 GB, free: 10.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/1.015, allocations: 25.8 MB / 0.5942 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/1.016, allocations: 203.5 kB / 0.5944 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/4.405, allocations: 0 / 0.5944 GB, free: 0.5312 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat