[Temp] Ported sim-utorder to c++, main.c porting adaptation pending