Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.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.BranchingPipes15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009395/0.0009396, allocations: 192.6 kB / 16.1 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.173/1.173, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007944/0.0007943, allocations: 95.56 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2703/0.2703, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000232/0.0002321, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 62.96 MB / 0.516 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15): time 0.4055/0.6509, allocations: 216 MB / 0.7269 GB, free: 4.648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.6715, allocations: 16.18 MB / 0.7427 GB, free: 4.281 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.6744, allocations: 105 kB / 0.7428 GB, free: 4.281 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.6769, allocations: 0.7605 MB / 0.7435 GB, free: 4.262 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.008944/0.6859, allocations: 3.658 MB / 0.7471 GB, free: 4.062 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.696, allocations: 4.084 MB / 0.7511 GB, free: 3.242 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.007206/0.7033, allocations: 8.133 MB / 0.7591 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.7055, allocations: 1.267 MB / 0.7603 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.7096, allocations: 2.228 MB / 0.7625 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.7133, allocations: 2.416 MB / 0.7648 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007895/0.7141, allocations: 112.4 kB / 0.7649 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.7208, allocations: 3.042 MB / 0.7679 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.7221, allocations: 0.8178 MB / 0.7687 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.7238, allocations: 1.174 MB / 0.7698 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.005669/0.7295, allocations: 3.755 MB / 0.7735 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7295, allocations: 0 / 0.7735 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7295, allocations: 0 / 0.7735 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.284e-05/0.7295, allocations: 0 / 0.7735 GB, free: 11.99 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.005833/0.7354, allocations: 2.812 MB / 0.7763 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7354, allocations: 14.45 kB / 0.7763 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.7358, allocations: 245.1 kB / 0.7765 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.7381, allocations: 433.5 kB / 0.7769 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.7414, allocations: 1.955 MB / 0.7788 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.7415, allocations: 131.6 kB / 0.779 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.7418, allocations: 168.9 kB / 0.7791 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.7455, allocations: 2.557 MB / 0.7816 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.7456, allocations: 6.438 kB / 0.7816 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.7458, allocations: 69.53 kB / 0.7817 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.746, allocations: 186.7 kB / 0.7819 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.7493, allocations: 2.24 MB / 0.7841 GB, free: 3.531 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.01258/0.7619, allocations: 10.76 MB / 0.7946 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.7644, allocations: 1.787 MB / 0.7963 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.7658, allocations: 1.065 MB / 0.7973 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/0.7666, allocations: 0.5075 MB / 0.7978 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.7684, allocations: 1.287 MB / 0.7991 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 3.477e-06/0.7684, allocations: 0 / 0.7991 GB, free: 6.328 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.02359/0.792, allocations: 10.77 MB / 0.8096 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.7922, allocations: 289.1 kB / 0.8099 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.7939, allocations: 1.568 MB / 0.8114 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.7941, allocations: 63.45 kB / 0.8115 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.7947, allocations: 0.8829 MB / 0.8123 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.7951, allocations: 0.6258 MB / 0.813 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.7953, allocations: 42.56 kB / 0.813 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7954, allocations: 385.6 kB / 0.8134 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.797, allocations: 1.029 MB / 0.8144 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.7988, allocations: 1.531 MB / 0.8159 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.8023, allocations: 2.703 MB / 0.8185 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.8023, allocations: 4 kB / 0.8185 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004777/0.8071, allocations: 3.175 MB / 0.8216 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.8074, allocations: 0.4956 MB / 0.8221 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.8074, allocations: 12 kB / 0.8221 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.8078, allocations: 187.9 kB / 0.8223 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.8101, allocations: 0.565 MB / 0.8228 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.8115, allocations: 2.336 MB / 0.8251 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.8135, allocations: 211.3 kB / 0.8253 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.8139, allocations: 193.8 kB / 0.8255 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.8139, allocations: 4 kB / 0.8255 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004387/0.8183, allocations: 2.91 MB / 0.8284 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.8183, allocations: 12 kB / 0.8284 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.8187, allocations: 190.8 kB / 0.8285 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.8208, allocations: 0.5465 MB / 0.8291 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.8221, allocations: 2.329 MB / 0.8314 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.824, allocations: 217.8 kB / 0.8316 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/0.8243, allocations: 188.8 kB / 0.8317 GB, free: 11.29 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.001122/0.8255, allocations: 0.6924 MB / 0.8324 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.8258, allocations: 209.5 kB / 0.8326 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/0.8333, allocations: 4.652 MB / 0.8372 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.8334, allocations: 20 kB / 0.8372 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.8334, allocations: 0 / 0.8372 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003748/0.8371, allocations: 2.782 MB / 0.8399 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.8481, allocations: 7.354 MB / 0.8471 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.8481, allocations: 4 kB / 0.8471 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.8499, allocations: 444.9 kB / 0.8475 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.8503, allocations: 190.2 kB / 0.8477 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.8505, allocations: 99.95 kB / 0.8478 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.8523, allocations: 3.084 MB / 0.8508 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.8524, allocations: 10.53 kB / 0.8508 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/0.8584, allocations: 4.314 MB / 0.855 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.8595, allocations: 0.5294 MB / 0.8555 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.8598, allocations: 59.98 kB / 0.8556 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.8611, allocations: 131.7 kB / 0.8557 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/0.8615, allocations: 177.6 kB / 0.8559 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/0.8618, allocations: 163.9 kB / 0.856 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001337/0.8631, allocations: 1.057 MB / 0.8571 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8631, allocations: 0 / 0.8571 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003638/0.8668, allocations: 1.546 MB / 0.8586 GB, free: 15.98 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.008311/0.8751, allocations: 5.719 MB / 0.8642 GB, free: 10.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006688/0.8818, allocations: 4.399 MB / 0.8685 GB, free: 5.891 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.8818, allocations: 4.188 kB / 0.8685 GB, free: 5.887 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.884, allocations: 1.541 MB / 0.87 GB, free: 4.367 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/0.8904, allocations: 1.002 MB / 0.871 GB, free: 3.375 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/0.9165, allocations: 16.07 MB / 0.8866 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.9177, allocations: 1.659 MB / 0.8883 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/0.9202, allocations: 1.143 MB / 0.8894 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.9202, allocations: 3.938 kB / 0.8894 GB, free: 15.39 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_BranchingPipes15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1268:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1284:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1300:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1316:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_valve1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1332:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_valve2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1348:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe3_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1364:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe2_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:1380:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15_pipe1_Medium_T__h_f__nonlinear(u, data, h, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15FMU.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_BranchingPipes15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes15FMU.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_BranchingPipes15CalcHelperMain.o] Error 1