AFAIK the "shrink" function is not available via GUI in WS 15.
For ubuntu virtual machine, Run this command and it takes about an hour (with SSD hard disk) and it needs root permission.
vmware-toolbox-cmd disk shrinkonly
for this command, you must first install vmware-tools package.
and it will work and the storage start freeing up during running of that commands.