| 1 | | Say you have a file SomePackage/Types/MassFlowRate.mo |
| 2 | | {{{#!mo |
| 3 | | within SomePackage.Types; |
| 4 | | type MassFlowRate = Real ( |
| 5 | | quantity="MassFlowRate", |
| 6 | | final unit="kg/s", |
| 7 | | min=-1.0e6, |
| 8 | | max=1.0e6) "Type for mass flow rate"; |
| 9 | | }}} |
| 10 | | |
| 11 | | It seems that the class MassFlowRate is not loaded. |
| 12 | | Probably some Class(PARTS) match that should handle |
| 13 | | also Class(DERIVED) somewhere. |
| | 1 | When we read package.order encoded in UTF-8 with BOM the first class name is mangled, if is {{{MassFlowRate}}} then the name we read is: {{{MassFlowRate}}} which will make the library un-loadable. |