The British teenager, playing in a tour level tournament for the first time, couldn't continue the match at Wimbledon after receiving medical treatment for breathing problems at the start of the second set.
Tomljanovic will face fellow Australian Ash Barty later.