Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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.BranchingPipes17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009511/0.0009511, allocations: 191.7 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 226.5 MB / 243.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008112/0.0008113, allocations: 99.92 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2781/0.2781, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002421, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2587, allocations: 62.97 MB / 0.516 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.4196/0.6783, allocations: 224.8 MB / 0.7355 GB, free: 4.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0214/0.6997, allocations: 16.5 MB / 0.7517 GB, free: 4.148 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.7031, allocations: 109.3 kB / 0.7518 GB, free: 4.148 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.7057, allocations: 0.813 MB / 0.7526 GB, free: 4.129 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.009694/0.7154, allocations: 3.975 MB / 0.7564 GB, free: 3.438 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.7256, allocations: 4.185 MB / 0.7605 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007954/0.7336, allocations: 8.629 MB / 0.769 GB, free: 304 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.7357, allocations: 1.368 MB / 0.7703 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.7401, allocations: 2.379 MB / 0.7726 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.7438, allocations: 2.539 MB / 0.7751 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.7443, allocations: 115.7 kB / 0.7752 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006581/0.7509, allocations: 3.252 MB / 0.7784 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.7519, allocations: 0.8483 MB / 0.7792 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.7535, allocations: 1.238 MB / 0.7804 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/0.7587, allocations: 3.986 MB / 0.7843 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7587, allocations: 3.984 kB / 0.7843 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7587, allocations: 0 / 0.7843 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.919e-05/0.7588, allocations: 0 / 0.7843 GB, free: 8.152 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.005816/0.7646, allocations: 2.932 MB / 0.7872 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7646, allocations: 8.031 kB / 0.7872 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003382/0.765, allocations: 256.4 kB / 0.7874 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.7672, allocations: 448.9 kB / 0.7879 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.7702, allocations: 2.016 MB / 0.7898 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/0.7703, allocations: 139 kB / 0.79 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.7706, allocations: 181.6 kB / 0.7901 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.7743, allocations: 2.669 MB / 0.7927 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.7744, allocations: 10.25 kB / 0.7927 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.7746, allocations: 73.03 kB / 0.7928 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.7748, allocations: 191.6 kB / 0.793 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.7782, allocations: 2.336 MB / 0.7953 GB, free: 15.36 MB / 0.5105 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.01275/0.7909, allocations: 11.33 MB / 0.8063 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.7936, allocations: 1.872 MB / 0.8082 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.7951, allocations: 1.111 MB / 0.8093 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007709/0.7959, allocations: 0.5073 MB / 0.8097 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.7977, allocations: 1.354 MB / 0.8111 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=172): time 3.957e-06/0.7977, allocations: 0 / 0.8111 GB, free: 1.531 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 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.02701/0.8247, allocations: 11.98 MB / 0.8228 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.8249, allocations: 293.6 kB / 0.823 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.8267, allocations: 1.638 MB / 0.8246 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.8269, allocations: 64.58 kB / 0.8247 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.8275, allocations: 0.9298 MB / 0.8256 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.828, allocations: 0.6771 MB / 0.8263 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.8281, allocations: 46.5 kB / 0.8263 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8283, allocations: 399.6 kB / 0.8267 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.83, allocations: 1.083 MB / 0.8278 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.832, allocations: 1.624 MB / 0.8293 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.8358, allocations: 2.87 MB / 0.8322 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.8359, allocations: 4 kB / 0.8322 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005259/0.8411, allocations: 3.421 MB / 0.8355 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003177/0.8414, allocations: 0.5319 MB / 0.836 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.8415, allocations: 12 kB / 0.836 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/0.8422, allocations: 307.1 kB / 0.8363 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.8444, allocations: 0.5833 MB / 0.8369 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.8463, allocations: 3.01 MB / 0.8398 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.8484, allocations: 223.8 kB / 0.84 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/0.8487, allocations: 211.9 kB / 0.8402 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.8487, allocations: 6.625 kB / 0.8403 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004984/0.8537, allocations: 3.137 MB / 0.8433 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.8537, allocations: 15.98 kB / 0.8433 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000682/0.8544, allocations: 308.6 kB / 0.8436 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.8565, allocations: 0.5696 MB / 0.8442 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.8585, allocations: 3.03 MB / 0.8471 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.8608, allocations: 216 kB / 0.8473 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/0.8612, allocations: 204 kB / 0.8475 GB, free: 15.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (270): * Single equations (assignments): 263 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001381/0.8626, allocations: 0.6999 MB / 0.8482 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.863, allocations: 229.2 kB / 0.8484 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008742/0.8717, allocations: 4.809 MB / 0.8531 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.8718, allocations: 20 kB / 0.8532 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8718, allocations: 0 / 0.8532 GB, free: 9.629 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004465/0.8763, allocations: 3.01 MB / 0.8561 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.8885, allocations: 7.176 MB / 0.8631 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.8885, allocations: 8 kB / 0.8631 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.8904, allocations: 463.4 kB / 0.8636 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/0.8912, allocations: 320.5 kB / 0.8639 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.8914, allocations: 111.9 kB / 0.864 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.8938, allocations: 3.751 MB / 0.8676 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.8938, allocations: 11.88 kB / 0.8676 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006665/0.9005, allocations: 4.616 MB / 0.8721 GB, free: 5.453 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.9016, allocations: 0.5605 MB / 0.8727 GB, free: 4.871 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.902, allocations: 59.98 kB / 0.8728 GB, free: 4.812 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.9033, allocations: 135.7 kB / 0.8729 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004408/0.9038, allocations: 189.8 kB / 0.8731 GB, free: 4.492 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/0.9041, allocations: 183.9 kB / 0.8732 GB, free: 4.312 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001421/0.9055, allocations: 1.09 MB / 0.8743 GB, free: 3.199 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9055, allocations: 0 / 0.8743 GB, free: 3.199 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003876/0.9094, allocations: 1.648 MB / 0.8759 GB, free: 1.551 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 9 (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,junctionVolume.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 (206): * Single equations (assignments): 199 * 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: 5 * 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: 4 {1 6,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008895/0.9183, allocations: 6.08 MB / 0.8819 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007052/0.9253, allocations: 4.68 MB / 0.8864 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9254, allocations: 4.062 kB / 0.8864 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.9277, allocations: 1.652 MB / 0.888 GB, free: 5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006179/0.9339, allocations: 1.136 MB / 0.8891 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/0.9594, allocations: 17.11 MB / 0.9059 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1812/1.141, allocations: 1.696 MB / 0.9075 GB, free: 254.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002996/1.144, allocations: 1.197 MB / 0.9087 GB, free: 254.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/1.144, allocations: 2.094 kB / 0.9087 GB, free: 254.9 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_BranchingPipes17CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1346:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1362:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_valve1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1378:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_valve2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1394:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1410:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1426:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1442:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1458:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1474:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_valve2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:1490:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17_valve1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17FMU.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_BranchingPipes17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17FMU.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 10 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes17CalcHelperMain.o] Error 1