FR 5545 then OS 405 at Vienna
Agadir → Vienna → Barcelona
Timetable, Vienna time
22:35FR 5545 from Agadir at the gate
17:25OS 405 to Barcelona leaves the gate
18 h 50 apart on the timetable, overnight
OS 405 leaves 18 h 50 after FR 5545 arrives on the timetable: more than half a day, so not a connection we count.