Running command: "" <> buildModelFMU(OpenHPL.Functions.KP07.TestKPpde.ElasticPenstock,fileNamePrefix="OpenHPL_OpenHPL_Functions_KP07_TestKPpde_ElasticPenstock",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(OpenHPL): time 2.285/2.285, allocations: 257.8 MB / 264.8 MB, free: 15.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1939/2.479, allocations: 62.55 MB / 327.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/2.782, allocations: 60.23 MB / 387.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/2.959, allocations: 88.63 MB / 476.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/2.959, allocations: 87.88 kB / 476.3 MB, free: 14.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4046 * Number of variables: 4046 Notification: Performance of Generate backend data structure: time 1.564/4.523, allocations: 153.9 MB / 0.6154 GB, free: 56.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/4.523, allocations: 8 kB / 0.6154 GB, free: 56.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006514/4.53, allocations: 1.106 MB / 0.6165 GB, free: 55.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01793/4.548, allocations: 5.145 MB / 0.6215 GB, free: 50.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007197/4.549, allocations: 364 kB / 0.6219 GB, free: 49.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006266/4.555, allocations: 0.6405 MB / 0.6225 GB, free: 49.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07938/4.634, allocations: 34.43 MB / 0.6561 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07271/4.707, allocations: 21.98 MB / 0.6776 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006171/4.708, allocations: 19.89 kB / 0.6776 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005575/4.714, allocations: 0 / 0.6776 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/4.716, allocations: 1.762 MB / 0.6793 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5395/5.256, allocations: 51.95 MB / 0.7301 GB, free: 169.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/5.283, allocations: 9.358 MB / 0.7392 GB, free: 169.7 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02249/5.306, allocations: 8.071 MB / 0.7471 GB, free: 167.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/5.308, allocations: 230.3 kB / 0.7473 GB, free: 167.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/5.308, allocations: 168.1 kB / 0.7475 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1323): time 1.771e-05/5.308, allocations: 3.062 kB / 0.7475 GB, free: 167.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1323): time 0.05864/5.366, allocations: 16.61 MB / 0.7637 GB, free: 163.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/5.367, allocations: 184.8 kB / 0.7639 GB, free: 163.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/5.368, allocations: 423.6 kB / 0.7643 GB, free: 163 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002631/5.37, allocations: 29.45 kB / 0.7643 GB, free: 163 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/5.372, allocations: 3.61 MB / 0.7678 GB, free: 161.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006544/5.379, allocations: 4.28 MB / 0.772 GB, free: 158.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/5.382, allocations: 0 / 0.772 GB, free: 158.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001082/5.383, allocations: 0.8123 MB / 0.7728 GB, free: 157.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02299/5.406, allocations: 7.319 MB / 0.7799 GB, free: 155.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02501/5.431, allocations: 8.445 MB / 0.7882 GB, free: 151.2 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02782/5.459, allocations: 9.06 MB / 0.797 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.125e-05/5.459, allocations: 4 kB / 0.797 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.06788/5.527, allocations: 17.98 MB / 0.8146 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/5.527, allocations: 7.969 kB / 0.8146 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/5.527, allocations: 16 kB / 0.8146 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/5.527, allocations: 68 kB / 0.8147 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03131/5.559, allocations: 2.639 MB / 0.8173 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002184/5.559, allocations: 80.34 kB / 0.8173 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01476/5.574, allocations: 0.7926 MB / 0.8181 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004134/5.578, allocations: 446.5 kB / 0.8185 GB, free: 124.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 4 (kP.boundaryCon[2,2],kP.boundaryCon[2,1],kP.boundaryCon[1,2],kP.boundaryCon[1,1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1429): * Single equations (assignments): 1428 * 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.006387/5.584, allocations: 274.5 kB / 0.8188 GB, free: 124.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004065/5.589, allocations: 447.1 kB / 0.8192 GB, free: 124 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07722/5.666, allocations: 20.73 MB / 0.8395 GB, free: 106.9 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002146/5.666, allocations: 147.8 kB / 0.8396 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001244/5.666, allocations: 0 / 0.8396 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005282/5.667, allocations: 75.23 kB / 0.8397 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1211/5.788, allocations: 35.19 MB / 0.8741 GB, free: 73.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.955e-05/5.788, allocations: 8 kB / 0.8741 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03316/5.821, allocations: 2.769 MB / 0.8768 GB, free: 70.55 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/5.822, allocations: 60 kB / 0.8768 GB, free: 70.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003891/5.826, allocations: 191.7 kB / 0.877 GB, free: 70.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001751/5.826, allocations: 63.92 kB / 0.8771 GB, free: 70.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/5.826, allocations: 19.77 kB / 0.8771 GB, free: 70.23 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09051/5.916, allocations: 32.15 MB / 0.9085 GB, free: 37.61 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3155/6.232, allocations: 45.28 MB / 0.9527 GB, free: 162.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000947/6.233, allocations: 0.71 MB / 0.9534 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004907/6.238, allocations: 37.16 kB / 0.9534 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01516/6.253, allocations: 257.7 kB / 0.9537 GB, free: 162.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005475/6.259, allocations: 0.8008 MB / 0.9544 GB, free: 162 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004521/6.263, allocations: 451.7 kB / 0.9549 GB, free: 162 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.0006492/6.264, allocations: 283.1 kB / 0.9552 GB, free: 162 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01511/6.279, allocations: 3.433 MB / 0.9585 GB, free: 162 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (U[1],U[2],U[3],U[4],U[5],U[6],U[7],U[8],U[9],U[10],U[11],U[12],U[13],U[14],U[15],U[16],U[17],U[18],U[19],U[20],U[21],U[22],U[23],U[24],U[25],U[26],U[27],U[28],U[29],U[30],U[31],U[32],U[33],U[34],U[35],U[36],U[37],U[38],U[39],U[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1511): * Single equations (assignments): 1511 * 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.004513/6.284, allocations: 361.1 kB / 0.9588 GB, free: 161.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05204/6.336, allocations: 17.8 MB / 0.9762 GB, free: 159.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/6.336, allocations: 7.078 kB / 0.9762 GB, free: 159.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0266/6.362, allocations: 9.737 MB / 0.9857 GB, free: 156.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/6.368, allocations: 210.3 kB / 0.9859 GB, free: 156.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08669/6.455, allocations: 26.16 MB / 1.011 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03339/6.488, allocations: 8.133 MB / 1.019 GB, free: 145 MB / 0.4949 GB Notification: Performance of SimCode: time 1.984e-06/6.488, allocations: 0 / 1.019 GB, free: 145 MB / 0.4949 GB