Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.8/bin/esptool.py", line 57, in <module>

import serial.tools.list_ports as list_ports


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/serial/tools/list_ports.py", line 29, in <module>

from serial.tools.list_ports_posix import comports


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/serial/tools/list_ports_posix.py", line 31, in <module>

from serial.tools.list_ports_osx import comports


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/serial/tools/list_ports_osx.py", line 32, in <module>

kIOMasterPortDefault = ctypes.c_void_p.in_dll(iokit, "kIOMasterPortDefault")
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/nisenber/Documents/CODE/pyomo/pyomo/opt/base/solvers.py", line 573, in solve

self._presolve(*args, **kwds)


 "/home/nisenber/Documents/CODE/pyomo/pyomo/opt/solver/shellcmd.py", line 198, in _presolve

OptSolver._presolve(self, *args, **kwds)


 "/home/nisenber/Documents/CODE/pyomo/pyomo/opt/base/solvers.py", line 670, in _presolve

self._convert_problem(args,


 "/home/nisenber/Documents/CODE/pyomo/pyomo/opt/base/solvers.py", line 740, in _convert_problem

return convert_problem(args,


 "/home/nisenber/Documents/CODE/pyomo/pyomo/opt/base/convert.py", line 105, in convert_problem

problem_files, symbol_map = converter.apply(*tmp, **tmpkw)


 "/home/nisenber/Documents/CODE/pyomo/pyomo/solvers/plugins/converter/model.py", line 187, in apply

instance.write(


 "/home/nisenber/Documents/CODE/pyomo/pyomo/core/base/block.py", line 1705, in write

(filename, smap) = problem_writer(self,


 "/home/nisenber/Documents/CODE/pyomo/pyomo/repn/plugins/ampl/ampl_.py", line 370, in __call__

symbol_map = self._print_model_NL(


 "/home/nisenber/Documents/CODE/pyomo/pyomo/repn/plugins/ampl/ampl_.py", line 1591, in _print_model_NL

self._print_nonlinear_terms_NL(


 "/home/nisenber/Documents/CODE/pyomo/pyomo/repn/plugins/ampl/ampl_.py", line 581, in _print_nonlinear_terms_NL

self._print_nonlinear_terms_NL(exp.arg(0))


 "/home/nisenber/Documents/CODE/pyomo/pyomo/repn/plugins/ampl/ampl_.py", line 642, in _print_nonlinear_terms_NL

raise ValueError(
ValueError: Unsupported expression type (<class 'pyomo.core.expr.numeric_expr.LinearExpression'>) in _print_nonlinear_terms_NL
