Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.646/2.646, allocations: 270 MB / 282.6 MB, free: 1.996 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.646e-05, allocations: 3.984 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3988, allocations: 61.88 MB / 409 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.5888, allocations: 107.5 MB / 0.5043 GB, free: 15.15 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.5892, allocations: 95.94 kB / 0.5044 GB, free: 15.05 MB / 442.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.5251/1.114, allocations: 39.03 MB / 0.5425 GB, free: 119.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.114, allocations: 0 / 0.5425 GB, free: 119.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.434e-05/1.114, allocations: 15.69 kB / 0.5425 GB, free: 119.5 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.002299/1.117, allocations: 1.195 MB / 0.5437 GB, free: 118.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.117, allocations: 11.66 kB / 0.5437 GB, free: 118.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/1.117, allocations: 166.7 kB / 0.5439 GB, free: 118.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/1.117, allocations: 128.8 kB / 0.544 GB, free: 118.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/1.118, allocations: 498.4 kB / 0.5445 GB, free: 118.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/1.118, allocations: 70 kB / 0.5445 GB, free: 118.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.119, allocations: 92.84 kB / 0.5446 GB, free: 118.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/1.121, allocations: 1.286 MB / 0.5459 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/1.121, allocations: 0 / 0.5459 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.121, allocations: 37.84 kB / 0.5459 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-05/1.121, allocations: 67.48 kB / 0.546 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/1.124, allocations: 1.226 MB / 0.5472 GB, free: 118.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006372/1.13, allocations: 3.095 MB / 0.5502 GB, free: 116.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.132, allocations: 0.6601 MB / 0.5508 GB, free: 116.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/1.132, allocations: 229.8 kB / 0.5511 GB, free: 116.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/1.132, allocations: 5.672 kB / 0.5511 GB, free: 116.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.132, allocations: 49.31 kB / 0.5511 GB, free: 116.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 3.466e-06/1.132, allocations: 0 / 0.5511 GB, free: 116.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.001744/1.134, allocations: 0.5731 MB / 0.5517 GB, free: 116.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.134, allocations: 189.7 kB / 0.5518 GB, free: 116.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/1.137, allocations: 1.176 MB / 0.553 GB, free: 115.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/1.137, allocations: 33.42 kB / 0.553 GB, free: 115.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/1.137, allocations: 0.4968 MB / 0.5535 GB, free: 115.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/1.137, allocations: 118.1 kB / 0.5536 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/1.137, allocations: 12 kB / 0.5536 GB, free: 115.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/1.137, allocations: 339.6 kB / 0.554 GB, free: 114.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000696/1.138, allocations: 244.2 kB / 0.5542 GB, free: 114.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008615/1.139, allocations: 0.5522 MB / 0.5547 GB, free: 114.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/1.14, allocations: 338 kB / 0.5551 GB, free: 114.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.14, allocations: 7.281 kB / 0.5551 GB, free: 114.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002122/1.142, allocations: 0.7912 MB / 0.5558 GB, free: 114.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.142, allocations: 11.06 kB / 0.5558 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.142, allocations: 10.59 kB / 0.5559 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/1.142, allocations: 17.78 kB / 0.5559 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.143, allocations: 171 kB / 0.556 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/1.143, allocations: 22.92 kB / 0.5561 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.145, allocations: 168.3 kB / 0.5562 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.145, allocations: 45.36 kB / 0.5563 GB, free: 114.1 MB / 458.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.0002378/1.145, allocations: 170.6 kB / 0.5564 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/1.146, allocations: 123.6 kB / 0.5565 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/1.148, allocations: 0.7444 MB / 0.5573 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.148, allocations: 4 kB / 0.5573 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.148, allocations: 4 kB / 0.5573 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/1.148, allocations: 0 / 0.5573 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/1.15, allocations: 0.714 MB / 0.558 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.15, allocations: 0 / 0.558 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009446/1.151, allocations: 121.3 kB / 0.5581 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.151, allocations: 0 / 0.5581 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/1.151, allocations: 25.95 kB / 0.5581 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.151, allocations: 7.844 kB / 0.5581 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.151, allocations: 0 / 0.5581 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.152, allocations: 1.11 MB / 0.5592 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/1.153, allocations: 202.5 kB / 0.5594 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/1.153, allocations: 8 kB / 0.5594 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.154, allocations: 50.78 kB / 0.5595 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.155, allocations: 46.72 kB / 0.5595 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/1.155, allocations: 19.64 kB / 0.5595 GB, free: 111.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001575/1.156, allocations: 0.907 MB / 0.5604 GB, free: 110.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.156, allocations: 0 / 0.5604 GB, free: 110.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001867/1.158, allocations: 317.8 kB / 0.5607 GB, free: 110.3 MB / 458.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.002705/1.161, allocations: 2.188 MB / 0.5628 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/1.163, allocations: 0.5573 MB / 0.5634 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.163, allocations: 0 / 0.5634 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006633/1.163, allocations: 250.2 kB / 0.5636 GB, free: 107.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.165, allocations: 247.5 kB / 0.5639 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/1.171, allocations: 1.797 MB / 0.5656 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/1.172, allocations: 1.178 MB / 0.5668 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009017/1.173, allocations: 411.3 kB / 0.5672 GB, free: 104.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/1.173, allocations: 0 / 0.5672 GB, free: 104.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/4.232, allocations: 21.26 MB / 0.5879 GB, free: 83.34 MB / 458.7 MB