Running command: "" <> buildModelFMU(OpenHPL.Examples.BranchingPipes,fileNamePrefix="OpenHPL_OpenHPL_Examples_BranchingPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.479/2.479, allocations: 258 MB / 271.8 MB, free: 13.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.852e-05/4.863e-05, allocations: 4 kB / 335.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 60.24 MB / 396 MB, free: 5.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.6258, allocations: 86.61 MB / 482.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.6262, allocations: 86.23 kB / 482.7 MB, free: 12.79 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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 - DAE generated: time 0.07185/0.6981, allocations: 11.4 MB / 494.1 MB, free: 3.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6982, allocations: 4 kB / 494.1 MB, free: 3.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.828e-05/0.6982, allocations: 8 kB / 494.1 MB, free: 3.07 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00302/0.7013, allocations: 0.8225 MB / 495 MB, free: 2.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.7014, allocations: 8.031 kB / 495 MB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.7016, allocations: 75.34 kB / 495.1 MB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.7021, allocations: 83.05 kB / 495.1 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7032, allocations: 391.1 kB / 495.5 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.7033, allocations: 28.34 kB / 495.5 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.7035, allocations: 47.38 kB / 495.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.705, allocations: 381.9 kB / 496 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.705, allocations: 3.984 kB / 496 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.7051, allocations: 17.5 kB / 496 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.7052, allocations: 8 kB / 496 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.7067, allocations: 359.1 kB / 496.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006606/0.7134, allocations: 1.395 MB / 497.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.7168, allocations: 0.5679 MB / 498.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.7186, allocations: 0.8506 MB / 499.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.7186, allocations: 42.56 kB / 499.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 4.078e-06/0.7187, allocations: 0 / 499.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.007702/0.7264, allocations: 1.507 MB / 0.489 GB, free: 12.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.7265, allocations: 55.84 kB / 0.489 GB, free: 12.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.7283, allocations: 491.3 kB / 0.4895 GB, free: 11.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7284, allocations: 33.7 kB / 0.4895 GB, free: 11.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/0.7289, allocations: 339.3 kB / 0.4898 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.7292, allocations: 173.6 kB / 0.49 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.7293, allocations: 12 kB / 0.49 GB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002751/0.7296, allocations: 378.8 kB / 0.4904 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/0.7304, allocations: 177.5 kB / 0.4906 GB, free: 10.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009646/0.7314, allocations: 281.9 kB / 0.4908 GB, free: 10.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.7325, allocations: 222 kB / 0.491 GB, free: 10.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7325, allocations: 0 / 0.491 GB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003874/0.7364, allocations: 0.7657 MB / 0.4918 GB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.7364, allocations: 8 kB / 0.4918 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7365, allocations: 0 / 0.4918 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.738, allocations: 168.7 kB / 0.492 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.7396, allocations: 147.7 kB / 0.4921 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/0.7464, allocations: 2.316 MB / 0.4944 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.7475, allocations: 24.06 kB / 0.4944 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7476, allocations: 23.98 kB / 0.4944 GB, free: 6.734 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: mainPipeOut.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" type: Real branch2.M:VARIABLE(unit = "kg.m/s" fixed = true ) "Water momentum" 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.0006293/0.7483, allocations: 189.5 kB / 0.4946 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.7485, allocations: 59.25 kB / 0.4946 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.752, allocations: 0.6244 MB / 0.4952 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.7521, allocations: 4 kB / 0.4953 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.7521, allocations: 7.984 kB / 0.4953 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.7522, allocations: 4 kB / 0.4953 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/0.7582, allocations: 1.285 MB / 0.4965 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.7583, allocations: 4 kB / 0.4965 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/0.7615, allocations: 235.9 kB / 0.4967 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.7631, allocations: 157 kB / 0.4969 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.7632, allocations: 8 kB / 0.4969 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00968/0.7729, allocations: 4.753 MB / 0.5015 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.773, allocations: 4.031 kB / 0.5015 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.7771, allocations: 0.8964 MB / 0.5024 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.7776, allocations: 132.4 kB / 0.5026 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.7779, allocations: 12 kB / 0.5026 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.7786, allocations: 4 kB / 0.5026 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.7788, allocations: 43.88 kB / 0.5026 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.7789, allocations: 16 kB / 0.5026 GB, free: 13.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.78, allocations: 383.1 kB / 0.503 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.076e-06/0.78, allocations: 0 / 0.503 GB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001835/0.7818, allocations: 235.9 kB / 0.5032 GB, free: 13.18 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.M,mainPipeOut.M) * 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.005242/0.7871, allocations: 1.667 MB / 0.5048 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.79, allocations: 0.6263 MB / 0.5055 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.7901, allocations: 4 kB / 0.5055 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.7923, allocations: 416.2 kB / 0.5059 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.7937, allocations: 115.7 kB / 0.506 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.8082, allocations: 5.171 MB / 0.511 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/0.8091, allocations: 0.9103 MB / 0.5119 GB, free: 4.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000862/0.81, allocations: 76.64 kB / 0.512 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.8108, allocations: 231.4 kB / 0.5122 GB, free: 3.773 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.8108, allocations: 0 / 0.5122 GB, free: 3.773 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.8728, allocations: 14.63 MB / 0.5265 GB, free: 5.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/0.8732, allocations: 147.9 kB / 0.5266 GB, free: 5.023 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/4.01, allocations: 7.984 kB / 0.5266 GB, free: 5.016 MB / 442.7 MB