Lionel Messi was emotional as he played what is expected to be his final match with the Argentina national team on home soil.