Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.1..Xi.1.|pipe1.mediums.1..p|pipe1.mediums.2..T|pipe1.mediums.2..Xi.1.|pipe1.mediums.2..p|pipe1.mediums.3..T|pipe1.mediums.3..Xi.1.|pipe1.mediums.3..p|pipe1.mediums.4..T|pipe1.mediums.4..Xi.1.|pipe1.mediums.4..p|pipe1.mediums.5..T|pipe1.mediums.5..Xi.1.|pipe1.mediums.5..p|pipe2.mediums.1..T|pipe2.mediums.1..Xi.1.|pipe2.mediums.1..p|pipe2.mediums.2..T|pipe2.mediums.2..Xi.1.|pipe2.mediums.2..p|pipe2.mediums.3..T|pipe2.mediums.3..Xi.1.|pipe2.mediums.3..p|pipe2.mediums.4..T|pipe2.mediums.4..Xi.1.|pipe2.mediums.4..p|pipe2.mediums.5..T|pipe2.mediums.5..Xi.1.|pipe2.mediums.5..p|pipe3.mediums.1..T|pipe3.mediums.1..Xi.1.|pipe3.mediums.1..p|pipe3.mediums.2..T|pipe3.mediums.2..Xi.1.|pipe3.mediums.2..p|pipe3.mediums.3..T|pipe3.mediums.3..Xi.1.|pipe3.mediums.3..p|pipe3.mediums.4..T|pipe3.mediums.4..Xi.1.|pipe3.mediums.4..p|pipe3.mediums.5..T|pipe3.mediums.5..Xi.1.|pipe3.mediums.5..p|pipe4.mediums.1..T|pipe4.mediums.1..Xi.1.|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..Xi.1.|pipe4.mediums.2..p|pipe4.mediums.3..T|pipe4.mediums.3..Xi.1.|pipe4.mediums.3..p|pipe4.mediums.4..T|pipe4.mediums.4..Xi.1.|pipe4.mediums.4..p|pipe4.mediums.5..T|pipe4.mediums.5..Xi.1.|pipe4.mediums.5..p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.695e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7014/0.8331, allocations: 208.3 MB / 0.6048 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.4887/1.322, allocations: 21.13 MB / 0.6254 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/1.325, allocations: 112.4 kB / 0.6255 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/1.33, allocations: 1.007 MB / 0.6265 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/1.346, allocations: 3.973 MB / 0.6304 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0222/1.368, allocations: 5.654 MB / 0.6359 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01614/1.384, allocations: 7.024 MB / 0.6427 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006823/1.391, allocations: 3.065 MB / 0.6457 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/1.403, allocations: 4.27 MB / 0.6499 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/1.415, allocations: 4.502 MB / 0.6543 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02992/1.445, allocations: 10.07 MB / 0.6641 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.006096/1.452, allocations: 0.6241 MB / 0.6647 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00735/1.459, allocations: 3.444 MB / 0.6681 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.005958/1.465, allocations: 0.8859 MB / 0.669 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02924/1.494, allocations: 12.91 MB / 0.6816 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.494, allocations: 0 / 0.6816 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.106e-06/1.494, allocations: 0 / 0.6816 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005025/1.495, allocations: 0 / 0.6816 GB, free: 7.586 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.0599/1.555, allocations: 9.392 MB / 0.6907 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.555, allocations: 12.03 kB / 0.6908 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007267/1.562, allocations: 0.8419 MB / 0.6916 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/1.578, allocations: 4.191 MB / 0.6957 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008528/1.579, allocations: 485.9 kB / 0.6961 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004093/1.583, allocations: 0.6318 MB / 0.6968 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04691/1.63, allocations: 14.17 MB / 0.7106 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004446/1.63, allocations: 26.11 kB / 0.7106 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003754/1.634, allocations: 254.9 kB / 0.7109 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002688/1.637, allocations: 1.27 MB / 0.7121 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05205/1.689, allocations: 16.51 MB / 0.7282 GB, free: 5.875 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2229/1.912, allocations: 53.48 MB / 0.7804 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03241/1.944, allocations: 10.98 MB / 0.7912 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006144/1.951, allocations: 4.12 MB / 0.7952 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/1.951, allocations: 144.3 kB / 0.7953 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007144/1.958, allocations: 0.7854 MB / 0.7961 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=881): time 4.203e-05/1.958, allocations: 0 / 0.7961 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1121): time 0.974/2.932, allocations: 99.07 MB / 0.8928 GB, free: 276.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/2.932, allocations: 169.4 kB / 0.893 GB, free: 276.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007632/2.94, allocations: 3.495 MB / 0.8964 GB, free: 274.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.003944/2.944, allocations: 226.7 kB / 0.8966 GB, free: 274.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/2.946, allocations: 2.243 MB / 0.8988 GB, free: 272.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.007847/2.954, allocations: 3.897 MB / 0.9026 GB, free: 269.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003574/2.958, allocations: 214.8 kB / 0.9028 GB, free: 269.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0009662/2.959, allocations: 0.7586 MB / 0.9036 GB, free: 268.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03346/2.992, allocations: 10.17 MB / 0.9135 GB, free: 263.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03566/3.028, allocations: 11.69 MB / 0.9249 GB, free: 253.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0367/3.065, allocations: 11.25 MB / 0.9359 GB, free: 242.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.554e-05/3.065, allocations: 8 kB / 0.9359 GB, free: 242.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.1139/3.179, allocations: 32.49 MB / 0.9676 GB, free: 210 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.002555/3.182, allocations: 12.66 MB / 0.98 GB, free: 196.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/3.182, allocations: 35.98 kB / 0.98 GB, free: 196.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4515/3.633, allocations: 78.96 MB / 1.057 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009028/3.642, allocations: 1.096 MB / 1.058 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1247/3.767, allocations: 35.29 MB / 1.093 GB, free: 80.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02503/3.792, allocations: 1.797 MB / 1.094 GB, free: 78.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00429/3.797, allocations: 0.57 MB / 1.095 GB, free: 78.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/3.797, allocations: 4 kB / 1.095 GB, free: 78.38 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1289/3.925, allocations: 31.38 MB / 1.126 GB, free: 46.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/3.926, allocations: 32 kB / 1.126 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8111/4.737, allocations: 54.2 MB / 1.179 GB, free: 275.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/4.747, allocations: 1.196 MB / 1.18 GB, free: 275.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1156/4.863, allocations: 32.21 MB / 1.211 GB, free: 267.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02307/4.886, allocations: 1.745 MB / 1.213 GB, free: 267.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004615/4.891, allocations: 0.5611 MB / 1.213 GB, free: 267.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 145 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (603): * Single equations (assignments): 602 * 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: 0 * Non-linear torn systems: 1 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01138/4.902, allocations: 2.5 MB / 1.216 GB, free: 265.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004913/4.907, allocations: 0.6519 MB / 1.217 GB, free: 265.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.108/5.015, allocations: 31.15 MB / 1.247 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001438/5.015, allocations: 120 kB / 1.247 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/5.015, allocations: 0 / 1.247 GB, free: 236.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0855/5.101, allocations: 23.99 MB / 1.271 GB, free: 212.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.163/5.264, allocations: 42.17 MB / 1.312 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001763/5.264, allocations: 4 kB / 1.312 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02113/5.285, allocations: 2.118 MB / 1.314 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08509/5.37, allocations: 13.64 MB / 1.327 GB, free: 154.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004839/5.375, allocations: 0.6048 MB / 1.328 GB, free: 154 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06454/5.44, allocations: 33.18 MB / 1.36 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/5.44, allocations: 0 / 1.36 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1265/5.566, allocations: 37.17 MB / 1.396 GB, free: 82.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/5.57, allocations: 0.8011 MB / 1.397 GB, free: 81.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006159/5.576, allocations: 463.7 kB / 1.398 GB, free: 80.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02362/5.6, allocations: 1.447 MB / 1.399 GB, free: 79.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004732/5.604, allocations: 0.7544 MB / 1.4 GB, free: 78.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004112/5.609, allocations: 0.5386 MB / 1.4 GB, free: 78.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.005996/5.615, allocations: 2.659 MB / 1.403 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.72e-07/5.615, allocations: 0 / 1.403 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.03121/5.646, allocations: 6.516 MB / 1.409 GB, free: 69.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/5.659, allocations: 2.552 MB / 1.412 GB, free: 66.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.136/5.795, allocations: 37.13 MB / 1.448 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/5.795, allocations: 5 kB / 1.448 GB, free: 29.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.04574/5.841, allocations: 12.75 MB / 1.46 GB, free: 17.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02817/5.869, allocations: 3.169 MB / 1.464 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4942/6.363, allocations: 33.8 MB / 1.497 GB, free: 264.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/6.375, allocations: 5.193 MB / 1.502 GB, free: 263.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007895/6.383, allocations: 0.7924 MB / 1.502 GB, free: 263.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/6.383, allocations: 0 / 1.502 GB, free: 263.9 MB / 0.6511 GB Notification: Performance of Templates: time 1.297/7.68, allocations: 0.5374 GB / 2.04 GB, free: 28.13 MB / 0.6511 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:139:27: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp1517_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:143:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp1517) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:150:66: error: use of undeclared identifier '_Closure7_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure7_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((_system->_$cse29_ * _system->_pipe2_P_mediums1_P_h_) + (_system->_$cse67_ * _system->_pipe1_P_mediums5_P_h_)),(_system->_$cse29_ + _system->_$cse67_),!_system->_initial,"$cse29 + $cse67"), /*box BaseArray*//*t1*/tmp1516), 190.0, 647.0, 1e-13, tmp1518); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:154:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp1520_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:158:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp1520) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3292.cpp:165:66: error: use of undeclared identifier '_Closure8_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure8_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((_system->_$cse29_ * _system->_pipe2_P_mediums1_P_h_) + (_system->_$cse30_ * _system->_pipe3_P_mediums1_P_h_)),(_system->_$cse29_ + _system->_$cse30_),!_system->_initial,"$cse29 + $cse30"), /*box BaseArray*//*t1*/tmp1519), 190.0, 647.0, 1e-13, tmp1521); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:141:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp1543_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:145:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp1543) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:152:66: error: use of undeclared identifier '_Closure9_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure9_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((_system->_$cse98_ * _system->_pipe2_P_mediums5_P_h_) + (_system->_$cse69_ * _system->_pipe3_P_mediums5_P_h_)),(_system->_$cse98_ + _system->_$cse69_),!_system->_initial,"$cse98 + $cse69"), /*box BaseArray*//*t1*/tmp1542), 190.0, 647.0, 1e-13, tmp1544); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:154:27: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp1546_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:158:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp1546) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop3366.cpp:165:66: error: use of undeclared identifier '_Closure10_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure10_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((_system->_$cse98_ * _system->_pipe2_P_mediums5_P_h_) + (_system->_$cse68_ * _system->_pipe4_P_mediums1_P_h_)),(_system->_$cse98_ + _system->_$cse68_),!_system->_initial,"$cse98 + $cse68"), /*box BaseArray*//*t1*/tmp1545), 190.0, 647.0, 1e-13, tmp1547); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgLoopMain.cpp:93: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1867:27: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp2140_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1871:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp2140) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1878:66: error: use of undeclared identifier '_Closure11_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure11_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((max(_system->_pipe2_P_m_flows_(6),1e-07) * _system->_pipe2_P_mediums5_P_h_) + (max((-_system->_pipe4_P_m_flows_(1)),1e-07) * _system->_pipe4_P_mediums1_P_h_)),(max(_system->_pipe2_P_m_flows_(6),1e-07) + max((-_system->_pipe4_P_m_flows_(1)),1e-07)),!_system->_initial,"max(pipe2.m_flows[6], 1e-07) + max(-pipe4.m_flows[1], 1e-07)"), /*box BaseArray*//*t1*/tmp2139), 190.0, 647.0, 1e-13, tmp2141); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1889:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp2149_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1893:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp2149) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1900:66: error: use of undeclared identifier '_Closure12_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure12_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((max(_system->_pipe2_P_m_flows_(6),1e-07) * _system->_pipe2_P_mediums5_P_h_) + (max(_system->_pipe3_P_m_flows_(6),1e-07) * _system->_pipe3_P_mediums5_P_h_)),(max(_system->_pipe2_P_m_flows_(6),1e-07) + max(_system->_pipe3_P_m_flows_(6),1e-07)),!_system->_initial,"max(pipe2.m_flows[6], 1e-07) + max(pipe3.m_flows[6], 1e-07)"), /*box BaseArray*//*t1*/tmp2148), 190.0, 647.0, 1e-13, tmp2150); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:2046:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp2207_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.o] Error 1