Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.673/2.673, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.429e-05, allocations: 3.938 kB / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4047, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.5996, allocations: 106.3 MB / 488.6 MB, free: 2.059 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/0.6, allocations: 95.94 kB / 488.7 MB, free: 1.965 MB / 410.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.3/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.3/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.3/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.1765/0.7765, allocations: 38.25 MB / 0.5146 GB, free: 11.24 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7766, allocations: 0 / 0.5146 GB, free: 11.24 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.7767, allocations: 12 kB / 0.5146 GB, free: 11.23 MB / 458.8 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.002892/0.7796, allocations: 1.187 MB / 0.5158 GB, free: 9.992 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7796, allocations: 8.031 kB / 0.5158 GB, free: 9.984 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003202/0.78, allocations: 168.8 kB / 0.516 GB, free: 9.809 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.7803, allocations: 130.3 kB / 0.5161 GB, free: 9.68 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7814, allocations: 494.2 kB / 0.5166 GB, free: 9.156 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.7815, allocations: 74 kB / 0.5166 GB, free: 9.086 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.7817, allocations: 96 kB / 0.5167 GB, free: 8.992 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.7847, allocations: 1.279 MB / 0.518 GB, free: 7.672 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.7848, allocations: 0 / 0.518 GB, free: 7.672 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.7849, allocations: 43.98 kB / 0.518 GB, free: 7.629 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.785, allocations: 66.05 kB / 0.5181 GB, free: 7.562 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.7879, allocations: 1.238 MB / 0.5193 GB, free: 6.32 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007339/0.7953, allocations: 3.09 MB / 0.5223 GB, free: 3.145 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.7972, allocations: 0.6559 MB / 0.5229 GB, free: 2.434 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.798, allocations: 229.5 kB / 0.5232 GB, free: 2.191 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.7981, allocations: 12.22 kB / 0.5232 GB, free: 2.18 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.7981, allocations: 46.73 kB / 0.5232 GB, free: 2.125 MB / 458.8 MB Notification: Performance of pre-optimization done (n=32): time 3.446e-06/0.7981, allocations: 4 kB / 0.5232 GB, free: 2.121 MB / 458.8 MB Notification: Performance of matching and sorting (n=32): time 0.001967/0.8001, allocations: 0.5725 MB / 0.5238 GB, free: 1.543 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.8003, allocations: 187.9 kB / 0.524 GB, free: 1.316 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.803, allocations: 1.169 MB / 0.5251 GB, free: 136 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.8032, allocations: 33.7 kB / 0.5251 GB, free: 96 kB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3333/1.136, allocations: 0.5381 MB / 0.5257 GB, free: 131.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.137, allocations: 119.5 kB / 0.5258 GB, free: 131.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/1.137, allocations: 11.81 kB / 0.5258 GB, free: 131.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/1.137, allocations: 332.9 kB / 0.5261 GB, free: 131.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009689/1.138, allocations: 243.9 kB / 0.5263 GB, free: 131.2 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.139, allocations: 0.5532 MB / 0.5269 GB, free: 130.8 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.14, allocations: 331.5 kB / 0.5272 GB, free: 130.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/1.14, allocations: 7.312 kB / 0.5272 GB, free: 130.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002803/1.143, allocations: 0.8836 MB / 0.5281 GB, free: 130.7 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/1.143, allocations: 8.938 kB / 0.5281 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/1.143, allocations: 11.84 kB / 0.5281 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-05/1.143, allocations: 17.62 kB / 0.5281 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.145, allocations: 179.7 kB / 0.5283 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/1.145, allocations: 23.03 kB / 0.5283 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.146, allocations: 164.4 kB / 0.5284 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.146, allocations: 43.55 kB / 0.5285 GB, free: 130.6 MB / 458.8 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.000259/1.147, allocations: 178.2 kB / 0.5287 GB, free: 130.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/1.147, allocations: 115.2 kB / 0.5288 GB, free: 130.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.149, allocations: 0.7405 MB / 0.5295 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.149, allocations: 4.938 kB / 0.5295 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.149, allocations: 1.156 kB / 0.5295 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/1.149, allocations: 11.64 kB / 0.5295 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/1.151, allocations: 0.7179 MB / 0.5302 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.151, allocations: 1.062 kB / 0.5302 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/1.152, allocations: 113.8 kB / 0.5303 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.152, allocations: 2.312 kB / 0.5303 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/1.152, allocations: 21.22 kB / 0.5303 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.153, allocations: 6.156 kB / 0.5303 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.153, allocations: 1.812 kB / 0.5304 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.154, allocations: 1.102 MB / 0.5314 GB, free: 129.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/1.155, allocations: 203.2 kB / 0.5316 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/1.155, allocations: 10.23 kB / 0.5316 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.156, allocations: 45.17 kB / 0.5317 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.157, allocations: 48.33 kB / 0.5317 GB, free: 129.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/1.157, allocations: 19.5 kB / 0.5317 GB, free: 129.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001891/1.159, allocations: 0.9041 MB / 0.5326 GB, free: 129.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.42e-07/1.159, allocations: 3.719 kB / 0.5326 GB, free: 129.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001988/1.161, allocations: 317.3 kB / 0.5329 GB, free: 129.2 MB / 458.8 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.002752/1.163, allocations: 2.198 MB / 0.5351 GB, free: 127.7 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001719/1.165, allocations: 0.567 MB / 0.5356 GB, free: 127.7 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.165, allocations: 0 / 0.5356 GB, free: 127.7 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007212/1.166, allocations: 247.2 kB / 0.5359 GB, free: 127.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.168, allocations: 245.6 kB / 0.5361 GB, free: 127.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/1.174, allocations: 1.762 MB / 0.5378 GB, free: 127.2 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/1.174, allocations: 1.176 MB / 0.539 GB, free: 126.5 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001519/1.176, allocations: 403.3 kB / 0.5394 GB, free: 126.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/1.177, allocations: 392.9 kB / 0.5397 GB, free: 126.4 MB / 458.8 MB Notification: Performance of SimCode: time 1.273e-06/1.177, allocations: 0 / 0.5397 GB, free: 126.4 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06985/1.247, allocations: 25.82 MB / 0.5649 GB, free: 109.7 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.247, allocations: 200 kB / 0.5651 GB, free: 109.5 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/4.893, allocations: 0 / 0.5651 GB, free: 109.5 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat