Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.271e-05, allocations: 7.984 kB / 305.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4039, allocations: 54.84 MB / 359.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.6323, allocations: 101.1 MB / 461 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.6327, allocations: 91.94 kB / 461.1 MB, free: 11.61 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.1774/0.8102, allocations: 38.21 MB / 499.3 MB, free: 4.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.8102, allocations: 0 / 499.3 MB, free: 4.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.764e-05/0.8103, allocations: 16 kB / 499.3 MB, free: 4.957 MB / 426.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.00297/0.8133, allocations: 1.173 MB / 0.4887 GB, free: 3.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.8134, allocations: 8.031 kB / 0.4888 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/0.8137, allocations: 172.9 kB / 0.4889 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/0.814, allocations: 130.4 kB / 0.489 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.8152, allocations: 498.1 kB / 0.4895 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.8153, allocations: 70 kB / 0.4896 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.8155, allocations: 99.95 kB / 0.4897 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.8184, allocations: 1.282 MB / 0.4909 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.8185, allocations: 0 / 0.4909 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.8186, allocations: 40 kB / 0.491 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.8188, allocations: 62.08 kB / 0.491 GB, free: 1.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.8216, allocations: 1.23 MB / 0.4922 GB, free: 68 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007548/0.8292, allocations: 3.094 MB / 0.4953 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.8311, allocations: 0.6443 MB / 0.4959 GB, free: 12.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.8319, allocations: 237.4 kB / 0.4961 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.8319, allocations: 16.2 kB / 0.4961 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.832, allocations: 42.8 kB / 0.4962 GB, free: 11.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 7.274e-06/0.832, allocations: 0 / 0.4962 GB, free: 11.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001913/0.8339, allocations: 0.5841 MB / 0.4967 GB, free: 11.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.8341, allocations: 191.9 kB / 0.4969 GB, free: 11.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.8366, allocations: 1.173 MB / 0.4981 GB, free: 9.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.8368, allocations: 33.86 kB / 0.4981 GB, free: 9.824 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/0.8375, allocations: 0.5433 MB / 0.4986 GB, free: 9.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.8376, allocations: 110.5 kB / 0.4987 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.8377, allocations: 16 kB / 0.4987 GB, free: 9.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8379, allocations: 330 kB / 0.4991 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.8387, allocations: 241.4 kB / 0.4993 GB, free: 8.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.8397, allocations: 0.5581 MB / 0.4998 GB, free: 7.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.8407, allocations: 331.6 kB / 0.5002 GB, free: 7.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.8407, allocations: 0 / 0.5002 GB, free: 7.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002934/0.8437, allocations: 0.8823 MB / 0.501 GB, free: 6.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.8438, allocations: 12 kB / 0.501 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.8438, allocations: 12.84 kB / 0.501 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.432e-05/0.8438, allocations: 16 kB / 0.5011 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.8451, allocations: 175.7 kB / 0.5012 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.93e-05/0.8452, allocations: 28.89 kB / 0.5013 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8466, allocations: 162.5 kB / 0.5014 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.8468, allocations: 43.98 kB / 0.5014 GB, free: 6.211 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.0002696/0.847, allocations: 161 kB / 0.5016 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.8474, allocations: 122.5 kB / 0.5017 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.8497, allocations: 0.7509 MB / 0.5025 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.8498, allocations: 7.984 kB / 0.5025 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8498, allocations: 4 kB / 0.5025 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.8498, allocations: 3.953 kB / 0.5025 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.8517, allocations: 0.714 MB / 0.5032 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8518, allocations: 0 / 0.5032 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/0.8527, allocations: 115.8 kB / 0.5033 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/0.8528, allocations: 4 kB / 0.5033 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/0.8528, allocations: 19.98 kB / 0.5033 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.8529, allocations: 0 / 0.5033 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.8529, allocations: 4 kB / 0.5033 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.8557, allocations: 1.11 MB / 0.5044 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.8564, allocations: 207.5 kB / 0.5046 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/0.8569, allocations: 8 kB / 0.5046 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.8581, allocations: 51.89 kB / 0.5046 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.8583, allocations: 43.94 kB / 0.5047 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.8584, allocations: 23.98 kB / 0.5047 GB, free: 2.711 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001974/0.8604, allocations: 0.9019 MB / 0.5056 GB, free: 1.805 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8604, allocations: 0 / 0.5056 GB, free: 1.805 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002075/0.8625, allocations: 323.7 kB / 0.5059 GB, free: 1.488 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.003333/0.8659, allocations: 2.203 MB / 0.508 GB, free: 15.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.8678, allocations: 0.5595 MB / 0.5086 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8678, allocations: 0 / 0.5086 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.8686, allocations: 243.7 kB / 0.5088 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.8707, allocations: 246.3 kB / 0.5091 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.8762, allocations: 1.754 MB / 0.5108 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.8774, allocations: 1.188 MB / 0.5119 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001635/0.8791, allocations: 398.7 kB / 0.5123 GB, free: 10.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/0.8799, allocations: 391.3 kB / 0.5127 GB, free: 10.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.8799, allocations: 0 / 0.5127 GB, free: 10.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4599/1.34, allocations: 25.8 MB / 0.5379 GB, free: 133.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.34, allocations: 198.4 kB / 0.5381 GB, free: 133 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.93, allocations: 7.906 kB / 0.5381 GB, free: 133 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat