functionBody=parseExpression(functionDefinitionStructure.at("body"),scope.refine("body of function definition "+functionName),false,parameterNameToVariableMap);
STORM_LOG_WARN_COND(functionBody.getType()==type.expressionType,"Type of body of function "+functionName+"' (scope: "+scope.description+") has type "<<functionBody.getType()<<" although the function type is given as "<<type.expressionType);
STORM_LOG_WARN_COND(functionBody.getType()==type.expressionType||(functionBody.getType().isIntegerType()&&type.expressionType.isRationalType()),"Type of body of function "+functionName+"' (scope: "+scope.description+") has type "<<functionBody.getType()<<" although the function type is given as "<<type.expressionType);