To make way for the Barnes , the city of Philadelphia has promised , by year 's end , to raze a juvenile detention center between the Rodin Museum and a planned Moshe Safdie expansion of the Central Library of the Free Library of Philadelphia .