Modeler (v0.8.4) incorrectedly does not accept binding or assigning literal values to attributes that are specializations of numeric types (attribute defs). The error messages are added in line comments after the statements that raise them. Summary:
attribute def SubReal :> Real;
attribute x2: SubReal := 1.0; // Raises error: ScalarValues::Rational does not conform to TestSpecializationOfNumbers::SubRealsyside(type-error)
More extensive .sysml test file can be provided.