Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.662/2.662, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.166e-05, allocations: 0 / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4135, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.61/11.03, allocations: 3.462 GB / 3.861 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/11.03, allocations: 76.41 kB / 3.861 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.897/16.93, allocations: 0.9569 GB / 4.818 GB, free: 33.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.295e-06/16.93, allocations: 2.531 kB / 4.818 GB, free: 33.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005495/16.93, allocations: 160 kB / 4.818 GB, free: 33.96 MB / 0.573 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.05867/16.99, allocations: 9.459 MB / 4.828 GB, free: 30.3 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/16.99, allocations: 8.5 kB / 4.828 GB, free: 30.3 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006689/16.99, allocations: 1.018 MB / 4.829 GB, free: 30.21 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009092/17, allocations: 0.8706 MB / 4.829 GB, free: 29.82 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02772/17.03, allocations: 5.726 MB / 4.835 GB, free: 29.04 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009739/17.03, allocations: 0.5252 MB / 4.836 GB, free: 29.02 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005425/17.04, allocations: 0.6973 MB / 4.836 GB, free: 29 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04832/17.08, allocations: 13.73 MB / 4.85 GB, free: 28.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000494/17.08, allocations: 25.95 kB / 4.85 GB, free: 28.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00506/17.09, allocations: 286.3 kB / 4.85 GB, free: 28.35 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/17.09, allocations: 0.7007 MB / 4.851 GB, free: 28.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0471/17.14, allocations: 16.07 MB / 4.866 GB, free: 28.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1428/17.28, allocations: 47.61 MB / 4.913 GB, free: 13.33 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03132/17.31, allocations: 10.5 MB / 4.923 GB, free: 11.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01908/17.33, allocations: 7.14 MB / 4.93 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005695/17.34, allocations: 4.146 MB / 4.934 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/17.34, allocations: 140.7 kB / 4.934 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009857/17.35, allocations: 0.8661 MB / 4.935 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=881): time 3.732e-05/17.35, allocations: 0 / 4.935 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1121): time 1.056/18.4, allocations: 88.11 MB / 5.021 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/18.4, allocations: 167.1 kB / 5.021 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008944/18.41, allocations: 3.467 MB / 5.025 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.004188/18.42, allocations: 233.3 kB / 5.025 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002245/18.42, allocations: 2.206 MB / 5.027 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.007563/18.43, allocations: 3.892 MB / 5.031 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00392/18.43, allocations: 216.2 kB / 5.031 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.001172/18.43, allocations: 0.7511 MB / 5.032 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02507/18.46, allocations: 8.782 MB / 5.04 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02769/18.48, allocations: 10.09 MB / 5.05 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0282/18.51, allocations: 9.848 MB / 5.06 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/18.51, allocations: 7.469 kB / 5.06 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1368) (initialization): time 0.09723/18.61, allocations: 28.26 MB / 5.087 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002543/18.61, allocations: 10.75 MB / 5.098 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/18.61, allocations: 29.91 kB / 5.098 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4837/19.1, allocations: 77.07 MB / 5.173 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009425/19.11, allocations: 1.049 MB / 5.174 GB, free: 28.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09842/19.2, allocations: 31.6 MB / 5.205 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0264/19.23, allocations: 1.783 MB / 5.207 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004951/19.24, allocations: 0.5668 MB / 5.207 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/19.24, allocations: 6.734 kB / 5.207 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1148/19.35, allocations: 27.97 MB / 5.235 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/19.35, allocations: 31.53 kB / 5.235 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9194/20.27, allocations: 54.51 MB / 5.288 GB, free: 74.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/20.28, allocations: 1.15 MB / 5.289 GB, free: 74.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08486/20.37, allocations: 28.44 MB / 5.317 GB, free: 73.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02378/20.39, allocations: 1.747 MB / 5.319 GB, free: 73.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005107/20.39, allocations: 0.5566 MB / 5.319 GB, free: 73.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 580 * 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.009307/20.4, allocations: 0.6036 MB / 5.32 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005865/20.41, allocations: 0.6518 MB / 5.32 GB, free: 73.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09103/20.5, allocations: 27.48 MB / 5.347 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000187/20.5, allocations: 118.5 kB / 5.347 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.787e-05/20.5, allocations: 5.375 kB / 5.347 GB, free: 72.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06393/20.57, allocations: 20.47 MB / 5.367 GB, free: 71.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1837/20.75, allocations: 40.5 MB / 5.407 GB, free: 48.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000209/20.75, allocations: 3.172 kB / 5.407 GB, free: 48.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03427/20.78, allocations: 2.124 MB / 5.409 GB, free: 46.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08527/20.87, allocations: 11.61 MB / 5.42 GB, free: 38.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004572/20.87, allocations: 0.6008 MB / 5.421 GB, free: 38.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03931/20.91, allocations: 30 MB / 5.45 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/20.91, allocations: 7.984 kB / 5.45 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.19/21.1, allocations: 38.64 MB / 5.488 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/21.11, allocations: 0.8008 MB / 5.489 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005813/21.11, allocations: 466.7 kB / 5.489 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5502/21.66, allocations: 1.448 MB / 5.491 GB, free: 87.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005114/21.67, allocations: 0.755 MB / 5.491 GB, free: 87.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004728/21.67, allocations: 0.5353 MB / 5.492 GB, free: 87.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007418/21.68, allocations: 2.648 MB / 5.494 GB, free: 87.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.042e-06/21.68, allocations: 0 / 5.494 GB, free: 87.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0388/21.72, allocations: 6.829 MB / 5.501 GB, free: 87.72 MB / 0.6355 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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1505/21.87, allocations: 40.99 MB / 5.541 GB, free: 85.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.1089/21.98, allocations: 32.71 MB / 5.573 GB, free: 85.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/21.98, allocations: 5.969 kB / 5.573 GB, free: 85.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.03842/22.02, allocations: 11.41 MB / 5.584 GB, free: 84.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03066/22.05, allocations: 3.164 MB / 5.587 GB, free: 84.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1143/22.16, allocations: 29.75 MB / 5.616 GB, free: 79.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/22.17, allocations: 5.191 MB / 5.621 GB, free: 78.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01317/22.19, allocations: 3.504 MB / 5.625 GB, free: 75.86 MB / 0.6355 GB Notification: Performance of SimCode: time 2.324e-06/22.19, allocations: 0 / 5.625 GB, free: 75.86 MB / 0.6355 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -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:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:3444:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:3462:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706532_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:3480:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706532_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState.h:11:7: note: forward declaration of 'Functions' class Functions; ^ 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:42: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop3549.cpp:137:65: error: use of undeclared identifier '_Closure83_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure83_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((_system->_$cse57_ * _system->_pipe1_P_mediums5_P_h_) + (_system->_$cse24_ * _system->_pipe2_P_mediums1_P_h_)),(_system->_$cse57_ + _system->_$cse24_),!_system->_initial,"$cse57 + $cse24"), /*box BaseArray*//*t4*/tmp1730), 190.0, 647.0, 1e-13, tmp1731); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop3549.cpp:143:65: error: use of undeclared identifier '_Closure84_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure84_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((_system->_$cse24_ * _system->_pipe2_P_mediums1_P_h_) + (_system->_$cse25_ * _system->_pipe3_P_mediums1_P_h_)),(_system->_$cse24_ + _system->_$cse25_),!_system->_initial,"$cse24 + $cse25"), /*box BaseArray*//*t4*/tmp1732), 190.0, 647.0, 1e-13, tmp1733); ^ 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:66: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop3797.cpp:138:65: error: use of undeclared identifier '_Closure85_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure85_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((_system->_$cse83_ * _system->_pipe2_P_mediums5_P_h_) + (_system->_$cse58_ * _system->_pipe3_P_mediums5_P_h_)),(_system->_$cse83_ + _system->_$cse58_),!_system->_initial,"$cse83 + $cse58"), /*box BaseArray*//*t4*/tmp1802), 190.0, 647.0, 1e-13, tmp1803); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop3797.cpp:143:65: error: use of undeclared identifier '_Closure86_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure86_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[29], /*box double*/division(((_system->_$cse83_ * _system->_pipe2_P_mediums5_P_h_) + (_system->_$cse59_ * _system->_pipe4_P_mediums1_P_h_)),(_system->_$cse83_ + _system->_$cse59_),!_system->_initial,"$cse83 + $cse59"), /*box BaseArray*//*t4*/tmp1804), 190.0, 647.0, 1e-13, tmp1805); ^ 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:1798:65: error: use of undeclared identifier '_Closure87_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure87_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((max((-_system->_pipe2_P_m_flows_(1)),1e-07) * _system->_pipe2_P_mediums1_P_h_) + (max((-_system->_pipe3_P_m_flows_(1)),1e-07) * _system->_pipe3_P_mediums1_P_h_)),(max((-_system->_pipe2_P_m_flows_(1)),1e-07) + max((-_system->_pipe3_P_m_flows_(1)),1e-07)),!_system->_initial,"max(-pipe2.m_flows[1], 1e-07) + max(-pipe3.m_flows[1], 1e-07)"), /*box BaseArray*//*t4*/tmp2225), 190.0, 647.0, 1e-13, tmp2226); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1811:65: error: use of undeclared identifier '_Closure88_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure88_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[25], /*box double*/division(((max(_system->_pipe1_P_m_flows_(6),1e-07) * _system->_pipe1_P_mediums5_P_h_) + (max((-_system->_pipe2_P_m_flows_(1)),1e-07) * _system->_pipe2_P_mediums1_P_h_)),(max(_system->_pipe1_P_m_flows_(6),1e-07) + max((-_system->_pipe2_P_m_flows_(1)),1e-07)),!_system->_initial,"max(pipe1.m_flows[6], 1e-07) + max(-pipe2.m_flows[1], 1e-07)"), /*box BaseArray*//*t4*/tmp2233), 190.0, 647.0, 1e-13, tmp2234); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1956:65: error: use of undeclared identifier '_Closure89_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure89_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_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*//*t4*/tmp2288), 190.0, 647.0, 1e-13, tmp2289); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateAlgloop985.cpp:1969:65: error: use of undeclared identifier '_Closure90_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure90_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_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*//*t4*/tmp2296), 190.0, 647.0, 1e-13, tmp2297); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyStateFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 11 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