Towards smart production of smart products