Running command: "" <> buildModelFMU(OpenHPL.Waterway.Reservoir,fileNamePrefix="OpenHPL_OpenHPL_Waterway_Reservoir",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.297/2.297, allocations: 257.8 MB / 264.8 MB, free: 15.96 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1772/2.474, allocations: 62.55 MB / 327.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/2.794, allocations: 60.2 MB / 387.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/2.955, allocations: 82.63 MB / 470.2 MB, free: 5.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/2.955, allocations: 67.97 kB / 470.3 MB, free: 5.02 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01577/2.971, allocations: 2.462 MB / 472.7 MB, free: 2.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/2.971, allocations: 8 kB / 472.7 MB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/2.971, allocations: 23.75 kB / 472.8 MB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/2.972, allocations: 195.3 kB / 472.9 MB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/2.972, allocations: 4 kB / 472.9 MB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/2.972, allocations: 4 kB / 473 MB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001922/2.972, allocations: 47.98 kB / 473 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/2.972, allocations: 69.66 kB / 473.1 MB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/2.972, allocations: 0 / 473.1 MB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/2.972, allocations: 3.906 kB / 473.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/2.972, allocations: 0 / 473.1 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/2.973, allocations: 374.8 kB / 473.4 MB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/2.974, allocations: 86.47 kB / 473.5 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/2.974, allocations: 17.05 kB / 473.5 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/2.974, allocations: 0 / 473.5 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/2.974, allocations: 30.56 kB / 473.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.894e-06/2.974, allocations: 0 / 473.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002503/2.975, allocations: 61.59 kB / 473.6 MB, free: 1.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/2.975, allocations: 55.31 kB / 473.7 MB, free: 1.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/2.975, allocations: 138.4 kB / 473.8 MB, free: 1.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/2.975, allocations: 29.7 kB / 473.8 MB, free: 1.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/2.975, allocations: 111.8 kB / 474 MB, free: 1.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/2.975, allocations: 23.69 kB / 474 MB, free: 1.102 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/2.975, allocations: 0 / 474 MB, free: 1.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/2.975, allocations: 322.8 kB / 474.3 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/2.975, allocations: 12 kB / 474.3 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/2.976, allocations: 66.73 kB / 474.4 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/2.976, allocations: 23.98 kB / 474.4 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.976, allocations: 0 / 474.4 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002413/2.976, allocations: 97.38 kB / 474.5 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/2.976, allocations: 7.938 kB / 474.5 MB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/2.976, allocations: 4 kB / 474.5 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/2.976, allocations: 7.938 kB / 474.5 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/2.976, allocations: 19.98 kB / 474.5 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/2.976, allocations: 7.984 kB / 474.5 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/2.976, allocations: 7.906 kB / 474.5 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/2.976, allocations: 7.984 kB / 474.6 MB, free: 500 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.704e-05/2.977, allocations: 117.1 kB / 474.7 MB, free: 376 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/2.977, allocations: 15.81 kB / 474.7 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/2.977, allocations: 70.75 kB / 474.8 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/2.977, allocations: 0 / 474.8 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/2.977, allocations: 192 / 474.8 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/2.977, allocations: 4 kB / 474.8 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005932/2.977, allocations: 323.8 kB / 475.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/2.977, allocations: 0 / 475.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/2.978, allocations: 87.95 kB / 475.2 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/2.978, allocations: 0 / 475.2 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/2.979, allocations: 0 / 475.2 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/2.98, allocations: 1.242 MB / 476.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.98, allocations: 4.031 kB / 476.4 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002744/2.98, allocations: 185.9 kB / 476.6 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004002/2.981, allocations: 0.5728 MB / 477.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/2.981, allocations: 89 kB / 477.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/2.981, allocations: 7.906 kB / 477.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/2.981, allocations: 0 / 477.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/2.981, allocations: 0 / 477.3 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/2.981, allocations: 8.125 kB / 477.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001183/2.981, allocations: 119.4 kB / 477.4 MB, free: 13.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001273/2.982, allocations: 16 kB / 477.4 MB, free: 13.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0001955/2.983, allocations: 117.5 kB / 477.5 MB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/2.983, allocations: 35.94 kB / 477.5 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/2.983, allocations: 448 / 477.5 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/2.983, allocations: 43.91 kB / 477.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/2.983, allocations: 12 kB / 477.6 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/2.984, allocations: 207.6 kB / 477.8 MB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/2.984, allocations: 0.7347 MB / 478.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/2.985, allocations: 0 / 478.5 MB, free: 12.21 MB / 410.7 MB