Heavy fermion compound SmOs4Sb12 in vicinity of ferromagnetic critical point