Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.011e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 50.4 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.05/10.15, allocations: 3.452 GB / 3.787 GB, free: 115.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/10.15, allocations: 75.95 kB / 3.787 GB, free: 115.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.595/15.75, allocations: 0.9574 GB / 4.744 GB, free: 19.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.255e-06/15.75, allocations: 0 / 4.744 GB, free: 19.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005441/15.75, allocations: 155.2 kB / 4.744 GB, free: 19.27 MB / 490.7 MB 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.06127/15.81, allocations: 9.64 MB / 4.754 GB, free: 15.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/15.81, allocations: 7.781 kB / 4.754 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006601/15.82, allocations: 1.02 MB / 4.755 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008932/15.82, allocations: 0.8676 MB / 4.756 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02698/15.85, allocations: 5.691 MB / 4.761 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/15.85, allocations: 0.5294 MB / 4.762 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005846/15.86, allocations: 0.7325 MB / 4.762 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/15.91, allocations: 13.99 MB / 4.776 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005448/15.91, allocations: 23.75 kB / 4.776 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005154/15.91, allocations: 290.8 kB / 4.776 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001006/15.91, allocations: 0.7021 MB / 4.777 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5191/16.43, allocations: 16.54 MB / 4.793 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1635/16.6, allocations: 48.8 MB / 4.841 GB, free: 18.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03158/16.63, allocations: 10.92 MB / 4.851 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02108/16.65, allocations: 7.644 MB / 4.859 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005957/16.66, allocations: 4.141 MB / 4.863 GB, free: 30.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/16.66, allocations: 150.6 kB / 4.863 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01001/16.67, allocations: 0.8981 MB / 4.864 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=925): time 5.008e-05/16.67, allocations: 0 / 4.864 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1187): time 0.4913/17.16, allocations: 86 MB / 4.948 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/17.16, allocations: 175.2 kB / 4.948 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/17.17, allocations: 3.401 MB / 4.951 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004835/17.17, allocations: 241.7 kB / 4.952 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00282/17.18, allocations: 2.122 MB / 4.954 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.009611/17.19, allocations: 4.133 MB / 4.958 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004605/17.19, allocations: 223.9 kB / 4.958 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001415/17.19, allocations: 0.7701 MB / 4.959 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05781/17.25, allocations: 10.94 MB / 4.969 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03311/17.28, allocations: 10.45 MB / 4.98 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.492/17.78, allocations: 10.65 MB / 4.99 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-05/17.78, allocations: 10.53 kB / 4.99 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.1082/17.88, allocations: 29.69 MB / 5.019 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002316/17.89, allocations: 8.836 MB / 5.028 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/17.89, allocations: 28.83 kB / 5.028 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4955/18.38, allocations: 82.92 MB / 5.109 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009618/18.39, allocations: 1.062 MB / 5.11 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1044/18.5, allocations: 33.48 MB / 5.142 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0275/18.52, allocations: 1.834 MB / 5.144 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005299/18.53, allocations: 0.5749 MB / 5.145 GB, free: 21.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/18.53, allocations: 6.812 kB / 5.145 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.114/18.64, allocations: 29.51 MB / 5.174 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/18.64, allocations: 24 kB / 5.174 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9177/19.56, allocations: 64.48 MB / 5.237 GB, free: 75.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00998/19.57, allocations: 1.109 MB / 5.238 GB, free: 75.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09683/19.67, allocations: 31.45 MB / 5.268 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02534/19.69, allocations: 1.805 MB / 5.27 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005421/19.7, allocations: 0.558 MB / 5.271 GB, free: 74.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.008764/19.71, allocations: 0.6183 MB / 5.271 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00581/19.71, allocations: 0.6634 MB / 5.272 GB, free: 74.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1021/19.82, allocations: 28.29 MB / 5.3 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000234/19.82, allocations: 126 kB / 5.3 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-05/19.82, allocations: 2 kB / 5.3 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07039/19.89, allocations: 21.05 MB / 5.32 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1678/20.05, allocations: 43.06 MB / 5.362 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001814/20.05, allocations: 0 / 5.362 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03573/20.09, allocations: 3.373 MB / 5.366 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05814/20.15, allocations: 10.16 MB / 5.376 GB, free: 19.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005254/20.15, allocations: 0.6297 MB / 5.376 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5119/20.67, allocations: 41.75 MB / 5.417 GB, free: 62.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/20.67, allocations: 0.875 kB / 5.417 GB, free: 62.31 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1394/20.8, allocations: 37.55 MB / 5.454 GB, free: 61.31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003573/20.81, allocations: 0.8203 MB / 5.454 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006558/20.81, allocations: 485.7 kB / 5.455 GB, free: 61.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02595/20.84, allocations: 1.487 MB / 5.456 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004851/20.85, allocations: 0.7973 MB / 5.457 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003932/20.85, allocations: 0.5483 MB / 5.458 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006109/20.86, allocations: 2.598 MB / 5.46 GB, free: 60.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.12e-07/20.86, allocations: 5.5 kB / 5.46 GB, free: 60.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03881/20.89, allocations: 6.971 MB / 5.467 GB, free: 60.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],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,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],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,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],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,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {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} Notification: Performance of Backend phase and start with SimCode phase: time 0.1483/21.04, allocations: 42.06 MB / 5.508 GB, free: 56 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.1156/21.16, allocations: 34.6 MB / 5.542 GB, free: 37.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/21.16, allocations: 4.781 kB / 5.542 GB, free: 37.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.04977/21.21, allocations: 12.88 MB / 5.554 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03074/21.24, allocations: 3.179 MB / 5.558 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/21.36, allocations: 32.29 MB / 5.589 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01164/21.37, allocations: 5.284 MB / 5.594 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/21.38, allocations: 3.666 MB / 5.598 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of SimCode: time 2.224e-06/21.38, allocations: 0 / 5.598 GB, free: 7.867 MB / 0.5573 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 OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:17: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3744:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3762:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3780:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3798:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706532_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3816:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3834:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706532_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:3852:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipes.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:26: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesAlgLoopMain.cpp:153: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesAlgloop1079.cpp:1838:65: error: use of undeclared identifier '_Closure87_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure87_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[39], /*box double*/division(((max(_system->_pipe2_P_m_flows_(6),1e-07) * _system->_pipe2_P_mediums5_P_h_) + (max((-__z[61]),1e-07) * _system->_pipe4_P_mediums1_P_h_)),(max(_system->_pipe2_P_m_flows_(6),1e-07) + max((-__z[61]),1e-07)),!_system->_initial,"max(pipe2.m_flows[6], 1e-07) + max(-pipe4.flowModel.m_flows[1], 1e-07)"), /*box BaseArray*//*t4*/tmp2204), 190.0, 647.0, 1e-13, tmp2205); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesAlgloop1079.cpp:1851:65: error: use of undeclared identifier '_Closure88_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure88_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706534_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[39], /*box double*/division(((max(_system->_pipe2_P_m_flows_(6),1e-07) * _system->_pipe2_P_mediums5_P_h_) + (max(__z[45],1e-07) * _system->_pipe3_P_mediums5_P_h_)),(max(_system->_pipe2_P_m_flows_(6),1e-07) + max(__z[45],1e-07)),!_system->_initial,"max(pipe2.m_flows[6], 1e-07) + max(pipe3.flowModel.m_flows[6], 1e-07)"), /*box BaseArray*//*t4*/tmp2212), 190.0, 647.0, 1e-13, tmp2213); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesAlgloop1079.cpp:2010: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[35], /*box double*/division(((max(__z[5],1e-07) * _system->_pipe1_P_mediums5_P_h_) + (max((-_system->_pipe2_P_m_flows_(1)),1e-07) * _system->_pipe2_P_mediums1_P_h_)),(max(__z[5],1e-07) + max((-_system->_pipe2_P_m_flows_(1)),1e-07)),!_system->_initial,"max(pipe1.flowModel.m_flows[6], 1e-07) + max(-pipe2.m_flows[1], 1e-07)"), /*box BaseArray*//*t4*/tmp2273), 190.0, 647.0, 1e-13, tmp2274); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesAlgloop1079.cpp:2023:65: error: use of undeclared identifier '_Closure90_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure90_Modelica_Fluid_Pipes__omcQuot_44796E616D696350697065247069706531_Medium_T__phX_f__nonlinear(_functions, /*box double*/__z[35], /*box double*/division(((max((-_system->_pipe2_P_m_flows_(1)),1e-07) * _system->_pipe2_P_mediums1_P_h_) + (max((-__z[40]),1e-07) * _system->_pipe3_P_mediums1_P_h_)),(max((-_system->_pipe2_P_m_flows_(1)),1e-07) + max((-__z[40]),1e-07)),!_system->_initial,"max(-pipe2.m_flows[1], 1e-07) + max(-pipe3.flowModel.m_flows[1], 1e-07)"), /*box BaseArray*//*t4*/tmp2281), 190.0, 647.0, 1e-13, tmp2282); ^ In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesFMU.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 'OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_BranchingDynamicPipesCalcHelperMain.o] Error 1