In SQL Server 2016, we can use system version tables which will have hidden auto generated columns. When running against, SQL Server 2016 or above, these columns should be excluded. This can be fixed by adding additional WHERE condition to the generated schemaSql.
if SELECT SERVERPROPERTY ('ProductMajorVersion') >= 13, then append "AND c.generated_always_type_desc NOT IN (N'AS_ROW_START',N'AS_ROW_END')"