Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.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) 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(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 198.7 kB / 17.38 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 244.7 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000784/0.000784, allocations: 99.22 kB / 296.7 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002055/0.0002055, allocations: 8 kB / 356.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1734, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.3141/0.4875, allocations: 187.5 MB / 0.5817 GB, free: 6.004 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.4982, allocations: 9.776 MB / 0.5912 GB, free: 2.078 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008966/0.4991, allocations: 26.62 kB / 0.5912 GB, free: 2.062 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5003, allocations: 381 kB / 0.5916 GB, free: 1.805 MB / 394.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:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006914/0.5073, allocations: 2.785 MB / 0.5943 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.5124, allocations: 2.138 MB / 0.5964 GB, free: 14.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002856/0.5153, allocations: 3.143 MB / 0.5995 GB, free: 11.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007575/0.5161, allocations: 0.6541 MB / 0.6001 GB, free: 11.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/0.5208, allocations: 2.523 MB / 0.6026 GB, free: 9.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.5222, allocations: 1.048 MB / 0.6036 GB, free: 8.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.5224, allocations: 60 kB / 0.6037 GB, free: 8.133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009465/0.5319, allocations: 6.412 MB / 0.6099 GB, free: 1.914 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.5325, allocations: 486.7 kB / 0.6104 GB, free: 1.438 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006836/0.5332, allocations: 0.5815 MB / 0.6109 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.5378, allocations: 3.247 MB / 0.6141 GB, free: 13.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5379, allocations: 0 / 0.6141 GB, free: 13.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5379, allocations: 0 / 0.6141 GB, free: 13.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5379, allocations: 3.938 kB / 0.6141 GB, free: 13.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003613/0.5415, allocations: 1.839 MB / 0.6159 GB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5415, allocations: 8.031 kB / 0.6159 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.5417, allocations: 152.5 kB / 0.6161 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.5421, allocations: 126.7 kB / 0.6162 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.543, allocations: 0.6735 MB / 0.6168 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5432, allocations: 137.4 kB / 0.617 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.5433, allocations: 95.83 kB / 0.6171 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.5453, allocations: 1.451 MB / 0.6185 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5453, allocations: 0 / 0.6185 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.5455, allocations: 43.97 kB / 0.6185 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.5455, allocations: 69.97 kB / 0.6186 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.5476, allocations: 1.468 MB / 0.62 GB, free: 7.344 MB / 426.7 MB 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.007505/0.5551, allocations: 6.333 MB / 0.6262 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.5568, allocations: 0.9838 MB / 0.6272 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.5575, allocations: 0.5191 MB / 0.6277 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.5587, allocations: 1.801 MB / 0.6294 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5587, allocations: 43.56 kB / 0.6295 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003662/0.5591, allocations: 107 kB / 0.6296 GB, free: 12.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.5591, allocations: 0 / 0.6296 GB, free: 12.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01544/0.5745, allocations: 4.938 MB / 0.6344 GB, free: 7.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5746, allocations: 115.8 kB / 0.6345 GB, free: 7.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008318/0.5755, allocations: 0.7698 MB / 0.6353 GB, free: 6.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.596e-05/0.5756, allocations: 49.7 kB / 0.6353 GB, free: 6.766 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.5758, allocations: 455.1 kB / 0.6357 GB, free: 6.312 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.5761, allocations: 339.2 kB / 0.6361 GB, free: 5.977 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.5762, allocations: 24 kB / 0.6361 GB, free: 5.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5763, allocations: 406.7 kB / 0.6365 GB, free: 5.547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.5774, allocations: 0.6077 MB / 0.6371 GB, free: 4.941 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.5787, allocations: 0.9537 MB / 0.638 GB, free: 3.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.5812, allocations: 1.65 MB / 0.6396 GB, free: 2.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5812, allocations: 4 kB / 0.6396 GB, free: 2.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003415/0.5846, allocations: 1.914 MB / 0.6415 GB, free: 100 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.5849, allocations: 463 kB / 0.6419 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5849, allocations: 12 kB / 0.6419 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.5864, allocations: 332.5 kB / 0.6423 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/0.5875, allocations: 271.6 kB / 0.6425 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.5889, allocations: 0.9192 MB / 0.6434 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.59, allocations: 107.8 kB / 0.6435 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.5902, allocations: 75.95 kB / 0.6436 GB, free: 13.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.5902, allocations: 4 kB / 0.6436 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003222/0.5934, allocations: 1.804 MB / 0.6454 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5934, allocations: 8 kB / 0.6454 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.595, allocations: 329 kB / 0.6457 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.5959, allocations: 267.5 kB / 0.6459 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.5974, allocations: 0.9231 MB / 0.6468 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.5984, allocations: 107.9 kB / 0.6469 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.5986, allocations: 71.97 kB / 0.647 GB, free: 10.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005829/0.5992, allocations: 416.6 kB / 0.6474 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.5993, allocations: 102.9 kB / 0.6475 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.6028, allocations: 1.975 MB / 0.6494 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6029, allocations: 12 kB / 0.6494 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6029, allocations: 3.938 kB / 0.6495 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6029, allocations: 7.969 kB / 0.6495 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.6076, allocations: 3.11 MB / 0.6525 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/0.6076, allocations: 0 / 0.6525 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.6084, allocations: 184 kB / 0.6527 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.6103, allocations: 388.3 kB / 0.653 GB, free: 3.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.89e-05/0.6104, allocations: 51.84 kB / 0.6531 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.6117, allocations: 0.8919 MB / 0.654 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6117, allocations: 7.969 kB / 0.654 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.6157, allocations: 2.393 MB / 0.6563 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.6163, allocations: 335.7 kB / 0.6566 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.6165, allocations: 24 kB / 0.6566 GB, free: 112 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.6175, allocations: 87.83 kB / 0.6567 GB, free: 24 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.6177, allocations: 72.84 kB / 0.6568 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.6179, allocations: 59.95 kB / 0.6569 GB, free: 15.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006678/0.6185, allocations: 0.5419 MB / 0.6574 GB, free: 15.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6185, allocations: 0 / 0.6574 GB, free: 15.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002855/0.6214, allocations: 1.144 MB / 0.6585 GB, free: 14.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006932/0.6283, allocations: 3.918 MB / 0.6623 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.633, allocations: 2.608 MB / 0.6649 GB, free: 7.602 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.633, allocations: 448 / 0.6649 GB, free: 7.602 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.6344, allocations: 0.7415 MB / 0.6656 GB, free: 6.863 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.6371, allocations: 0.503 MB / 0.6661 GB, free: 6.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6507, allocations: 7.966 MB / 0.6739 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.6514, allocations: 1.119 MB / 0.675 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.652, allocations: 419.3 kB / 0.6754 GB, free: 12.49 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6521, allocations: 0 / 0.6754 GB, free: 12.49 MB / 490.7 MB 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 OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.cpp:17: ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2.h:686:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_TraceSubstances_RoomCO2_pipe_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2.h:704:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Examples_TraceSubstances_RoomCO2_pipe_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2FMU.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 OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2FMU.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 2 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica_Fluid_Examples_TraceSubstances_RoomCO2CalcHelperMain.o] Error 1