Running command: "" <> buildModelFMU(OpenHPL.Examples.BranchingPipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_BranchingPipes",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.401/2.401, allocations: 257.8 MB / 264.8 MB, free: 15.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1648/2.566, allocations: 62.54 MB / 327.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/2.898, allocations: 60.22 MB / 387.6 MB, free: 6.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/3.066, allocations: 85.86 MB / 473.4 MB, free: 1.609 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/3.066, allocations: 79.94 kB / 473.5 MB, free: 1.531 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: 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.06347/3.13, allocations: 11.79 MB / 485.3 MB, free: 5.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/3.13, allocations: 12 kB / 485.3 MB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/3.13, allocations: 75.06 kB / 485.4 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008772/3.131, allocations: 394.9 kB / 485.8 MB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/3.131, allocations: 12 kB / 485.8 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/3.131, allocations: 27.91 kB / 485.8 MB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/3.133, allocations: 321.5 kB / 486.1 MB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/3.134, allocations: 314.1 kB / 486.4 MB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/3.134, allocations: 8 kB / 486.4 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/3.134, allocations: 0 / 486.4 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/3.134, allocations: 8 kB / 486.4 MB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/3.139, allocations: 1.343 MB / 487.8 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/3.142, allocations: 468.8 kB / 488.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/3.143, allocations: 148.8 kB / 488.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/3.144, allocations: 0.8584 MB / 489.2 MB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/3.144, allocations: 30.56 kB / 489.3 MB, free: 1.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 4.038e-06/3.144, allocations: 0 / 489.3 MB, free: 1.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.01103/3.155, allocations: 1.456 MB / 490.7 MB, free: 15.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/3.155, allocations: 63.78 kB / 490.8 MB, free: 15.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/3.156, allocations: 463.3 kB / 491.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/3.157, allocations: 25.7 kB / 491.3 MB, free: 15.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/3.157, allocations: 255.4 kB / 491.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/3.157, allocations: 165.6 kB / 491.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/3.157, allocations: 0 / 491.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000315/3.158, allocations: 378.8 kB / 492 MB, free: 14.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/3.159, allocations: 153.4 kB / 492.2 MB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/3.159, allocations: 264 kB / 492.5 MB, free: 14.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/3.161, allocations: 257 kB / 492.7 MB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/3.161, allocations: 0 / 492.7 MB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.005087/3.166, allocations: 0.7379 MB / 493.4 MB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/3.167, allocations: 12.12 kB / 493.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/3.167, allocations: 4 kB / 493.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/3.169, allocations: 160.7 kB / 493.6 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/3.17, allocations: 135.8 kB / 493.8 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/3.178, allocations: 2.201 MB / 496 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/3.179, allocations: 4 kB / 496 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/3.179, allocations: 24 kB / 496 MB, free: 10.41 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.0004127/3.18, allocations: 122.9 kB / 496.1 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/3.18, allocations: 67.16 kB / 496.2 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003898/3.184, allocations: 0.6157 MB / 496.8 MB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/3.184, allocations: 4 kB / 496.8 MB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/3.184, allocations: 8 kB / 496.8 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/3.184, allocations: 0 / 496.8 MB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/3.19, allocations: 1.266 MB / 498.1 MB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/3.19, allocations: 4 kB / 498.1 MB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/3.192, allocations: 231.9 kB / 498.3 MB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/3.194, allocations: 180.7 kB / 498.5 MB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/3.194, allocations: 4 kB / 498.5 MB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00682/3.201, allocations: 4.52 MB / 0.4912 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/3.201, allocations: 4 kB / 0.4912 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003471/3.204, allocations: 0.8882 MB / 0.4921 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004232/3.208, allocations: 1.454 MB / 0.4935 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/3.209, allocations: 136.2 kB / 0.4936 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/3.209, allocations: 0 / 0.4936 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/3.21, allocations: 7.938 kB / 0.4936 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/3.21, allocations: 31.86 kB / 0.4937 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/3.21, allocations: 16 kB / 0.4937 GB, free: 360 kB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006548/3.21, allocations: 347.1 kB / 0.494 GB, free: 16 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.002234/3.213, allocations: 216 kB / 0.4942 GB, free: 15.8 MB / 442.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.0006536/3.213, allocations: 194.8 kB / 0.4944 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/3.215, allocations: 0.5458 MB / 0.4949 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.215, allocations: 0 / 0.4949 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/3.217, allocations: 375.4 kB / 0.4953 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/3.218, allocations: 100.8 kB / 0.4954 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/3.222, allocations: 0.9639 MB / 0.4963 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/3.223, allocations: 0.9682 MB / 0.4973 GB, free: 12.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/3.223, allocations: 0 / 0.4973 GB, free: 12.58 MB / 442.7 MB