Barcelona observed a minute's silence in training to remember the victims of a terrorist attack in the city.