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.602/2.602, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.7e-05, allocations: 4 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4581, allocations: 54.85 MB / 359.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.6817, allocations: 101.1 MB / 461 MB, free: 11.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005803/0.6824, allocations: 103.9 kB / 461.1 MB, free: 11.59 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.2806/0.963, allocations: 38.19 MB / 499.2 MB, free: 4.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9631, allocations: 0 / 499.2 MB, free: 4.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.026e-05/0.9632, allocations: 20 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.003984/0.9672, allocations: 1.184 MB / 0.4887 GB, free: 3.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.151e-05/0.9673, allocations: 12.03 kB / 0.4887 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004936/0.9678, allocations: 160.9 kB / 0.4889 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/0.9682, allocations: 126.4 kB / 0.489 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.97, allocations: 490.2 kB / 0.4895 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.9702, allocations: 77.94 kB / 0.4895 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.9705, allocations: 99.89 kB / 0.4896 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.975, allocations: 1.298 MB / 0.4909 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.9751, allocations: 0 / 0.4909 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.9753, allocations: 36 kB / 0.4909 GB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.9755, allocations: 70.02 kB / 0.491 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004062/0.9796, allocations: 1.242 MB / 0.4922 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009617/0.9892, allocations: 3.098 MB / 0.4952 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.9917, allocations: 0.6562 MB / 0.4959 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008791/0.9926, allocations: 233.5 kB / 0.4961 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.9927, allocations: 8.219 kB / 0.4961 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.9928, allocations: 46.73 kB / 0.4962 GB, free: 11.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 7.284e-06/0.9928, allocations: 0 / 0.4962 GB, free: 11.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.002785/0.9956, allocations: 0.5917 MB / 0.4967 GB, free: 11.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.9958, allocations: 183.9 kB / 0.4969 GB, free: 11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.9999, allocations: 1.173 MB / 0.4981 GB, free: 9.816 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1, allocations: 29.7 kB / 0.4981 GB, free: 9.781 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009419/1.001, allocations: 0.5435 MB / 0.4986 GB, free: 9.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.001, allocations: 118.4 kB / 0.4987 GB, free: 9.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/1.002, allocations: 12 kB / 0.4987 GB, free: 9.102 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/1.002, allocations: 334 kB / 0.4991 GB, free: 8.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.003, allocations: 245.4 kB / 0.4993 GB, free: 8.531 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.005, allocations: 0.5557 MB / 0.4998 GB, free: 7.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.006, allocations: 335.6 kB / 0.5002 GB, free: 7.484 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-05/1.006, allocations: 4 kB / 0.5002 GB, free: 7.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00401/1.01, allocations: 0.9095 MB / 0.5011 GB, free: 6.562 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/1.01, allocations: 8 kB / 0.5011 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/1.01, allocations: 12 kB / 0.5011 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.234e-05/1.01, allocations: 16.75 kB / 0.5011 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.012, allocations: 175.7 kB / 0.5013 GB, free: 6.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.789e-05/1.012, allocations: 27.83 kB / 0.5013 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.014, allocations: 166.5 kB / 0.5014 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/1.015, allocations: 45.78 kB / 0.5015 GB, free: 6.121 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.0004077/1.015, allocations: 163.4 kB / 0.5016 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/1.016, allocations: 118.5 kB / 0.5018 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/1.019, allocations: 0.7466 MB / 0.5025 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.019, allocations: 4 kB / 0.5025 GB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.019, allocations: 4 kB / 0.5025 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.019, allocations: 3.953 kB / 0.5025 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/1.022, allocations: 0.714 MB / 0.5032 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.022, allocations: 0 / 0.5032 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.024, allocations: 119.8 kB / 0.5033 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.618e-05/1.024, allocations: 4 kB / 0.5033 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/1.024, allocations: 19.98 kB / 0.5033 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/1.024, allocations: 8 kB / 0.5033 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.024, allocations: 3.938 kB / 0.5033 GB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/1.027, allocations: 1.111 MB / 0.5044 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/1.028, allocations: 195.5 kB / 0.5046 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/1.028, allocations: 15.94 kB / 0.5046 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.03, allocations: 55.89 kB / 0.5047 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/1.03, allocations: 39.89 kB / 0.5047 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.03, allocations: 19.98 kB / 0.5047 GB, free: 2.629 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002754/1.033, allocations: 0.9058 MB / 0.5056 GB, free: 1.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.033, allocations: 0 / 0.5056 GB, free: 1.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002947/1.036, allocations: 327.7 kB / 0.5059 GB, free: 1.398 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.003807/1.04, allocations: 2.199 MB / 0.5081 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/1.042, allocations: 0.5762 MB / 0.5086 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.042, allocations: 0 / 0.5086 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007778/1.042, allocations: 247.7 kB / 0.5089 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.044, allocations: 244.2 kB / 0.5091 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/1.05, allocations: 1.758 MB / 0.5108 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.051, allocations: 1.188 MB / 0.512 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0016/1.053, allocations: 398.6 kB / 0.5124 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008563/1.054, allocations: 391.3 kB / 0.5127 GB, free: 10.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/1.054, allocations: 4 kB / 0.5127 GB, free: 10.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3768/1.43, allocations: 25.89 MB / 0.538 GB, free: 133.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/1.431, allocations: 198.8 kB / 0.5382 GB, free: 132.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/5.131, allocations: 3.938 kB / 0.5382 GB, free: 132.9 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