The mesh is not getting the sphere boundary faces defined as a "physical" surface.
But it seems to work if you change your line for Physical Surface("sphere") = ...
// Surface loop for volume definition
Surface Loop(29) = {14, 16, 18, 20, 22, 24, 26, 28};
// Physical Surface("sphere") = {29}; // old version
Physical Surface("sphere") = {14, 16, 18, 20, 22, 24, 26, 28}; // <= try this