Abundance–age relations with red clump stars in open clusters