Milorad Cavic of Serbia set a new European record in the semifinals of the men's 50 butterfly on the opening day of the European swimming championships in Eindhoven, with a time of 23.25 seconds.