Masked demonstrators clashed with police in central Barcelona on Friday as a fifth day of protests over the jailing of separatist leaders turned violent.