[: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(Modelica): time 1.053/1.053, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08139/1.134, allocations: 27.5 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/1.274, allocations: 25.15 MB / 170.8 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.702/2.977, allocations: 0.6642 GB / 0.8311 GB, free: 64.44 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/2.977, allocations: 63.31 kB / 0.8311 GB, free: 64.42 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.2158/3.193, allocations: 57.55 MB / 0.8873 GB, free: 12.92 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/3.193, allocations: 11.94 kB / 0.8873 GB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/3.193, allocations: 15.81 kB / 0.8874 GB, free: 12.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/3.194, allocations: 218.9 kB / 0.8876 GB, free: 12.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/3.194, allocations: 11.91 kB / 0.8876 GB, free: 12.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/3.194, allocations: 11.94 kB / 0.8876 GB, free: 12.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000716/3.194, allocations: 452.3 kB / 0.888 GB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/3.195, allocations: 330.1 kB / 0.8883 GB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/3.195, allocations: 0 / 0.8883 GB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/3.195, allocations: 4 kB / 0.8883 GB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/3.195, allocations: 7.984 kB / 0.8883 GB, free: 11.83 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/3.198, allocations: 1.211 MB / 0.8895 GB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/3.198, allocations: 189 kB / 0.8897 GB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/3.199, allocations: 133.7 kB / 0.8898 GB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/3.201, allocations: 1.059 MB / 0.8909 GB, free: 8.926 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/3.201, allocations: 42.55 kB / 0.8909 GB, free: 8.875 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 2.936e-06/3.201, allocations: 0 / 0.8909 GB, free: 8.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.007253/3.208, allocations: 1.111 MB / 0.892 GB, free: 7.758 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/3.208, allocations: 93 kB / 0.8921 GB, free: 7.648 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/3.208, allocations: 124.9 kB / 0.8922 GB, free: 7.52 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/3.208, allocations: 29.64 kB / 0.8922 GB, free: 7.484 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/3.209, allocations: 112.4 kB / 0.8923 GB, free: 7.371 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/3.209, allocations: 98.47 kB / 0.8924 GB, free: 7.273 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/3.209, allocations: 0 / 0.8924 GB, free: 7.273 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/3.209, allocations: 330.8 kB / 0.8927 GB, free: 6.941 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/3.209, allocations: 99.97 kB / 0.8928 GB, free: 6.844 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/3.209, allocations: 204.8 kB / 0.893 GB, free: 6.598 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/3.217, allocations: 0.9789 MB / 0.894 GB, free: 5.617 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/3.217, allocations: 0 / 0.894 GB, free: 5.617 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.008199/3.225, allocations: 1.222 MB / 0.8952 GB, free: 4.391 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/3.225, allocations: 7.438 kB / 0.8952 GB, free: 4.387 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/3.225, allocations: 4.156 kB / 0.8952 GB, free: 4.383 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/3.225, allocations: 8 kB / 0.8952 GB, free: 4.375 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/3.226, allocations: 75.83 kB / 0.8953 GB, free: 4.301 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/3.226, allocations: 15.89 kB / 0.8953 GB, free: 4.285 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/3.227, allocations: 24.12 kB / 0.8953 GB, free: 4.262 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/3.227, allocations: 31.89 kB / 0.8953 GB, free: 4.23 MB / 234.7 MB Warning: Assuming fixed start value for the following 8 variables: state.T:VARIABLE(min = 1.0 max = 10000.0 start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" nominal = 1000000.0 ) "Absolute pressure of medium" type: Real medium2.X[4]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.4 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[3]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.3 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.1 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0004624/3.227, allocations: 180.7 kB / 0.8955 GB, free: 4.051 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/3.227, allocations: 19.8 kB / 0.8955 GB, free: 4.031 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009796/3.237, allocations: 1.242 MB / 0.8968 GB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/3.237, allocations: 11.94 kB / 0.8968 GB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/3.237, allocations: 0 / 0.8968 GB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/3.237, allocations: 7.906 kB / 0.8968 GB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/3.239, allocations: 293.9 kB / 0.897 GB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/3.239, allocations: 0 / 0.897 GB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/3.24, allocations: 47.97 kB / 0.8971 GB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/3.24, allocations: 4 kB / 0.8971 GB, free: 2.379 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/3.24, allocations: 4 kB / 0.8971 GB, free: 2.375 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/3.24, allocations: 4 kB / 0.8971 GB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/3.24, allocations: 3.938 kB / 0.8971 GB, free: 2.367 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008612/3.248, allocations: 1.398 MB / 0.8985 GB, free: 0.9453 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.105/3.354, allocations: 1.883 MB / 0.9003 GB, free: 73.45 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/3.354, allocations: 139.3 kB / 0.9004 GB, free: 73.35 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/3.354, allocations: 10.28 kB / 0.9005 GB, free: 73.35 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/3.354, allocations: 13.8 kB / 0.9005 GB, free: 73.35 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/3.354, allocations: 20.97 kB / 0.9005 GB, free: 73.35 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.565e-05/3.355, allocations: 18.3 kB / 0.9005 GB, free: 73.35 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.879e-05/3.355, allocations: 102.9 kB / 0.9006 GB, free: 73.28 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002937/3.358, allocations: 276.6 kB / 0.9009 GB, free: 73.28 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 1 * 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.004138/3.362, allocations: 0.9293 MB / 0.9018 GB, free: 73.15 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/3.363, allocations: 321.3 kB / 0.9021 GB, free: 73.15 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/3.363, allocations: 0 / 0.9021 GB, free: 73.15 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/3.364, allocations: 154.7 kB / 0.9022 GB, free: 73.15 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/3.365, allocations: 85.53 kB / 0.9023 GB, free: 73.15 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/3.368, allocations: 0.7271 MB / 0.903 GB, free: 73.01 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/3.369, allocations: 0.8054 MB / 0.9038 GB, free: 72.3 MB / 234.7 MB Notification: Performance of SimCode: time 2.004e-06/3.369, allocations: 2.344 kB / 0.9038 GB, free: 72.3 MB / 234.7 MB