Had to remove Model array destructor lamda. My linux distro does not support C++11