Several test programs in Origin make use of the C library's assert macro, which is problematic because three of CMake's predefined build configurations ("Release", "MinSizeRel", and "RelWithDebInfo") use the compiler flag -DNDEBUG, which causes assert to become a no-op. Unless this is the intended behavior, test programs should use an alternate assert macro/function.
Note: The "Debug" configuration has no such problem, as does building Origin without explicitly specifying a configuration (the default option).