Same issue with cottages.
I somehow managed to have two cottages and one Legionnaires barracks, two butchers and one goat farm. Afterwards selling any building caused the error. After having built an additional roof tile house, which should have balanced population, the error message doesn't...