The blaze began while the children were in lessons, forcing some to try to escape by jumping from higher floors, a teacher told AFP.