#960 fixed (Undefined type used within annotation for LAPACK function / Inefficiencies) by
dgees:
- Removed the C-code and made one standard external function call.
- A null pointer of a function has to be passed as argument (it is not used in the function).
  This is not defined in Modelica 3.2. Pass instead a "0", and this works in Dymola under Windows.
- The original call had two calls to dgees. The first one computes the optimal size of the 
  work array. Removed this, and use a fixed work array size of 10*N (minimum length is 3*N).
- Since the C-code is removed, also the malloc calls are removed. Instead the allocation
  of the work array is performed in the protected section of the Modelica function and 
  therefore the work array is allocated on the stack (which is much more efficient as malloc,
  and also works on a target system where malloc is not available).

dlange:
- Removed the C-Code and made on standard external function call where the
  return argument is passed as function return.


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@6137 7ce873d0-865f-4ce7-a662-4bb36ea78beb