Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 198.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.169/1.169, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007081/0.0007081, allocations: 98.41 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002306, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 62.95 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16): time 0.4319/0.6838, allocations: 216 MB / 0.7269 GB, free: 4.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.7056, allocations: 16.18 MB / 0.7427 GB, free: 4.293 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.7083, allocations: 107.7 kB / 0.7428 GB, free: 4.293 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002523/0.7108, allocations: 0.7477 MB / 0.7435 GB, free: 4.277 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008845/0.7197, allocations: 3.651 MB / 0.7471 GB, free: 4.078 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009944/0.7297, allocations: 4.09 MB / 0.7511 GB, free: 3.238 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007923/0.7376, allocations: 8.138 MB / 0.759 GB, free: 1.406 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.7401, allocations: 1.265 MB / 0.7603 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.7443, allocations: 2.234 MB / 0.7625 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.7483, allocations: 2.41 MB / 0.7648 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000701/0.749, allocations: 109.2 kB / 0.7649 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007085/0.7561, allocations: 3.043 MB / 0.7679 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.7576, allocations: 0.8147 MB / 0.7687 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.7601, allocations: 1.173 MB / 0.7698 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.7662, allocations: 3.757 MB / 0.7735 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7662, allocations: 1.75 kB / 0.7735 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7662, allocations: 0 / 0.7735 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000101/0.7663, allocations: 2.531 kB / 0.7735 GB, free: 11.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.006884/0.7732, allocations: 2.81 MB / 0.7763 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7732, allocations: 12.03 kB / 0.7763 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006176/0.7739, allocations: 246.4 kB / 0.7765 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.7764, allocations: 433.2 kB / 0.7769 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.7801, allocations: 1.957 MB / 0.7788 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7802, allocations: 129.5 kB / 0.7789 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.7807, allocations: 169.5 kB / 0.7791 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/0.7852, allocations: 2.563 MB / 0.7816 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.7853, allocations: 10.44 kB / 0.7816 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.7855, allocations: 66.62 kB / 0.7817 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/0.7858, allocations: 190.7 kB / 0.7819 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/0.7894, allocations: 2.241 MB / 0.7841 GB, free: 3.484 MB / 0.4948 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.01375/0.8031, allocations: 10.76 MB / 0.7946 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.8059, allocations: 1.789 MB / 0.7963 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.8075, allocations: 1.06 MB / 0.7973 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008379/0.8083, allocations: 0.5036 MB / 0.7978 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.8102, allocations: 1.286 MB / 0.7991 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 4.118e-06/0.8102, allocations: 0 / 0.7991 GB, free: 6.289 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.0264/0.8366, allocations: 10.79 MB / 0.8096 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8368, allocations: 282.7 kB / 0.8099 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.8391, allocations: 1.564 MB / 0.8114 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.8394, allocations: 62.52 kB / 0.8115 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.8402, allocations: 0.8801 MB / 0.8123 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005911/0.8408, allocations: 0.6271 MB / 0.813 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.841, allocations: 40.25 kB / 0.813 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.8412, allocations: 393.6 kB / 0.8134 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.843, allocations: 1.023 MB / 0.8144 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.845, allocations: 1.529 MB / 0.8159 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/0.8488, allocations: 2.709 MB / 0.8185 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.8489, allocations: 4 kB / 0.8185 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005462/0.8543, allocations: 3.17 MB / 0.8216 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003299/0.8547, allocations: 0.5008 MB / 0.8221 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.8547, allocations: 8 kB / 0.8221 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.8552, allocations: 191.6 kB / 0.8223 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/0.8575, allocations: 0.5598 MB / 0.8228 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.8589, allocations: 2.331 MB / 0.8251 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.8612, allocations: 210.5 kB / 0.8253 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/0.8616, allocations: 194.4 kB / 0.8255 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.8616, allocations: 10.66 kB / 0.8255 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004949/0.8666, allocations: 2.912 MB / 0.8283 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.8666, allocations: 16 kB / 0.8284 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.867, allocations: 190.3 kB / 0.8285 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.8692, allocations: 0.5521 MB / 0.8291 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.8706, allocations: 2.323 MB / 0.8314 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.8726, allocations: 213 kB / 0.8316 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003468/0.873, allocations: 189.2 kB / 0.8317 GB, free: 11.25 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.8743, allocations: 0.7024 MB / 0.8324 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/0.8748, allocations: 216.1 kB / 0.8326 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/0.8826, allocations: 4.636 MB / 0.8372 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.8826, allocations: 23.47 kB / 0.8372 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.8826, allocations: 1.859 kB / 0.8372 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003868/0.8865, allocations: 2.781 MB / 0.8399 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.8984, allocations: 7.342 MB / 0.8471 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.8984, allocations: 11.98 kB / 0.8471 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.9002, allocations: 436.3 kB / 0.8475 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.9007, allocations: 206.6 kB / 0.8477 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.9009, allocations: 99.95 kB / 0.8478 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.9028, allocations: 3.074 MB / 0.8508 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.9028, allocations: 13.34 kB / 0.8508 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006325/0.9091, allocations: 4.307 MB / 0.855 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.9102, allocations: 0.5314 MB / 0.8555 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/0.9107, allocations: 63.98 kB / 0.8556 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.9122, allocations: 127.7 kB / 0.8557 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.9126, allocations: 185.5 kB / 0.8559 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/0.9129, allocations: 159.9 kB / 0.856 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001485/0.9144, allocations: 1.049 MB / 0.8571 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9144, allocations: 4 kB / 0.8571 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003947/0.9183, allocations: 1.542 MB / 0.8586 GB, free: 15.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009033/0.9274, allocations: 5.726 MB / 0.8642 GB, free: 10.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007627/0.935, allocations: 4.402 MB / 0.8685 GB, free: 5.781 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/0.9351, allocations: 4 kB / 0.8685 GB, free: 5.777 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/0.9376, allocations: 1.548 MB / 0.87 GB, free: 4.254 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006912/0.9445, allocations: 0.9953 MB / 0.8709 GB, free: 3.266 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/0.9743, allocations: 16.07 MB / 0.8866 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.9761, allocations: 1.665 MB / 0.8883 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/0.9789, allocations: 1.136 MB / 0.8894 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.9789, allocations: 0 / 0.8894 GB, free: 15.27 MB / 0.6042 GB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1268:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1284:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1300:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1316:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_valve1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1332:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_valve2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1348:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1364:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:1380:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16FMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16FMU.cpp:11: /var/lib/jenkins1/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) { ^ 2 warnings and 8 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16CalcHelperMain.o] Error 1