Duality predictions for the production of heavy quark systems in QCD