Both can be correct - it depends whether you are talking about one city, a certain number of cities, or cities in general.
Your second example is correct.
Your first example is incorrect, because your plurals need to match, and you didn't use articles.
The population of the city has grown.
The population of this city has grown.