GetRealtimeSeconds();

You have a typo there :), should be GetWorld()->GetRealTimeSeconds() (upper-case T).