Running command: translateModel(OpenHPL.Examples.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") [: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.229/2.229, allocations: 258 MB / 265 MB, free: 15.85 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.939e-06, allocations: 0 / 327.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 60.23 MB / 387.7 MB, free: 6.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.3808, allocations: 85.86 MB / 473.5 MB, free: 1.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3811, allocations: 71.97 kB / 473.6 MB, free: 1.625 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 reservoir.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$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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data mainPipe.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.Pipe$mainPipe. 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. [/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 reservoir1.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$reservoir1. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data branch1.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.Pipe$branch1. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data branch2.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.Pipe$branch2. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data mainPipeOut.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.Pipe$mainPipeOut. 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.05268/0.4338, allocations: 10.95 MB / 484.5 MB, free: 6.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.4339, allocations: 8 kB / 484.5 MB, free: 6.656 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001898/0.4358, allocations: 0.8253 MB / 485.4 MB, free: 5.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4359, allocations: 8.031 kB / 485.4 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.4363, allocations: 83.06 kB / 485.5 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/0.4371, allocations: 394.9 kB / 485.8 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.4372, allocations: 16 kB / 485.9 MB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-05/0.4373, allocations: 27.91 kB / 485.9 MB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000976/0.4383, allocations: 325.5 kB / 486.2 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.4391, allocations: 314.1 kB / 486.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.4392, allocations: 0 / 486.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.4392, allocations: 0 / 486.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4393, allocations: 12 kB / 486.5 MB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.4436, allocations: 1.343 MB / 487.9 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.4454, allocations: 468.1 kB / 488.3 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.446, allocations: 152.8 kB / 488.5 MB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.4471, allocations: 0.8584 MB / 489.3 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4472, allocations: 38.5 kB / 489.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.757e-06/0.4472, allocations: 0 / 489.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.006116/0.4533, allocations: 1.448 MB / 490.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4534, allocations: 63.78 kB / 490.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.4544, allocations: 459.3 kB / 491.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.4545, allocations: 25.7 kB / 491.3 MB, free: 15.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.4547, allocations: 259.4 kB / 491.6 MB, free: 15.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.4549, allocations: 161.6 kB / 491.8 MB, free: 14.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.455, allocations: 3.938 kB / 491.8 MB, free: 14.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.4552, allocations: 378.7 kB / 492.1 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.4557, allocations: 157.4 kB / 492.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.4563, allocations: 264.1 kB / 492.5 MB, free: 14.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.4574, allocations: 248.3 kB / 492.8 MB, free: 13.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-06/0.4574, allocations: 4 kB / 492.8 MB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002824/0.4602, allocations: 0.7302 MB / 493.5 MB, free: 13.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4603, allocations: 7.906 kB / 493.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4603, allocations: 4 kB / 493.5 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.4613, allocations: 160.8 kB / 493.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.4622, allocations: 135.8 kB / 493.8 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.4666, allocations: 2.199 MB / 496 MB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.4674, allocations: 4 kB / 496 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4675, allocations: 31.98 kB / 496.1 MB, free: 10.51 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: mainPipeOut.Vdot:VARIABLE(start = mainPipeOut.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real branch2.Vdot:VARIABLE(start = branch2.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.4678, allocations: 121 kB / 496.2 MB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.468, allocations: 63.16 kB / 496.2 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.4706, allocations: 0.6198 MB / 496.9 MB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4707, allocations: 11.92 kB / 496.9 MB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.339e-06/0.4707, allocations: 0 / 496.9 MB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4707, allocations: 3.984 kB / 496.9 MB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.475, allocations: 1.262 MB / 498.1 MB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.4751, allocations: 0 / 498.1 MB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.4767, allocations: 231.9 kB / 498.4 MB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.4779, allocations: 180.6 kB / 498.5 MB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.478, allocations: 4 kB / 498.5 MB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006463/0.4845, allocations: 4.526 MB / 0.4913 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.874e-06/0.4846, allocations: 0 / 0.4913 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002956/0.4875, allocations: 0.8882 MB / 0.4921 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.4879, allocations: 136.2 kB / 0.4923 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.488, allocations: 4 kB / 0.4923 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.4885, allocations: 4 kB / 0.4923 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.4886, allocations: 23.95 kB / 0.4923 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.4887, allocations: 16 kB / 0.4923 GB, free: 1.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006217/0.4893, allocations: 347.2 kB / 0.4926 GB, free: 1.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001181/0.4905, allocations: 208 kB / 0.4928 GB, free: 1.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (reservoir.m,reservoir1.m,branch2.Vdot,mainPipeOut.Vdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006547/0.4912, allocations: 200.5 kB / 0.493 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.4929, allocations: 0.5382 MB / 0.4936 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.078e-06/0.4929, allocations: 4.625 kB / 0.4936 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.4943, allocations: 374.7 kB / 0.4939 GB, free: 292 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.4952, allocations: 102.8 kB / 0.494 GB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.4981, allocations: 0.9648 MB / 0.495 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/0.4991, allocations: 0.9528 MB / 0.4959 GB, free: 14.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.85e-06/0.4991, allocations: 0 / 0.4959 GB, free: 14.2 MB / 442.7 MB Notification: Performance of Templates: time 0.02488/0.524, allocations: 8.883 MB / 0.5046 GB, free: 5.379 MB / 442.7 MB