Am thinking that's a Stapelia (carrion flower). Odour: most Stapelia are fly-pollinated.
I'd say that the flower colour of our ones was brown.
Kind of fits with where houseflies (at least) lay eggs.
Had them at various times in a greenhouse and in the house.
The odour was just a curiosity and never bothered us.