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.445/2.445, allocations: 258 MB / 265.1 MB, free: 5.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.754e-05, allocations: 0 / 327.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 60.24 MB / 388 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6698, allocations: 85.92 MB / 473.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.6701, allocations: 77.7 kB / 474 MB, free: 8.578 MB / 378.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 - DAE generated: time 0.04862/0.7188, allocations: 11.13 MB / 485.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.7188, allocations: 0 / 485.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.7189, allocations: 15.53 kB / 485.1 MB, free: 6.332 MB / 378.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.001865/0.7208, allocations: 0.8085 MB / 485.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7208, allocations: 15.47 kB / 485.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.7211, allocations: 80.67 kB / 486 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.7217, allocations: 393.1 kB / 486.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.7218, allocations: 15.22 kB / 486.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.7219, allocations: 26.66 kB / 486.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000853/0.7227, allocations: 323.1 kB / 486.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.7235, allocations: 319.6 kB / 487.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.7236, allocations: 3.984 kB / 487.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.7236, allocations: 0 / 487.1 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.7237, allocations: 11.69 kB / 487.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.7275, allocations: 1.337 MB / 488.4 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.7295, allocations: 0.5379 MB / 489 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.7299, allocations: 135.4 kB / 489.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009825/0.7309, allocations: 0.8589 MB / 490 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.7309, allocations: 37.92 kB / 490 MB, free: 3.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.877e-06/0.7309, allocations: 0 / 490 MB, free: 3.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.005552/0.7365, allocations: 1.436 MB / 491.4 MB, free: 18.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.7366, allocations: 59.69 kB / 491.5 MB, free: 18.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.7373, allocations: 455.4 kB / 491.9 MB, free: 18.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.7373, allocations: 25.7 kB / 492 MB, free: 18.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.7376, allocations: 340 kB / 492.3 MB, free: 18.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.7377, allocations: 163.2 kB / 492.5 MB, free: 18.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.7378, allocations: 0 / 492.5 MB, free: 18.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.738, allocations: 378.2 kB / 492.8 MB, free: 17.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.7384, allocations: 164.2 kB / 493 MB, free: 17.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.7388, allocations: 255.4 kB / 493.2 MB, free: 17.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.7397, allocations: 251.7 kB / 493.5 MB, free: 17.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7398, allocations: 3.875 kB / 493.5 MB, free: 17.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002555/0.7423, allocations: 0.7376 MB / 494.2 MB, free: 17.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7424, allocations: 3.844 kB / 494.2 MB, free: 17.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7424, allocations: 3.844 kB / 494.2 MB, free: 17.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/0.7434, allocations: 160.3 kB / 494.4 MB, free: 17.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.7444, allocations: 135.7 kB / 494.5 MB, free: 17.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.7483, allocations: 2.244 MB / 496.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.7492, allocations: 3.719 kB / 496.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.7493, allocations: 26.61 kB / 496.8 MB, free: 15.91 MB / 394.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.000278/0.7496, allocations: 128.7 kB / 496.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002228/0.7518, allocations: 0.5622 MB / 497.5 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.752, allocations: 64.92 kB / 497.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7543, allocations: 0.6087 MB / 498.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7543, allocations: 3.812 kB / 498.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7544, allocations: 3.875 kB / 498.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.7544, allocations: 0 / 498.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.7583, allocations: 1.237 MB / 499.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7583, allocations: 0 / 499.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.7604, allocations: 231.9 kB / 499.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.7616, allocations: 180.9 kB / 499.8 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.7616, allocations: 7.797 kB / 499.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/0.7674, allocations: 4.56 MB / 0.4925 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.7674, allocations: 3.984 kB / 0.4925 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.7701, allocations: 0.892 MB / 0.4934 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.7704, allocations: 138.2 kB / 0.4936 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7705, allocations: 3.906 kB / 0.4936 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.771, allocations: 0 / 0.4936 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7712, allocations: 35.02 kB / 0.4936 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.7712, allocations: 22.98 kB / 0.4936 GB, free: 10.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005634/0.7718, allocations: 344.2 kB / 0.4939 GB, free: 10.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7718, allocations: 4 kB / 0.4939 GB, free: 10.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001043/0.7729, allocations: 214.2 kB / 0.4941 GB, free: 10.09 MB / 394.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.003632/0.7765, allocations: 1.648 MB / 0.4958 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.7782, allocations: 0.5715 MB / 0.4963 GB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7783, allocations: 4.188 kB / 0.4963 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.7797, allocations: 401.2 kB / 0.4967 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.7808, allocations: 102.3 kB / 0.4968 GB, free: 8.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.784, allocations: 1.045 MB / 0.4978 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.7846, allocations: 0.9131 MB / 0.4987 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.7852, allocations: 62.86 kB / 0.4988 GB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.7857, allocations: 237 kB / 0.499 GB, free: 7.199 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7857, allocations: 4 kB / 0.499 GB, free: 7.195 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06113/0.8468, allocations: 13.72 MB / 0.5124 GB, free: 10.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.8472, allocations: 106.1 kB / 0.5125 GB, free: 10.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/3.789, allocations: 0 / 0.5125 GB, free: 10.02 MB / 410.7 MB