Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3411/2.407, allocations: 51.06 MB / 267.3 MB, free: 5.109 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/2.525, allocations: 48.69 MB / 316 MB, free: 4.305 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/2.868, allocations: 92.18 MB / 408.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003835/2.868, allocations: 99.73 kB / 408.3 MB, free: 0.5742 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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: 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.1871/3.055, allocations: 38.81 MB / 447.1 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/3.055, allocations: 12 kB / 447.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/3.056, allocations: 126.4 kB / 447.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/3.057, allocations: 498.2 kB / 447.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/3.057, allocations: 32 kB / 447.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/3.057, allocations: 52 kB / 447.8 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002772/3.06, allocations: 1.195 MB / 449 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/3.063, allocations: 1.177 MB / 450.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/3.063, allocations: 4 kB / 450.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/3.063, allocations: 4 kB / 450.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/3.063, allocations: 70.02 kB / 450.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/3.07, allocations: 2.695 MB / 452.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/3.072, allocations: 0.6949 MB / 453.6 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008066/3.073, allocations: 241.5 kB / 453.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/3.073, allocations: 16.2 kB / 453.9 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/3.073, allocations: 42.73 kB / 453.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.577e-06/3.073, allocations: 0 / 453.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001964/3.075, allocations: 0.5496 MB / 454.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/3.076, allocations: 192.1 kB / 454.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/3.078, allocations: 0.5582 MB / 455.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/3.078, allocations: 29.64 kB / 455.3 MB, free: 4.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007943/3.079, allocations: 493.6 kB / 455.7 MB, free: 4.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/3.079, allocations: 110.5 kB / 455.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/3.079, allocations: 0 / 455.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002454/3.08, allocations: 382.8 kB / 456.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/3.081, allocations: 245.1 kB / 456.5 MB, free: 3.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/3.082, allocations: 0.565 MB / 457 MB, free: 2.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/3.083, allocations: 351.7 kB / 457.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/3.083, allocations: 4 kB / 457.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002647/3.086, allocations: 0.8287 MB / 458.2 MB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/3.086, allocations: 4 kB / 458.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/3.086, allocations: 12 kB / 458.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.186e-05/3.086, allocations: 16 kB / 458.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/3.087, allocations: 184 kB / 458.4 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/3.087, allocations: 23.92 kB / 458.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/3.089, allocations: 95.42 kB / 458.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/3.089, allocations: 43.98 kB / 458.6 MB, free: 1.004 MB / 378.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.0002856/3.089, allocations: 146.7 kB / 458.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/3.09, allocations: 71.06 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/3.092, allocations: 0.8234 MB / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/3.092, allocations: 4 kB / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/3.092, allocations: 0 / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/3.092, allocations: 7.984 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/3.094, allocations: 0.6537 MB / 460.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/3.095, allocations: 4 kB / 460.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/3.096, allocations: 123.8 kB / 460.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/3.096, allocations: 7.891 kB / 460.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/3.096, allocations: 15.94 kB / 460.4 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/3.096, allocations: 4 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/3.096, allocations: 7.922 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002091/3.098, allocations: 1.07 MB / 461.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002153/3.1, allocations: 1.462 MB / 463 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/3.101, allocations: 224 kB / 463.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/3.101, allocations: 8 kB / 463.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/3.102, allocations: 51.95 kB / 463.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/3.102, allocations: 31.95 kB / 463.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/3.102, allocations: 23.98 kB / 463.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0008837/3.103, allocations: 423.1 kB / 463.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003014/3.106, allocations: 358.8 kB / 464.1 MB, free: 11.34 MB / 394.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.001105/3.107, allocations: 314.8 kB / 464.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/3.11, allocations: 0.591 MB / 465 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/3.11, allocations: 0 / 465 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008311/3.111, allocations: 259.7 kB / 465.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/3.112, allocations: 104.2 kB / 465.3 MB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/3.118, allocations: 1.363 MB / 466.7 MB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/3.12, allocations: 1.271 MB / 468 MB, free: 7.363 MB / 394.7 MB Notification: Performance of SimCode: time 1.714e-06/3.12, allocations: 0 / 468 MB, free: 7.363 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat does not exist to compare? outputFormat=mat