Running command: translateModel(OpenHPL.Waterway.Reservoir,tolerance=0.0001,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Waterway.Reservoir") [: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.089/2.089, allocations: 258 MB / 265 MB, free: 15.88 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.968e-06/1.004e-05, allocations: 4 kB / 327.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2428, allocations: 60.23 MB / 387.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.3673, allocations: 82.64 MB / 470.3 MB, free: 4.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3675, allocations: 67.97 kB / 470.4 MB, free: 4.879 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: Performance of FrontEnd: time 0.01023/0.3778, allocations: 2.062 MB / 472.4 MB, free: 2.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3778, allocations: 4 kB / 472.4 MB, free: 2.809 MB / 394.7 MB 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.0006003/0.3785, allocations: 402.1 kB / 472.8 MB, free: 2.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3785, allocations: 8.031 kB / 472.8 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3787, allocations: 19.81 kB / 472.8 MB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.3789, allocations: 199.2 kB / 473 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.379, allocations: 0 / 473 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.379, allocations: 4 kB / 473 MB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000171/0.3792, allocations: 47.92 kB / 473.1 MB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3793, allocations: 65.66 kB / 473.1 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3794, allocations: 0 / 473.1 MB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3794, allocations: 7.906 kB / 473.2 MB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-06/0.3794, allocations: 4 kB / 473.2 MB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.3803, allocations: 366.8 kB / 473.5 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.3809, allocations: 90.47 kB / 473.6 MB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.381, allocations: 17.05 kB / 473.6 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.381, allocations: 0 / 473.6 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3811, allocations: 30.56 kB / 473.7 MB, free: 1.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.858e-06/0.3811, allocations: 4 kB / 473.7 MB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002239/0.3813, allocations: 61.59 kB / 473.7 MB, free: 1.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3814, allocations: 55.31 kB / 473.8 MB, free: 1.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3815, allocations: 138.4 kB / 473.9 MB, free: 1.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3816, allocations: 25.7 kB / 473.9 MB, free: 1.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.3816, allocations: 107.8 kB / 474 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3817, allocations: 19.75 kB / 474.1 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-06/0.3817, allocations: 0 / 474.1 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3819, allocations: 326.8 kB / 474.4 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.3819, allocations: 12 kB / 474.4 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.382, allocations: 66.8 kB / 474.5 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.015e-05/0.3821, allocations: 16 kB / 474.5 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-06/0.3821, allocations: 3.938 kB / 474.5 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002338/0.3823, allocations: 101.4 kB / 474.6 MB, free: 432 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3824, allocations: 8 kB / 474.6 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.222e-06/0.3824, allocations: 0 / 474.6 MB, free: 424 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3824, allocations: 8.219 kB / 474.6 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.3826, allocations: 27.92 kB / 474.6 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.808e-06/0.3826, allocations: 0 / 474.6 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3827, allocations: 7.906 kB / 474.6 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3828, allocations: 4 kB / 474.6 MB, free: 376 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 0.0001013/0.3829, allocations: 117.7 kB / 474.7 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.3829, allocations: 15.75 kB / 474.8 MB, free: 236 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.3831, allocations: 62.78 kB / 474.8 MB, free: 172 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.852e-06/0.3831, allocations: 7.984 kB / 474.8 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.3832, allocations: 4.188 kB / 474.8 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-06/0.3832, allocations: 0 / 474.8 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/0.3838, allocations: 315.9 kB / 475.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-06/0.3838, allocations: 0 / 475.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.3844, allocations: 91.97 kB / 475.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-06/0.3845, allocations: 0 / 475.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3845, allocations: 0 / 475.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.3858, allocations: 1.246 MB / 476.5 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-06/0.3858, allocations: 0 / 476.5 MB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002372/0.3861, allocations: 194.1 kB / 476.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3861, allocations: 85.02 kB / 476.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3862, allocations: 0 / 476.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3863, allocations: 0 / 476.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3863, allocations: 11.89 kB / 476.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-06/0.3864, allocations: 0 / 476.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001154/0.3865, allocations: 115.3 kB / 476.9 MB, free: 13.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000412/0.3869, allocations: 20.06 kB / 476.9 MB, free: 13.89 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.0001981/0.3871, allocations: 123.1 kB / 477 MB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.3873, allocations: 39.94 kB / 477 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.588e-06/0.3873, allocations: 3.938 kB / 477.1 MB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.3875, allocations: 36.48 kB / 477.1 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3878, allocations: 17.05 kB / 477.1 MB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.3884, allocations: 197.3 kB / 477.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.3889, allocations: 0.7347 MB / 478 MB, free: 12.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3889, allocations: 0 / 478 MB, free: 12.69 MB / 410.7 MB Notification: Performance of Templates: time 0.004824/0.3937, allocations: 1.153 MB / 479.2 MB, free: 11.55 MB / 410.7 MB