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"}) [: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.282/2.282, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1913/2.473, allocations: 57.23 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/2.746, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/3.154, allocations: 100.3 MB / 454.3 MB, free: 34.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004908/3.154, allocations: 96.73 kB / 454.4 MB, free: 34.74 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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: 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.2071/3.361, allocations: 38.79 MB / 493.2 MB, free: 26.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/3.361, allocations: 7.844 kB / 493.2 MB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/3.362, allocations: 128.9 kB / 493.4 MB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/3.363, allocations: 491.7 kB / 493.8 MB, free: 25.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/3.363, allocations: 39.16 kB / 493.9 MB, free: 25.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/3.363, allocations: 54.66 kB / 493.9 MB, free: 25.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/3.366, allocations: 1.188 MB / 495.1 MB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/3.369, allocations: 1.188 MB / 496.3 MB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/3.369, allocations: 0 / 496.3 MB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/3.369, allocations: 0 / 496.3 MB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.168e-05/3.369, allocations: 68.86 kB / 496.4 MB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0065/3.375, allocations: 2.696 MB / 499.1 MB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/3.377, allocations: 0.691 MB / 499.8 MB, free: 23.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/3.378, allocations: 242.3 kB / 500 MB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/3.378, allocations: 15.98 kB / 0.4883 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/3.378, allocations: 46.52 kB / 0.4883 GB, free: 23.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.278e-06/3.378, allocations: 0 / 0.4883 GB, free: 23.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001876/3.38, allocations: 0.5458 MB / 0.4889 GB, free: 23.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/3.38, allocations: 195.5 kB / 0.4891 GB, free: 22.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/3.381, allocations: 0.5522 MB / 0.4896 GB, free: 22.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/3.381, allocations: 25.7 kB / 0.4896 GB, free: 22.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/3.381, allocations: 0.4909 MB / 0.4901 GB, free: 22.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/3.381, allocations: 112 kB / 0.4902 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/3.381, allocations: 0 / 0.4902 GB, free: 22.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/3.382, allocations: 386.4 kB / 0.4906 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/3.382, allocations: 248.5 kB / 0.4908 GB, free: 21.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/3.383, allocations: 0.5605 MB / 0.4914 GB, free: 21.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/3.384, allocations: 339.9 kB / 0.4917 GB, free: 21.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/3.384, allocations: 3.281 kB / 0.4917 GB, free: 21.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002452/3.387, allocations: 0.8262 MB / 0.4925 GB, free: 21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/3.387, allocations: 8.922 kB / 0.4925 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/3.387, allocations: 16 kB / 0.4925 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/3.387, allocations: 20.34 kB / 0.4925 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/3.388, allocations: 180 kB / 0.4927 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/3.388, allocations: 22.61 kB / 0.4927 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/3.39, allocations: 88.89 kB / 0.4928 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/3.39, allocations: 48.44 kB / 0.4929 GB, free: 20.89 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.0002775/3.39, allocations: 145.6 kB / 0.493 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/3.39, allocations: 67.03 kB / 0.4931 GB, free: 20.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/3.393, allocations: 0.8304 MB / 0.4939 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/3.393, allocations: 4.281 kB / 0.4939 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/3.394, allocations: 1.406 kB / 0.4939 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/3.394, allocations: 6.75 kB / 0.4939 GB, free: 20.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/3.395, allocations: 0.6616 MB / 0.4945 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/3.395, allocations: 0 / 0.4945 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/3.397, allocations: 120.4 kB / 0.4946 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/3.397, allocations: 2.812 kB / 0.4947 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/3.397, allocations: 17.86 kB / 0.4947 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/3.397, allocations: 1.812 kB / 0.4947 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/3.397, allocations: 5.391 kB / 0.4947 GB, free: 20.06 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001866/3.399, allocations: 1.08 MB / 0.4957 GB, free: 19.31 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001962/3.401, allocations: 1.462 MB / 0.4972 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/3.401, allocations: 142 kB / 0.4973 GB, free: 18.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/3.401, allocations: 5.344 kB / 0.4973 GB, free: 18.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/3.402, allocations: 49.95 kB / 0.4973 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/3.402, allocations: 38.2 kB / 0.4974 GB, free: 18.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/3.403, allocations: 21.08 kB / 0.4974 GB, free: 18.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0008288/3.403, allocations: 423.7 kB / 0.4978 GB, free: 17.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003167/3.407, allocations: 357.3 kB / 0.4981 GB, free: 17.79 MB / 378.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.00109/3.408, allocations: 317.2 kB / 0.4985 GB, free: 17.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001989/3.41, allocations: 0.586 MB / 0.499 GB, free: 17.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/3.41, allocations: 0 / 0.499 GB, free: 17.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008772/3.411, allocations: 263.5 kB / 0.4993 GB, free: 17.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/3.412, allocations: 109.4 kB / 0.4994 GB, free: 17.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/3.417, allocations: 1.356 MB / 0.5007 GB, free: 16.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/3.418, allocations: 1.274 MB / 0.5019 GB, free: 15.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/3.418, allocations: 0 / 0.5019 GB, free: 15.86 MB / 378.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