EfW problems land Spanish firm with multi-million loss