A complex fluid machine (100) comprises a compressor device (110) for a refrigerating cycle (20) and an expansion device (120) for Rankine cycle (30) to collect waste heat from an engine (10) and convert into a rotational force, wherein the compressor device (110) and the expansion device (120) are arranged in a fluid machine housing (111, 101c, 121), but those devices (110, 120) are operatively independent from each other. The compressor and expansion devices (110, 120) are formed as scroll type devices, and each of the fixed scroll wraps (112b, 122b) are formed at a common base plate (101) and extend in opposite directions.