[: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.147/1.147, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09961/1.247, allocations: 27.51 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/1.417, allocations: 25.15 MB / 170.9 MB, free: 1.82 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5684/1.986, allocations: 240.6 MB / 411.5 MB, free: 33.41 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.986, allocations: 73.64 kB / 411.6 MB, free: 33.37 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: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.7728/2.759, allocations: 154.8 MB / 0.5531 GB, free: 33.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/2.759, allocations: 8.875 kB / 0.5531 GB, free: 33.87 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/2.76, allocations: 93.03 kB / 0.5532 GB, free: 33.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/2.762, allocations: 0.6443 MB / 0.5538 GB, free: 33.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/2.762, allocations: 17.25 kB / 0.5538 GB, free: 33.57 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/2.762, allocations: 35.78 kB / 0.5539 GB, free: 33.57 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001941/2.764, allocations: 0.6744 MB / 0.5545 GB, free: 33.57 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/2.767, allocations: 0.7935 MB / 0.5553 GB, free: 33.38 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/2.767, allocations: 0 / 0.5553 GB, free: 33.38 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/2.767, allocations: 3.844 kB / 0.5553 GB, free: 33.38 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/2.767, allocations: 46.39 kB / 0.5553 GB, free: 33.38 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/2.778, allocations: 3.888 MB / 0.5591 GB, free: 30.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/2.779, allocations: 335.6 kB / 0.5595 GB, free: 30.96 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/2.78, allocations: 229.5 kB / 0.5597 GB, free: 30.95 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004146/2.784, allocations: 2.083 MB / 0.5617 GB, free: 29.52 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/2.784, allocations: 49.44 kB / 0.5618 GB, free: 29.48 MB / 234.7 MB Notification: Performance of pre-optimization done (n=37): time 3.977e-06/2.784, allocations: 0 / 0.5618 GB, free: 29.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=41): time 0.01146/2.796, allocations: 1.733 MB / 0.5635 GB, free: 29.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/2.796, allocations: 131.6 kB / 0.5636 GB, free: 28.91 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/2.797, allocations: 0.5127 MB / 0.5641 GB, free: 28.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/2.797, allocations: 29.64 kB / 0.5641 GB, free: 28.74 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/2.797, allocations: 363.3 kB / 0.5645 GB, free: 28.5 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/2.797, allocations: 149.8 kB / 0.5646 GB, free: 28.41 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/2.797, allocations: 2.156 kB / 0.5646 GB, free: 28.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/2.797, allocations: 376.4 kB / 0.565 GB, free: 28.1 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/2.798, allocations: 219 kB / 0.5652 GB, free: 28.1 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/2.799, allocations: 0.5436 MB / 0.5657 GB, free: 27.68 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/2.802, allocations: 0.5094 MB / 0.5662 GB, free: 27.68 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/2.802, allocations: 3.875 kB / 0.5662 GB, free: 27.68 MB / 234.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004498/2.807, allocations: 0.994 MB / 0.5672 GB, free: 27.6 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/2.807, allocations: 10.16 kB / 0.5672 GB, free: 27.6 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/2.807, allocations: 11.84 kB / 0.5672 GB, free: 27.6 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/2.807, allocations: 62.19 kB / 0.5673 GB, free: 27.59 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/2.809, allocations: 236.6 kB / 0.5675 GB, free: 27.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/2.811, allocations: 1.279 MB / 0.5687 GB, free: 26.48 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/2.812, allocations: 48.5 kB / 0.5688 GB, free: 26.48 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/2.812, allocations: 44.08 kB / 0.5688 GB, free: 26.48 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: tank1.level:VARIABLE(min = 0.0 start = tank1.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank1.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003726/2.813, allocations: 160.1 kB / 0.569 GB, free: 26.36 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/2.813, allocations: 72.02 kB / 0.569 GB, free: 26.33 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/2.816, allocations: 0.8684 MB / 0.5699 GB, free: 26.25 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/2.817, allocations: 3.875 kB / 0.5699 GB, free: 26.25 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/2.817, allocations: 0 / 0.5699 GB, free: 26.25 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/2.817, allocations: 7.672 kB / 0.5699 GB, free: 26.25 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/2.823, allocations: 1.409 MB / 0.5713 GB, free: 25.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/2.823, allocations: 2.859 kB / 0.5713 GB, free: 25.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/2.825, allocations: 137.8 kB / 0.5714 GB, free: 25.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/2.826, allocations: 40.39 kB / 0.5714 GB, free: 25.92 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/2.826, allocations: 9.984 kB / 0.5715 GB, free: 25.92 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/2.828, allocations: 1.223 MB / 0.5726 GB, free: 24.81 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/2.828, allocations: 3.312 kB / 0.5726 GB, free: 24.81 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005203/2.833, allocations: 1.078 MB / 0.5737 GB, free: 24.54 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006258/2.839, allocations: 1.752 MB / 0.5754 GB, free: 23.9 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/2.84, allocations: 155.7 kB / 0.5756 GB, free: 23.77 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/2.84, allocations: 7.375 kB / 0.5756 GB, free: 23.77 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/2.841, allocations: 29.02 kB / 0.5756 GB, free: 23.77 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/2.842, allocations: 47.09 kB / 0.5756 GB, free: 23.76 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/2.842, allocations: 21.31 kB / 0.5757 GB, free: 23.76 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0009882/2.843, allocations: 384 kB / 0.576 GB, free: 23.67 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.004248/2.847, allocations: 478.4 kB / 0.5765 GB, free: 23.59 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[2],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/2.85, allocations: 0.594 MB / 0.5771 GB, free: 23.41 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003491/2.853, allocations: 0.6139 MB / 0.5777 GB, free: 23.41 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.853, allocations: 3.875 kB / 0.5777 GB, free: 23.41 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/2.855, allocations: 324.1 kB / 0.578 GB, free: 23.41 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/2.86, allocations: 284.1 kB / 0.5782 GB, free: 23.4 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/2.865, allocations: 1.102 MB / 0.5793 GB, free: 23.11 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009414/2.866, allocations: 1.093 MB / 0.5804 GB, free: 22.4 MB / 234.7 MB Notification: Performance of SimCode: time 1.262e-06/2.866, allocations: 3 kB / 0.5804 GB, free: 22.4 MB / 234.7 MB