diff --git a/test/porousmediumflow/3pwateroil/problem.hh b/test/porousmediumflow/3pwateroil/problem.hh
index de8f2e5c5d41b180eae9259a427f5470d55a742c..e0c85c9a3b1447827e7ae6a1bb7081d880b47ff3 100644
--- a/test/porousmediumflow/3pwateroil/problem.hh
+++ b/test/porousmediumflow/3pwateroil/problem.hh
@@ -88,8 +88,6 @@ public:
     {
         maxDepth_ = 400.0; // [m]
         FluidSystem::init();
-        totalMassProducedOil_ = 0.0;
-        totalMassProducedWater_ = 0.0;
     }
 
     /*!
@@ -210,8 +208,6 @@ public:
             values[contiWEqIdx] = qW;
             values[contiNEqIdx] = qN;
             values[energyEqIdx] = qE;
-            massProducedOil_ = qN;
-            massProducedWater_ = qW;
         }
         return values;
     }
@@ -252,11 +248,6 @@ private:
     static constexpr Scalar eps_ = 1e-6;
     Scalar pIn_;
     Scalar pOut_;
-    Scalar totalMassProducedOil_;
-    Scalar totalMassProducedWater_;
-
-    mutable Scalar massProducedOil_;
-    mutable Scalar massProducedWater_;
 
     std::string name_;
 };