Part of a sports center collapsed in high winds in the northern Spanish city of Barcelona, killing four children and injuring 16 other people, officials and witnesses said.