Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 195.5 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 226.5 MB / 243.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007529/0.0007528, allocations: 113.7 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.2718/0.2718, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002528, allocations: 11.94 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 62.95 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.5086/0.787, allocations: 288.7 MB / 0.7979 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.8136, allocations: 21.95 MB / 0.8193 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.8162, allocations: 74.72 kB / 0.8194 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.8191, allocations: 0.8882 MB / 0.8203 GB, free: 7.215 MB / 0.5105 GB [/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. [/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. [/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.01701/0.8361, allocations: 6.234 MB / 0.8263 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.8535, allocations: 6.727 MB / 0.8329 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008352/0.8619, allocations: 7.525 MB / 0.8403 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.8647, allocations: 1.703 MB / 0.8419 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007265/0.872, allocations: 3.586 MB / 0.8454 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004631/0.8766, allocations: 2.769 MB / 0.8481 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.8773, allocations: 151.9 kB / 0.8483 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/0.9044, allocations: 16.99 MB / 0.8649 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.9062, allocations: 1.083 MB / 0.8659 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.9079, allocations: 1.324 MB / 0.8672 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/0.9219, allocations: 8.256 MB / 0.8753 GB, free: 15.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.922, allocations: 0 / 0.8753 GB, free: 15.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.773e-06/0.922, allocations: 4 kB / 0.8753 GB, free: 15.08 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.922, allocations: 0 / 0.8753 GB, free: 15.08 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.009596/0.9316, allocations: 4.154 MB / 0.8793 GB, free: 10.86 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9317, allocations: 12.03 kB / 0.8794 GB, free: 10.84 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006163/0.9323, allocations: 282.6 kB / 0.8796 GB, free: 10.56 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.933, allocations: 284.9 kB / 0.8799 GB, free: 10.28 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.9352, allocations: 1.447 MB / 0.8813 GB, free: 8.773 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.9354, allocations: 147.5 kB / 0.8814 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.9356, allocations: 183.9 kB / 0.8816 GB, free: 8.449 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/0.9404, allocations: 3.142 MB / 0.8847 GB, free: 5.258 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/0.9405, allocations: 0 / 0.8847 GB, free: 5.258 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.9407, allocations: 83.95 kB / 0.8848 GB, free: 5.176 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.9409, allocations: 191.7 kB / 0.885 GB, free: 4.988 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/0.9462, allocations: 3.524 MB / 0.8884 GB, free: 1.461 MB / 0.573 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.0199/0.9662, allocations: 12.88 MB / 0.901 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/0.969, allocations: 1.723 MB / 0.9027 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.9707, allocations: 1.145 MB / 0.9038 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2008/1.171, allocations: 1.657 MB / 0.9054 GB, free: 238 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.011e-05/1.172, allocations: 57.91 kB / 0.9054 GB, free: 238 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002164/1.174, allocations: 345.1 kB / 0.9058 GB, free: 238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=153): time 5.921e-06/1.174, allocations: 0 / 0.9058 GB, free: 238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=165): time 0.02372/1.197, allocations: 9.095 MB / 0.9147 GB, free: 235.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.198, allocations: 201.7 kB / 0.9149 GB, free: 235.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/1.2, allocations: 2.05 MB / 0.9169 GB, free: 234.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/1.2, allocations: 68.83 kB / 0.9169 GB, free: 234.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.2, allocations: 0.9846 MB / 0.9179 GB, free: 233.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/1.201, allocations: 0.5723 MB / 0.9184 GB, free: 233.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.201, allocations: 40.84 kB / 0.9185 GB, free: 233.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/1.201, allocations: 394.9 kB / 0.9189 GB, free: 233 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/1.203, allocations: 1.331 MB / 0.9202 GB, free: 232.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/1.205, allocations: 1.718 MB / 0.9218 GB, free: 231.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/1.209, allocations: 2.993 MB / 0.9248 GB, free: 230.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.209, allocations: 2.625 kB / 0.9248 GB, free: 230.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008303/1.217, allocations: 4.175 MB / 0.9288 GB, free: 228.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.217, allocations: 407.7 kB / 0.9292 GB, free: 228.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.217, allocations: 8.812 kB / 0.9292 GB, free: 228.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006824/1.224, allocations: 1.305 MB / 0.9305 GB, free: 228 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/1.226, allocations: 0.4901 MB / 0.931 GB, free: 228 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/1.229, allocations: 2.134 MB / 0.9331 GB, free: 226.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.232, allocations: 191.2 kB / 0.9333 GB, free: 226.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/1.232, allocations: 133.6 kB / 0.9334 GB, free: 226.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.232, allocations: 3.906 kB / 0.9334 GB, free: 226.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008367/1.24, allocations: 3.867 MB / 0.9372 GB, free: 225.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.24, allocations: 9.266 kB / 0.9372 GB, free: 225.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/1.245, allocations: 0.9601 MB / 0.9381 GB, free: 225 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/1.248, allocations: 0.4929 MB / 0.9386 GB, free: 224.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/1.251, allocations: 1.92 MB / 0.9405 GB, free: 223.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.254, allocations: 184.5 kB / 0.9406 GB, free: 223.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/1.254, allocations: 133.2 kB / 0.9408 GB, free: 223.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001918/1.256, allocations: 0.6341 MB / 0.9414 GB, free: 223.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007455/1.257, allocations: 227.5 kB / 0.9416 GB, free: 223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007716/1.265, allocations: 4.201 MB / 0.9457 GB, free: 221.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.265, allocations: 19.78 kB / 0.9457 GB, free: 221.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.265, allocations: 0 / 0.9457 GB, free: 221.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/1.265, allocations: 7.312 kB / 0.9457 GB, free: 221.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009336/1.274, allocations: 5.618 MB / 0.9512 GB, free: 219.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.274, allocations: 8.578 kB / 0.9512 GB, free: 219.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.275, allocations: 303.6 kB / 0.9515 GB, free: 219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/1.281, allocations: 1.161 MB / 0.9526 GB, free: 218.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/1.281, allocations: 59.72 kB / 0.9527 GB, free: 218.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/1.283, allocations: 2.046 MB / 0.9547 GB, free: 217 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.283, allocations: 6.406 kB / 0.9547 GB, free: 217 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007178/1.29, allocations: 4.36 MB / 0.959 GB, free: 214.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.292, allocations: 395.2 kB / 0.9593 GB, free: 214.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/1.292, allocations: 46.48 kB / 0.9594 GB, free: 214.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/1.295, allocations: 154.6 kB / 0.9595 GB, free: 214.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/1.295, allocations: 127.4 kB / 0.9597 GB, free: 214.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/1.295, allocations: 109.2 kB / 0.9598 GB, free: 214 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002183/1.297, allocations: 1.527 MB / 0.9613 GB, free: 212.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.62e-07/1.297, allocations: 0 / 0.9613 GB, free: 212.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007145/1.305, allocations: 2.733 MB / 0.9639 GB, free: 210.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01303/1.318, allocations: 7.118 MB / 0.9709 GB, free: 203.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009045/1.327, allocations: 4.978 MB / 0.9757 GB, free: 198.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.327, allocations: 1.281 kB / 0.9757 GB, free: 198.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.329, allocations: 1.332 MB / 0.977 GB, free: 197.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/1.336, allocations: 1.234 MB / 0.9782 GB, free: 196 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/1.363, allocations: 18.04 MB / 0.9959 GB, free: 176.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/1.364, allocations: 1.67 MB / 0.9975 GB, free: 175 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.365, allocations: 0.9483 MB / 0.9984 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/1.365, allocations: 0 / 0.9984 GB, free: 174.1 MB / 0.5886 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"." "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:1233:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe3_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:1251:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe1_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:1269:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe5_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:1287:19: error: member access into incomplete type 'Functions' _functions->ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances_pipe2_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesFMU.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_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesFMU.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 4 errors generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstancesCalcHelperMain.o] Error 1