myokit / myokit

Source code, issues, and discussions for Myokit: A tool for cardiac electrophysiology modelling and simulation
http://myokit.org
Other
35 stars 5 forks source link

Get all tests to pass on windows with VS as compiler #187

Closed MichaelClerx closed 6 years ago

MichaelClerx commented 6 years ago

(base) C:\myokit\myokit>python test --unit Running unit tests with executable python WARNING:myokit:Using development version of Myokit. This may contain untested features and bugs. Please see http://myokit.org for the latest stable release. WARNING:myokit:The module myokit.lib.common is deprecated: it will be removed in future versions of Myokit. WARNING:myokit:The module myokit.lib.fit is deprecated: it will be removed in future version of Myokit. Please have a look at Pints (https://github.com/pints-team/pints) instead. test_benchmarker (test_aux.AuxTest) Tests the benchmarker. ... ok test_date (test_aux.AuxTest) Test date formatting method. ... ok test_examplify (test_aux.AuxTest) Test examplify. ... ok test_format_float_dict (test_aux.AuxTest) Tests myokit.format_float_dict. ... ok test_format_path (test_aux.AuxTest) Tests format_path(). ... FAIL test_levenshtein_distance (test_aux.AuxTest) Tests the levenshtein distance method. ... ok test_model_comparison (test_aux.AuxTest) Tests the model comparison class. ... ok test_natural_sort (test_aux.AuxTest) Test natural sort key method. ... ok test_numpy_writer_method (test_aux.AuxTest) Test NumPy expression writer obtaining method. ... ok test_pack_snapshot (test_aux.AuxTest) Tests if the pack_snapshot method runs without exceptions. ... ok test_py_capture (test_aux.AuxTest) Tests the PyCapture method. ... ok test_python_writer (test_aux.AuxTest) Test Python expression writer obtaining method. ... ok test_run (test_aux.AuxTest) Test run() method. ... ok test_step (test_aux.AuxTest) Tests the step() method. ... ok test_strfloat (test_aux.AuxTest) ... ok test_time (test_aux.AuxTest) Test time formatting method. ... ok test_create (test_config.TestConfig) ... ok test_load_read (test_config.TestConfig) ... ok test_short_runtimes (test_cvode_simulation.RuntimeSimulationTest) ... ok test_apd_tracking (test_cvode_simulation.SimulationTest) ... ok test_eval_derivatives (test_cvode_simulation.SimulationTest) ... ok test_fixed_form_protocol (test_cvode_simulation.SimulationTest) ... ok test_in_parts (test_cvode_simulation.SimulationTest) ... ok test_last_evaluations_and_steps (test_cvode_simulation.SimulationTest) ... ok test_last_state (test_cvode_simulation.SimulationTest) ... [CVODE ERROR] CVode At t = 0 and h = 1.06691e-011, the corrector convergence test failed repeatedly or with |h| = hmin.

ok test_no_protocol (test_cvode_simulation.SimulationTest) ... ok test_pre (test_cvode_simulation.SimulationTest) ... ok test_progress_reporter (test_cvode_simulation.SimulationTest) ... ok test_set_constant (test_cvode_simulation.SimulationTest) ... ok test_set_state (test_cvode_simulation.SimulationTest) ... ok test_set_step_size (test_cvode_simulation.SimulationTest) ... ok test_set_tolerance (test_cvode_simulation.SimulationTest) ... ok test_simple (test_cvode_simulation.SimulationTest) ... ok test_simulation_error (test_cvode_simulation.SimulationTest) ... [CVODE ERROR] CVode At t = 1.02507 and h = 7.53289e-015, the corrector convergence test failed repeatedly or with |h| = hmin.

are such that t + h = t on the next step. The solver will continue anyway.

[CVODE WARNING] CVode Internal t = 4001 and h = 5.64084e-014 are such that t + h = t on the next step. The solver will continue anyway.

[CVODE WARNING] CVode Internal t = 4001 and h = 5.01316e-014 are such that t + h = t on the next step. The solver will continue anyway.

[CVODE WARNING] CVode Internal t = 4001 and h = 5.01316e-014 are such that t + h = t on the next step. The solver will continue anyway.

[CVODE WARNING] CVode Internal t = 4001 and h = 5.01316e-014 are such that t + h = t on the next step. The solver will continue anyway.

[CVODE WARNING] CVode The above warning has been issued mxhnil times and will not be issued again for this problem.

[CVODE ERROR] CVode At t = 4001 and h = 4.13094e-010, the error test failed repeatedly or with |h| = hmin.

ok test_exists (test_datablock.ColorMapTest) ... ok test_get (test_datablock.ColorMapTest) ... ok test_image (test_datablock.ColorMapTest) ... ok test_names (test_datablock.ColorMapTest) ... ok test_bad_constructor (test_datablock.DataBlock1dTest) ... ok test_block2d (test_datablock.DataBlock1dTest) ... ok test_combined (test_datablock.DataBlock1dTest) ... ok test_cv (test_datablock.DataBlock1dTest) ... ok test_from_data_log (test_datablock.DataBlock1dTest) ... ok test_grids (test_datablock.DataBlock1dTest) ... ok test_keys (test_datablock.DataBlock1dTest) ... ok test_load_bad_file (test_datablock.DataBlock1dTest) ... ok test_set0d (test_datablock.DataBlock1dTest) ... ok test_set1d (test_datablock.DataBlock1dTest) ... ok test_trace (test_datablock.DataBlock1dTest) ... ok test_bad_constructor (test_datablock.DataBlock2dTest) ... ok test_colors (test_datablock.DataBlock2dTest) ... ok test_combine (test_datablock.DataBlock2dTest) ... ok test_combined (test_datablock.DataBlock2dTest) ... ok test_dominant_eigenvalues (test_datablock.DataBlock2dTest) ... ok test_eigenvalues (test_datablock.DataBlock2dTest) ... ok test_from_data_log (test_datablock.DataBlock2dTest) ... ok test_images (test_datablock.DataBlock2dTest) ... ok test_is_square (test_datablock.DataBlock2dTest) ... ok test_keys_and_items (test_datablock.DataBlock2dTest) ... ok test_largest_eigenvalues (test_datablock.DataBlock2dTest) ... ok test_load_bad_file (test_datablock.DataBlock2dTest) ... ok test_save_frame_csv (test_datablock.DataBlock2dTest) ... ok test_save_frame_grid (test_datablock.DataBlock2dTest) ... ok test_set0d (test_datablock.DataBlock2dTest) ... ok test_set2d (test_datablock.DataBlock2dTest) ... ok test_trace (test_datablock.DataBlock2dTest) ... ok test_apd (test_datalog.DataLogTest) ... ok test_clone (test_datalog.DataLogTest) ... ok test_extend (test_datalog.DataLogTest) ... ok test_find_time (test_datalog.DataLogTest) ... ok test_fold (test_datalog.DataLogTest) ... ok test_has_nan (test_datalog.DataLogTest) ... ok test_indexing (test_datalog.DataLogTest) ... ok test_integrate (test_datalog.DataLogTest) ... ok test_itrim (test_datalog.DataLogTest) ... ok test_itrim_left (test_datalog.DataLogTest) ... ok test_itrim_right (test_datalog.DataLogTest) ... ok test_keys_like (test_datalog.DataLogTest) ... ok test_length (test_datalog.DataLogTest) ... ok test_load_csv_errors (test_datalog.DataLogTest) ... ok test_load_errors (test_datalog.DataLogTest) ... ok test_load_with_progress (test_datalog.DataLogTest) ... ok test_prepare_log_0d (test_datalog.DataLogTest) ... ok test_prepare_log_2d (test_datalog.DataLogTest) ... ok test_regularize (test_datalog.DataLogTest) ... ok test_save (test_datalog.DataLogTest) ... ok test_save_csv (test_datalog.DataLogTest) ... FAIL test_split (test_datalog.DataLogTest) ... ok test_split_periodic (test_datalog.DataLogTest) ... ok test_time (test_datalog.DataLogTest) ... ok test_trim (test_datalog.DataLogTest) ... ok test_trim_left (test_datalog.DataLogTest) ... ok test_trim_right (test_datalog.DataLogTest) ... ok test_validate (test_datalog.DataLogTest) ... ok test_variable_info (test_datalog.DataLogTest) ... ok test_variable_info_errors (test_datalog.DataLogTest) ... ok test_references (test_dependency_checking.BasicReferenceTest) ... ok test_component_cycles (test_dependency_checking.ComponentDepTest) ... ok test_map_component_dependencies (test_dependency_checking.ComponentDepTest) ... ok test_map_component_io (test_dependency_checking.ComponentDepTest) ... ok test_deep (test_dependency_checking.DeepDepTest) ... ok test_deep_colnesting (test_dependency_checking.DeepDepTest) ... ok test_deep_cyles (test_dependency_checking.DeepDepTest) ... ok test_deep_encompassed (test_dependency_checking.DeepDepTest) ... ok test_deep_no_states (test_dependency_checking.DeepDepTest) ... ok test_shallow (test_dependency_checking.ShallowDepTest) ... ok test_has_interdependent_components (test_dependency_checking.SolvableOrderTest) ... ok test_solvable_order (test_dependency_checking.SolvableOrderTest) ... ok test_solvable_subset (test_dependency_checking.SolvableOrderTest) ... ok test_eval (test_expressions.ACosTest) Tests ACos.eval(). ... ok test_tree_str (test_expressions.ACosTest) Tests ACos.tree_str(). ... ok test_eval (test_expressions.ASinTest) Tests ASin.eval(). ... ok test_tree_str (test_expressions.ASinTest) Tests ASin.tree_str(). ... ok test_eval (test_expressions.ATanTest) Tests ATan.eval(). ... ok test_tree_str (test_expressions.ATanTest) Tests ATan.tree_str(). ... ok test_eval (test_expressions.AbsTest) Tests Abs.eval(). ... ok test_eval_unit (test_expressions.AbsTest) ... ok test_tree_str (test_expressions.AbsTest) Tests Abs.tree_str(). ... ok test_eval (test_expressions.AndTest) Tests And.eval(). ... ok test_eval_unit (test_expressions.AndTest) ... ok test_tree_str (test_expressions.AndTest) Tests And.tree_str(). ... ok test_eval (test_expressions.CeilTest) Tests Ceil.eval(). ... ok test_eval_unit (test_expressions.CeilTest) ... ok test_tree_str (test_expressions.CeilTest) Tests Ceil.tree_str(). ... ok test_eval (test_expressions.CosTest) Tests Cos.eval(). ... ok test_tree_str (test_expressions.CosTest) Tests Cos.tree_str(). ... ok test_basic (test_expressions.DerivativeTest) ... ok test_bracket (test_expressions.DerivativeTest) Tests Derivative.bracket() ... ok test_clone (test_expressions.DerivativeTest) Tests Derivative.clone(). ... ok test_eval_unit (test_expressions.DerivativeTest) Tests Derivative.eval_unit() ... ok test_rhs (test_expressions.DerivativeTest) Tests Derivative.rhs() ... ok test_tree_str (test_expressions.DerivativeTest) Tests Derivative.tree_str() ... ok test_eval (test_expressions.DivideTest) ... ok test_eval_unit (test_expressions.DivideTest) Tests Divide.eval_unit(). ... ok test_tree_str (test_expressions.DivideTest) Tests Divide.tree_str(). ... ok test_eval (test_expressions.EqualTest) Tests Equal.eval(). ... ok test_eval_unit (test_expressions.EqualTest) ... ok test_tree_str (test_expressions.EqualTest) Tests Equal.tree_str(). ... ok test_bracket (test_expressions.ExpTest) Tests Exp.bracket(). ... ok test_clone (test_expressions.ExpTest) Tests Exp.clone(). ... ok test_creation (test_expressions.ExpTest) Tests Exp creation. ... ok test_eval (test_expressions.ExpTest) Tests Exp.eval(). ... ok test_eval_unit (test_expressions.ExpTest) Tests Exp.eval_unit(). ... ok test_tree_str (test_expressions.ExpTest) Tests Exp.tree_str(). ... ok test_contains_type (test_expressions.ExpressionTest) ... ok test_eval (test_expressions.ExpressionTest) ... ok test_eval_unit_error (test_expressions.ExpressionTest) ... ok test_float_conversion (test_expressions.ExpressionTest) ... ok test_int_conversion (test_expressions.ExpressionTest) ... ok test_is_conditional (test_expressions.ExpressionTest) ... ok test_pyfunc (test_expressions.ExpressionTest) ... ok test_pystr (test_expressions.ExpressionTest) ... ok test_tree_str (test_expressions.ExpressionTest) ... ok test_validation (test_expressions.ExpressionTest) ... ok test_walk (test_expressions.ExpressionTest) ... ok test_eval (test_expressions.FloorTest) Tests Floor.eval(). ... ok test_eval_unit (test_expressions.FloorTest) ... ok test_tree_str (test_expressions.FloorTest) Tests Floor.tree_str(). ... ok test_creation (test_expressions.IfTest) ... ok test_eval (test_expressions.IfTest) Tests If.eval(). ... ok test_eval_unit (test_expressions.IfTest) Tests If.eval_unit(). ... ok test_piecewise_conversion (test_expressions.IfTest) Tests If.piecewise(). ... ok test_value (test_expressions.IfTest) Tests If.value(). ... ok test_eval (test_expressions.LessEqualTest) Tests LessEqual.eval(). ... ok test_tree_str (test_expressions.LessEqualTest) Tests LessEqual.tree_str(). ... ok test_eval (test_expressions.LessTest) Tests Less.eval(). ... ok test_tree_str (test_expressions.LessTest) Tests Less.tree_str(). ... ok test_eval (test_expressions.Log10Test) Tests Log10.eval(). ... ok test_tree_str (test_expressions.Log10Test) Tests Log10.tree_str(). ... ok test_bracket (test_expressions.LogTest) Tests Log.bracket(). ... ok test_clone (test_expressions.LogTest) Tests Log.clone(). ... ok test_creation (test_expressions.LogTest) Tests Log creation. ... ok test_eval (test_expressions.LogTest) Tests Exp.eval(). ... ok test_eval_unit (test_expressions.LogTest) Tests Log.eval_unit(). ... ok test_tree_str (test_expressions.LogTest) Tests Log.tree_str(). ... ok test_eval (test_expressions.MinusTest) ... ok test_eval_unit (test_expressions.MinusTest) Tests Minus.eval_unit(). ... ok test_tree_str (test_expressions.MinusTest) Tests Minus.tree_str(). ... ok test_eval (test_expressions.MoreEqualTest) Tests MoreEqual.eval(). ... ok test_tree_str (test_expressions.MoreEqualTest) Tests MoreEqual.tree_str(). ... ok test_eval (test_expressions.MoreTest) Tests More.eval(). ... ok test_tree_str (test_expressions.MoreTest) Tests More.tree_str(). ... ok test_eval (test_expressions.MultiplyTest) ... ok test_eval_unit (test_expressions.MultiplyTest) Tests Multiply.eval_unit(). ... ok test_tree_str (test_expressions.MultiplyTest) Tests Multiply.tree_str(). ... ok test_basics (test_expressions.NameTest) ... ok test_bracket (test_expressions.NameTest) Tests Name.bracket(). ... ok test_clone (test_expressions.NameTest) Tests Name.clone(). ... ok test_eval_unit (test_expressions.NameTest) ... ok test_rhs (test_expressions.NameTest) ... ok test_tree_str (test_expressions.NameTest) Tests Name.tree_str() ... ok test_eval (test_expressions.NotEqualTest) Tests NotEqual.eval(). ... ok test_tree_str (test_expressions.NotEqualTest) Tests NotEqual.tree_str(). ... ok test_code (test_expressions.NotTest) Tests Not.code(). ... ok test_eval (test_expressions.NotTest) Tests Not.eval(). ... ok test_eval_unit (test_expressions.NotTest) ... ok test_polish (test_expressions.NotTest) Tests Not._polish(). ... ok test_basic (test_expressions.NumberTest) ... ok test_bracket (test_expressions.NumberTest) Tests Number.bracket(). ... ok test_clone (test_expressions.NumberTest) Tests Number.clone(). ... ok test_eval (test_expressions.NumberTest) ... ok test_eval_unit (test_expressions.NumberTest) ... ok test_tree_str (test_expressions.NumberTest) Tests Number.tree_str() ... ok test_eval (test_expressions.OrTest) Tests Or.eval(). ... ok test_eval_unit (test_expressions.OrTest) ... ok test_tree_str (test_expressions.OrTest) Tests Or.tree_str(). ... ok test_creation (test_expressions.PiecewiseTest) ... ok test_eval (test_expressions.PiecewiseTest) Tests Piecewise.eval(). ... ok test_eval_unit (test_expressions.PiecewiseTest) Tests Piecewise.eval_unit(). ... ok test_bracket (test_expressions.PlusTest) Tests Plus.bracket(). ... ok test_clone (test_expressions.PlusTest) Tests Plus.clone(). ... ok test_eval (test_expressions.PlusTest) ... ok test_eval_unit (test_expressions.PlusTest) Tests Plus.eval_unit(). ... ok test_tree_str (test_expressions.PlusTest) Tests Plus.tree_str(). ... ok test_bracket (test_expressions.PowerTest) Tests Power.bracket(). ... ok test_clone (test_expressions.PowerTest) Tests Power.clone(). ... ok test_eval (test_expressions.PowerTest) ... ok test_eval_unit (test_expressions.PowerTest) Tests Power.eval_unit(). ... ok test_tree_str (test_expressions.PowerTest) Tests Power.tree_str(). ... ok test_bracket (test_expressions.PrefixMinusTest) Tests PrefixMinus.bracket(). ... ok test_clone (test_expressions.PrefixMinusTest) Tests PrefixMinus.clone(). ... ok test_eval (test_expressions.PrefixMinusTest) ... ok test_eval_unit (test_expressions.PrefixMinusTest) ... ok test_tree_str (test_expressions.PrefixMinusTest) Tests PrefixMinus.tree_str() ... ok test_bracket (test_expressions.PrefixPlusTest) Tests PrefixPlus.bracket(). ... ok test_clone (test_expressions.PrefixPlusTest) Tests PrefixPlus.clone(). ... ok test_eval (test_expressions.PrefixPlusTest) ... ok test_eval_unit (test_expressions.PrefixPlusTest) ... ok test_tree_str (test_expressions.PrefixPlusTest) Tests PrefixPlus.tree_str() ... ok test_eval (test_expressions.QuotientTest) ... ok test_eval_unit (test_expressions.QuotientTest) Tests Quotient.eval_unit(). ... ok test_tree_str (test_expressions.QuotientTest) Tests Quotient.tree_str(). ... ok test_eval (test_expressions.RemainderTest) ... ok test_eval_unit (test_expressions.RemainderTest) Tests Remainder.eval_unit(). ... ok test_tree_str (test_expressions.RemainderTest) Tests Remainder.tree_str(). ... ok test_eval (test_expressions.SinTest) Tests Sin.eval(). ... ok test_tree_str (test_expressions.SinTest) Tests Sin.tree_str(). ... ok test_bracket (test_expressions.SqrtTest) Tests Sqrt.bracket(). ... ok test_clone (test_expressions.SqrtTest) Tests Sqrt.clone(). ... ok test_creation (test_expressions.SqrtTest) Tests Sqrt creation. ... ok test_eval (test_expressions.SqrtTest) ... ok test_eval_unit (test_expressions.SqrtTest) Tests Sqrt.eval_unit(). ... ok test_tree_str (test_expressions.SqrtTest) Tests Sqrt.tree_str(). ... ok test_eval (test_expressions.TanTest) Tests Tan.eval(). ... ok test_tree_str (test_expressions.TanTest) Tests Tan.tree_str(). ... ok test_validation (test_expressions.UnsupportedFunctionTest) Tests UnsupportedFunction.validate(). ... ok test_writable_dir (test_formats.ExporterTest) ... ok test_text_logger (test_formats.FormatsTest) ... ok test_matplotlib_figure (test_formats_axon.AbfTest) Tests figure drawing method (doesn't inspect output). ... C:\myokit\anaconda2\lib\site-packages\matplotlib\cbook\deprecation.py:107: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new instance will always be created and returned. Meanwhile, this warning can be suppressed, and the future behavior ensured, by passing a unique label to each axes instance. warnings.warn(message, mplDeprecation, stacklevel=1) ok test_read_protocol_v1 (test_formats_axon.AbfTest) ... ok test_read_v1 (test_formats_axon.AbfTest) ... ok test_read_v2 (test_formats_axon.AbfTest) ... ok test_accessors (test_formats_axon.AtfTest) Tests various accessor methods of :class:AtfFile. ... ok test_write_read (test_formats_axon.AtfTest) ... ok test_component_name_clashes (test_formats_cellml.CellMLExporterTest) ... ok test_nested_variables (test_formats_cellml.CellMLExporterTest) ... ok test_stimulus_generation (test_formats_cellml.CellMLExporterTest) ... ok test_unit_export (test_formats_cellml.CellMLExporterTest) ... ok test_all (test_formats_cellml.CellMLExpressionWriterTest) ... ok test_capability_reporting (test_formats_cellml.CellMLImporterTest) Tests if the right capabilities are reported. ... ok test_connection_errors (test_formats_cellml.CellMLImporterTest) ... ok test_equation_errors (test_formats_cellml.CellMLImporterTest) ... ok test_factorial (test_formats_cellml.CellMLImporterTest) ... ok test_group_errors (test_formats_cellml.CellMLImporterTest) ... ok test_import (test_formats_cellml.CellMLImporterTest) ... ok test_info (test_formats_cellml.CellMLImporterTest) ... ok test_model_dot (test_formats_cellml.CellMLImporterTest) ... ok test_model_nesting (test_formats_cellml.CellMLImporterTest) ... ok test_model_simple (test_formats_cellml.CellMLImporterTest) ... ok test_name_errors (test_formats_cellml.CellMLImporterTest) ... ok test_reaction (test_formats_cellml.CellMLImporterTest) ... ok test_unit_errors (test_formats_cellml.CellMLImporterTest) ... ok test_c_style_if (test_formats_channelml.ChannelMLTest) Tests parsing of a c-style cond?then:else expression. ... ok test_capability_reporting (test_formats_channelml.ChannelMLTest) Tests if the right capabilities are reported. ... ok test_component (test_formats_channelml.ChannelMLTest) Tests :meth:ChannelMLImporter.component(). ... ok test_error_handling (test_formats_channelml.ChannelMLTest) ... ok test_info (test_formats_channelml.ChannelMLTest) Tests :meth:ChannelMLImporter.info(). ... ok test_model (test_formats_channelml.ChannelMLTest) Tests :meth:ChannelMLImporter.model(). ... ok test_ansic_cable_exporter (test_formats_exporters.ExportTest) ... ok test_ansic_euler_exporter (test_formats_exporters.ExportTest) ... ok test_ansic_exporter (test_formats_exporters.ExportTest) ... ok test_cellml_exporter (test_formats_exporters.ExportTest) ... ok test_completeness (test_formats_exporters.ExportTest) ... ok test_cuda_kernel_exporter (test_formats_exporters.ExportTest) ... ok test_html_exporter (test_formats_exporters.ExportTest) ... ok test_latex_article_exporter (test_formats_exporters.ExportTest) ... ok test_latex_poster_exporter (test_formats_exporters.ExportTest) ... ok test_matlab_exporter (test_formats_exporters.ExportTest) ... ok test_opencl_exporter (test_formats_exporters.ExportTest) ... ok test_python_exporter (test_formats_exporters.ExportTest) ... ok test_runnable_exporter_shared (test_formats_exporters.ExportTest) ... ok test_stan_exporter (test_formats_exporters.ExportTest) ... ok test_unknown_exporter (test_formats_exporters.ExportTest) ... ok test_xml_exporter (test_formats_exporters.ExportTest) ... ok test_all (test_formats_expression_writers.AnsicExpressionWriterTest) ... ok test_all (test_formats_expression_writers.CppExpressionWriterTest) ... ok test_all (test_formats_expression_writers.CudaExpressionWriterTest) ... ok test_ewriter_interface (test_formats_expression_writers.ExpressionWriterTest) Tests listing and creating expression writers. ... ok test_unknown (test_formats_expression_writers.ExpressionWriterTest) Tests requesting an unknown expression writer. ... ok test_all (test_formats_expression_writers.LatexExpressionWriterTest) ... ok test_all (test_formats_expression_writers.MatlabExpressionWriterTest) ... ok test_all (test_formats_expression_writers.NumpyExpressionWriterTest) ... ok test_all (test_formats_expression_writers.OpenCLExpressionWriterTest) ... ok test_all (test_formats_expression_writers.PythonExpressionWriterTest) ... ok test_all (test_formats_expression_writers.StanExpressionWriterTest) ... ok test_capability_reporting (test_formats_importers.AxonTest) Tests if the right capabilities are reported. ... ok test_info (test_formats_importers.AxonTest) ... ok test_protocol (test_formats_importers.AxonTest) ... ok test_importer_interface (test_formats_importers.ImporterTest) Tests listing and creating importers. ... ok test_unknown (test_formats_importers.ImporterTest) Tests requesting an unknown importer. ... ok test_capability_reporting (test_formats_importers.SBMLTest) Tests if the right capabilities are reported. ... ok test_info (test_formats_importers.SBMLTest) ... ok test_model (test_formats_importers.SBMLTest) ... ok test_content (test_formats_mathml.ContentMathMLTest) Test writing and reading of content MathML. ... ok test_parse_mathml (test_formats_mathml.ContentMathMLTest) ... ok test_parse_mathml_number (test_formats_mathml.ContentMathMLTest) Test parsing of various MathML number types. ... ok test_parsing_bad_mathml (test_formats_mathml.ContentMathMLTest) ... ok test_parsing_constants (test_formats_mathml.ContentMathMLTest) Tests parsing of MathML special constants. ... ok test_parsing_derivatives (test_formats_mathml.ContentMathMLTest) Tests parsing of derivatives with degree elements. ... ok test_parsing_extra_trig (test_formats_mathml.ContentMathMLTest) Tests parsing of the annoying trig functions. ... ok test_parsing_roots (test_formats_mathml.ContentMathMLTest) Tests parsing of roots other than square root. ... ok test_writer (test_formats_mathml.ContentMathMLTest) Tests special cases for the expression writer. ... ok test_presentation (test_formats_mathml.PresentationMathMLTest) ... ok test_access_via_myokit_formats (test_formats_sympy.SymPyReadWriteTest) ... ok test_all (test_formats_sympy.SymPyReadWriteTest) ... ok test_data_file (test_formats_wcp.WcpTest) ... ok test_data_log_conversion (test_formats_wcp.WcpTest) ... ok test_plot_method (test_formats_wcp.WcpTest) ... ok test_basic (test_ic_simulation.ICSimulationTest) Tests basic usage. ... ERROR test_invalid_model (test_ic_simulation.ICSimulationTest) Tests running with an invalid model. ... ok test_progress_reporter (test_ic_simulation.ICSimulationTest) Test running with a progress reporter. ... ERROR test_simple (test_jacobian_calculator.JacobianCalculatorTest) ... ERROR test_simple (test_jacobian_tracer.JacobianTracerTest) ... ERROR test_activation (test_lib_common.CommonTest) ... ok test_inactivation (test_lib_common.CommonTest) ... ok test_recovery (test_lib_common.CommonTest) ... ok test_restitution (test_lib_common.CommonTest) ... ok test_strength_duration (test_lib_common.CommonTest) ... ok test_basic (test_lib_deps.DiGraphTest) Tests basic DiGraph functions. ... ok test_component_dependency_graph (test_lib_deps.LibDepsTest) ... ok test_state_dependency_matrix (test_lib_deps.LibDepsTest) ... ok test_variable_dependency_graph (test_lib_deps.LibDepsTest) ... ok test_evaluators (test_lib_fit.EvaluatorTest) ... ERROR test_parallel_evaluator (test_lib_fit.EvaluatorTest) ... ERROR test_worker (test_lib_fit.EvaluatorTest) ... WARNING:myokit:Using development version of Myokit. This may contain untested features and bugs. Please see http://myokit.org for the latest stable release. WARNING:myokit:Using development version of Myokit. This may contain untested features and bugs. Please see http://myokit.org for the latest stable release. ok test_cmaes (test_lib_fit.FittingTest) ... ok test_pso (test_lib_fit.FittingTest) ... ok test_snes (test_lib_fit.FittingTest) ... ok test_xnes (test_lib_fit.FittingTest) ... ok test_analytical_simulation_properties (test_lib_markov.AnalyticalSimulationTest) ... ok test_create_and_run (test_lib_markov.AnalyticalSimulationTest) Test basics ... WARNING:myokit:The module myokit.lib.fit is deprecated: it will be removed in future version of Myokit. Please have a look at Pints (https://github.com/pints-team/pints) instead. Traceback (most recent call last): File "", line 1, in File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 381, in main self = load(from_parent) File "C:\myokit\anaconda2\lib\pickle.py", line 1384, in load return Unpickler(file).load() File "C:\myokit\anaconda2\lib\pickle.py", line 864, in load dispatchkey File "C:\myokit\anaconda2\lib\pickle.py", line 886, in load_eof raise EOFError EOFError WARNING:myokit:The module myokit.lib.fit is deprecated: it will be removed in future version of Myokit. Please have a look at Pints (https://github.com/pints-team/pints) instead. Traceback (most recent call last): File "", line 1, in File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 381, in main self = load(from_parent) File "C:\myokit\anaconda2\lib\pickle.py", line 1384, in load return Unpickler(file).load() File "C:\myokit\anaconda2\lib\pickle.py", line 864, in load dispatchkey File "C:\myokit\anaconda2\lib\pickle.py", line 886, in load_eof raise EOFError EOFError ok test_basics (test_lib_markov.DiscreteSimulationTest) Tests the DiscreteSimulation class, running, resetting etc.. ... ok test_discrete_simulation_properties (test_lib_markov.DiscreteSimulationTest) ... ok test_automatic_creation (test_lib_markov.LinearModelTest) Create a linear model from a component. ... ok test_linear_model_matrices (test_lib_markov.LinearModelTest) ... ok test_linear_model_steady_state (test_lib_markov.LinearModelTest) Tests the method LinearModel.steady_state(). ... ok test_manual_creation (test_lib_markov.LinearModelTest) Manually create a linear model ... ok test_rates (test_lib_markov.LinearModelTest) Create a linear model from a component. ... ok test_binding (test_lib_multi.LibMultiTest) ... ok test_iterdir (test_lib_multi.LibMultiTest) ... ok test_label (test_lib_multi.LibMultiTest) ... ok test_scandir (test_lib_multi.LibMultiTest) ... ok test_time (test_lib_multi.LibMultiTest) ... ok test_unit (test_lib_multi.LibMultiTest) ... ok test_cumulative_current (test_lib_plots.LibPlotTest) ... ok test_current_arrows (test_lib_plots.LibPlotTest) ... ok test_simulation_times (test_lib_plots.LibPlotTest) ... ok test_load_partial (test_loadsave.LoadSaveTest) Test loading of partial files. ... ok test_load_save_state (test_loadsave.LoadSaveTest) Test loading/saving state. ... ok test_load_save_state_bin (test_loadsave.LoadSaveTest) Test loading/saving state in binary format. ... ok test_multiline_string_indent (test_loadsave.LoadSaveTest) ... ok test_save (test_loadsave.LoadSaveTest) ... ok test_save_model (test_loadsave.LoadSaveTest) ... ok test_save_protocol (test_loadsave.LoadSaveTest) ... ok test_save_script (test_loadsave.LoadSaveTest) ... ok test_basic (test_meta.MetaTest) ... ok test_parser (test_meta.MetaTest) ... ok test_add_alias_errors (test_model_api.ComponentTest) Tests error handling in :meth:Component.add_alias(). ... ok test_alias_methods (test_model_api.ComponentTest) Tests various methods to do with aliases. ... ok test_code (test_model_api.EquationTest) Tests :meth:Equation.code(). ... ok test_creation (test_model_api.EquationTest) Tests creation of equations. ... ok test_eq (test_model_api.EquationTest) Tests equality checking. ... ok test_hash (test_model_api.EquationTest) Tests that equations can be hashed. ... ok test_iter (test_model_api.EquationTest) Tests iteration over an equation. ... ok test_invalid_names (test_model_api.ModelBuildTest) ... ok test_model_creation (test_model_api.ModelBuildTest) ... ok test_resolve (test_model_api.ModelBuildTest) ... ok test_scope (test_model_api.ModelBuildTest) ... ok test_unused_and_cycles (test_model_api.ModelBuildTest) ... ok test_add_component_allow_renamining (test_model_api.ModelTest) ... ok test_add_function (test_model_api.ModelTest) ... ok test_bindings (test_model_api.ModelTest) ... ok test_check_units (test_model_api.ModelTest) ... ok test_code (test_model_api.ModelTest) Tests :meth:Model.code(). ... ok test_expressions_for (test_model_api.ModelTest) Tests Model.expressions_for(). ... ok test_format_state (test_model_api.ModelTest) Tests Model.format_state() ... ok test_format_state_derivatives (test_model_api.ModelTest) ... ok test_item_at_text_position (test_model_api.ModelTest) ... ok test_labels (test_model_api.ModelTest) ... ok test_load_save_state (test_model_api.ModelTest) ... ok test_map_to_state (test_model_api.ModelTest) ... ok test_model_eval_state_derivatives (test_model_api.ModelTest) Test Model.eval_state_derivatives(). ... ok test_model_get (test_model_api.ModelTest) ... ok test_name (test_model_api.ModelTest) ... ok test_no_rhs_error (test_model_api.ModelTest) ... ok test_no_time_variable (test_model_api.ModelTest) ... ok test_remove_component (test_model_api.ModelTest) ... ok test_remove_with_alias (test_model_api.ModelTest) ... ok test_reorder_state (test_model_api.ModelTest) ... ok test_resolve_interdependent_components (test_model_api.ModelTest) ... WARNING:myokit._model_api:The method merge_interdependent_components is deprecated. Please use resolve_interdependent_components instead. ok test_show_evaluation_of (test_model_api.ModelTest) ... ok test_show_expressions_for (test_model_api.ModelTest) ... ok test_show_line_of (test_model_api.ModelTest) ... WARNING:myokit._model_api:The method show_line is deprecated and will be removed in future versions of Myokit. Please use show_line_of instead. ok test_suggest (test_model_api.ModelTest) ... ok test_unique_names (test_model_api.ModelTest) Tests Model.create_unique_names. ... ok test_validate_and_remove_unused_variables (test_model_api.ModelTest) ... ok test_value (test_model_api.ModelTest) ... ok test_warnings (test_model_api.ModelTest) ... ok test_user_function (test_model_api.UserFunctionTest) Tests :class:UserFunction creation and methods. ... ok test_add_variable_allow_renaming (test_model_api.VarOwnerTest) ... ok test_move_variable (test_model_api.VarOwnerTest) ... ok test_remove_variable (test_model_api.VarOwnerTest) ... ok test_varowner_get (test_model_api.VarOwnerTest) ... ok test_is_referenced (test_model_api.VariableTest) Tests :meth:Variable.is_referenced(). ... ok test_labelling (test_model_api.VariableTest) ... ok test_promote_demote (test_model_api.VariableTest) ... ok test_pyfunc (test_model_api.VariableTest) Tests :meth:Variable.pyfunc(). ... ok test_refs_by_and_to (test_model_api.VariableTest) Tests :meth:Variable.is_referenced(). ... ok test_rename (test_model_api.VariableTest) Tests :meth:Variable.rename(). ... ok test_set_state_value (test_model_api.VariableTest) Tests :meth:Variable.set_state_value(). ... ok test_set_unit (test_model_api.VariableTest) Tests :meth:Variable.set_unit(). ... ok test_unit (test_model_api.VariableTest) Tests :meth:Variable.unit(). ... ok test_validate (test_model_api.VariableTest) Tests some edge cases for validation. ... ok test_value (test_model_api.VariableTest) Tests :meth:Variable.value(). ... ok test_asciify (test_mxml.AsciifierTest) ... ok test_write_mathml (test_mxml.AsciifierTest) ... ok test_blocktrain (test_pacing_factory.PacingFactoryTest) ... ok test_bpm2bcl (test_pacing_factory.PacingFactoryTest) ... ok test_constant (test_pacing_factory.PacingFactoryTest) ... ok test_steptrain (test_pacing_factory.PacingFactoryTest) ... ok test_steptrain_bad_values (test_pacing_factory.PacingFactoryTest) ... ok test_steptrain_linear (test_pacing_factory.PacingFactoryTest) ... ok test_steptrain_linear_bad_values (test_pacing_factory.PacingFactoryTest) ... ok test_advanced_units (test_parsing.ModelParseTest) ... ok test_aliases (test_parsing.ModelParseTest) ... ok test_clone_code_parse (test_parsing.ModelParseTest) ... ok test_cyclical_reference_error (test_parsing.ModelParseTest) ... ok test_initial_values (test_parsing.ModelParseTest) ... ok test_invalid_dot_in_rhs (test_parsing.ModelParseTest) ... ok test_model_creation (test_parsing.ModelParseTest) ... ok test_piecewise (test_parsing.ModelParseTest) ... ok test_strip_expression_units (test_parsing.ModelParseTest) ... ok test_unresolved_reference_error (test_parsing.ModelParseTest) ... ok test_unresolved_references (test_parsing.ModelParseTest) ... ok test_block_comments (test_parsing.PhasedParseTest) Test block comments in model. ... ok test_parse_alias (test_parsing.PhasedParseTest) Tests :meth:parse_alias(). ... ok test_parse_component (test_parsing.PhasedParseTest) ... ok test_parse_expression (test_parsing.PhasedParseTest) ... ok test_parse_model (test_parsing.PhasedParseTest) ... ok test_parse_model_from_stream_error (test_parsing.PhasedParseTest) Quick error testing for :meth:parse_model_from_stream. ... ok test_parse_protocol (test_parsing.PhasedParseTest) Tests :meth:parse_protocol(). ... ok test_parse_script (test_parsing.PhasedParseTest) Tests :meth:parse_script(). ... ok test_parse_state (test_parsing.PhasedParseTest) ... ok test_parse_unit (test_parsing.PhasedParseTest) Tests :meth:parse_unit and :meth:parse_unit_string. ... ok test_parse_user_function (test_parsing.PhasedParseTest) Tests :meth:parse_user_function(). ... ok test_parse_variable (test_parsing.PhasedParseTest) ... ok test_segment_parsing (test_parsing.PhasedParseTest) Tests :meth:parse_model(). ... ok test_split (test_parsing.PhasedParseTest) ... ok test_unexpected_token (test_parsing.PhasedParseTest) Tests :meth:unexpected_token. ... ok test_tokenizer (test_parsing.TokenizerTest) ... ok test_progress_printer (test_progress_printer.ProgressPrinterTests) Test basic functionality. ... ok test_characteristic_time (test_protocol_and_pacing.PacingTest) ... ok test_create_log_for_times (test_protocol_and_pacing.PacingTest) ... ok test_event_based_pacing_ansic (test_protocol_and_pacing.PacingTest) ... ERROR test_event_creation (test_protocol_and_pacing.PacingTest) ... ok test_fixed_form_pacing_ansic (test_protocol_and_pacing.PacingTest) ... ok test_guess_duration (test_protocol_and_pacing.PacingTest) ... WARNING:myokit:The method Protocol.guess_duration() is deprecated: it will be removed in future versions of Myokit. Please use the method characteristic_time instead. ok test_in_words (test_protocol_and_pacing.PacingTest) ... ok test_is_infinite (test_protocol_and_pacing.PacingTest) Tests :meth:Protocol.is_infinite(). ... ok test_is_sequence (test_protocol_and_pacing.PacingTest) Tests :meth:Protocol.is_sequence(). ... ok test_levels (test_protocol_and_pacing.PacingTest) Tests :meth:Protocol.levels(). ... ok test_pacing_system (test_protocol_and_pacing.PacingTest) ... ok test_protocol_creation (test_protocol_and_pacing.PacingTest) ... ok test_protocol_to_string (test_protocol_and_pacing.PacingTest) Tests str(protocol). ... ok test_range (test_protocol_and_pacing.PacingTest) Tests :meth:Protocol.range(). ... ok test_tail (test_protocol_and_pacing.PacingTest) ... ok test_process_errors (test_pype.PypeTest) ... ok test_block (test_p_simulation.PSimulationTest) ... ERROR test_progress_reporter (test_p_simulation.PSimulationTest) ... ERROR test_set_constant (test_p_simulation.PSimulationTest) ... ERROR test_simple (test_p_simulation.PSimulationTest) ... ERROR test_bad_log (test_rhs_benchmarker.RhsBenchmarkerTest) Tests error handling when unsuitable log is used. ... ERROR test_creation (test_rhs_benchmarker.RhsBenchmarkerTest) Tests Benchmarker creation. ... ERROR test_simple (test_rhs_benchmarker.RhsBenchmarkerTest) Tests basic functionality. ... ERROR test_basic (test_simulation_1d.Simulation1dTest) Tests basic usage. ... ok test_progress_reporter (test_simulation_1d.Simulation1dTest) Test running with a progress reporter. ... ok test_set_default_state (test_simulation_1d.Simulation1dTest) Tests :meth:Simulation1d.set_default_state(). ... ok test_set_state (test_simulation_1d.Simulation1dTest) Tests :meth:Simulation1d.set_state(). ... ok test_periodic (test_simulation_log_interval.ICSimulationTest) ... ERROR test_periodic (test_simulation_log_interval.PSimulationTest) ... ERROR test_periodic (test_simulation_log_interval.Simulation1dTest) ... ok test_dynamic (test_simulation_log_interval.SimulationTest) ... ok test_interpolation_and_pacing (test_simulation_log_interval.SimulationTest) ... ok test_periodic (test_simulation_log_interval.SimulationTest) ... ok test_point_list (test_simulation_log_interval.SimulationTest) ... ok test_point_list_2 (test_simulation_log_interval.SimulationTest) ... ok test_simple (test_simulation_opencl.FiberTissueSimulationTest) ... skipped u'OpenCL not found on this system.' test_set_state (test_simulation_opencl.SimulationOpenCL1dTest) ... ok test_sim (test_simulation_opencl.SimulationOpenCL1dTest) ... ok test_sim (test_simulation_opencl.SimulationOpenCL2dTest) ... skipped u'OpenCL not found on this system.' test_periodic (test_simulation_opencl_log_interval.FiberTissueSimulationTest) ... skipped u'OpenCL not found on this system.' test_periodic (test_simulation_opencl_log_interval.SimulationOpenCLTest) ... skipped u'OpenCL not found on this system.' test_can_convert (test_units_and_quantities.MyokitUnitTest) ... ok test_conversion_factor (test_units_and_quantities.MyokitUnitTest) ... ok test_convert (test_units_and_quantities.MyokitUnitTest) ... ok test_create (test_units_and_quantities.MyokitUnitTest) ... ok test_float (test_units_and_quantities.MyokitUnitTest) Tests :meth:Unit.__float__(). ... ok test_operators (test_units_and_quantities.MyokitUnitTest) Tests overloaded unit operators. ... ok test_parse_simple (test_units_and_quantities.MyokitUnitTest) ... ok test_register_errors (test_units_and_quantities.MyokitUnitTest) Tests errors for Unit.register (rest is already used a lot). ... ok test_str_and_repr (test_units_and_quantities.MyokitUnitTest) ... ok test_as_rhs (test_units_and_quantities.QuantityTest) Test Quantity use in set_rhs. ... ok test_cast (test_units_and_quantities.QuantityTest) Test :meth:Quanity.cast(). ... ok test_convert (test_units_and_quantities.QuantityTest) Test :meth:Quantity.convert(). ... ok test_creation_and_str (test_units_and_quantities.QuantityTest) Tests Quanity creation and :meth:Quantity.__str__(). ... ok test_eq (test_units_and_quantities.QuantityTest) Test :meth:Quantity.__eq__(). ... ok test_number_conversion (test_units_and_quantities.QuantityTest) Tests Quantity conversion from and to number. ... ok test_operators (test_units_and_quantities.QuantityTest) Test overloaded operators for Quantity. ... ok

====================================================================== ERROR: test_basic (test_ic_simulation.ICSimulationTest) Tests basic usage.

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_ic_simulation.py", line 39, in test_basic s = myokit.ICSimulation(m, p) File "myokit_sim\icsim.py", line 138, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_ICSimulation_1' extension creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpblh4igmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmpblh4igmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmpblh4igmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpblh4igmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmpblh4igmyokit\source.cpp(400) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data

====================================================================== ERROR: test_progress_reporter (test_ic_simulation.ICSimulationTest) Test running with a progress reporter.

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_ic_simulation.py", line 83, in test_progress_reporter s = myokit.ICSimulation(m, p) File "myokit_sim\icsim.py", line 138, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_ICSimulation_2' extension creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpmhpo0fmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpmhpo0fmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmpmhpo0fmyokit\source.cpp(400) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data

====================================================================== ERROR: test_simple (test_jacobian_calculator.JacobianCalculatorTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_jacobian_calculator.py", line 37, in test_simple c = myokit.JacobianCalculator(m) File "myokit_sim\jacobian.py", line 263, in init self._ext = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_JacobianCalculator_1' extension creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp5yuzcsmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp5yuzcsmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp5yuzcsmyokit\source.obj source.cpp myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier

====================================================================== ERROR: test_simple (test_jacobian_tracer.JacobianTracerTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_jacobian_tracer.py", line 46, in test_simple g = myokit.JacobianTracer(m) File "myokit_sim\jacobian.py", line 88, in init self._ext = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_JacobianTracer_1' extension creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp2esvajmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp2esvajmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp2esvajmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp2esvajmyokit\source.obj source.cpp myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier

====================================================================== ERROR: test_evaluators (test_lib_fit.EvaluatorTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_lib_fit.py", line 49, in test_evaluators fit.evaluate(f, x, parallel=True) File "myokit\lib\fit.py", line 424, in evaluate return evaluator.evaluate(x) File "myokit\lib\fit.py", line 473, in evaluate return self._evaluate(positions) File "myokit\lib\fit.py", line 889, in _evaluate self._populate() File "myokit\lib\fit.py", line 874, in _populate w.start() File "C:\myokit\anaconda2\lib\multiprocessing\process.py", line 130, in start self._popen = Popen(self) File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 277, in init dump(process_obj, to_child, HIGHEST_PROTOCOL) File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 199, in dump ForkingPickler(file, protocol).dump(obj) File "C:\myokit\anaconda2\lib\pickle.py", line 224, in dump self.save(obj) File "C:\myokit\anaconda2\lib\pickle.py", line 331, in save self.save_reduce(obj=obj, *rv) File "C:\myokit\anaconda2\lib\pickle.py", line 425, in save_reduce save(state) File "C:\myokit\anaconda2\lib\pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "C:\myokit\anaconda2\lib\pickle.py", line 655, in save_dict self._batch_setitems(obj.iteritems()) File "C:\myokit\anaconda2\lib\pickle.py", line 687, in _batch_setitems save(v) File "C:\myokit\anaconda2\lib\pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "C:\myokit\anaconda2\lib\pickle.py", line 754, in save_global (obj, module, name)) PicklingError: Can't pickle <function f at 0x000000000D988438>: it's not found as test_lib_fit.f

====================================================================== ERROR: test_parallel_evaluator (test_lib_fit.EvaluatorTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_lib_fit.py", line 77, in test_parallel_evaluator e.evaluate(x) File "myokit\lib\fit.py", line 473, in evaluate return self._evaluate(positions) File "myokit\lib\fit.py", line 889, in _evaluate self._populate() File "myokit\lib\fit.py", line 874, in _populate w.start() File "C:\myokit\anaconda2\lib\multiprocessing\process.py", line 130, in start self._popen = Popen(self) File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 277, in init dump(process_obj, to_child, HIGHEST_PROTOCOL) File "C:\myokit\anaconda2\lib\multiprocessing\forking.py", line 199, in dump ForkingPickler(file, protocol).dump(obj) File "C:\myokit\anaconda2\lib\pickle.py", line 224, in dump self.save(obj) File "C:\myokit\anaconda2\lib\pickle.py", line 331, in save self.save_reduce(obj=obj, *rv) File "C:\myokit\anaconda2\lib\pickle.py", line 425, in save_reduce save(state) File "C:\myokit\anaconda2\lib\pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "C:\myokit\anaconda2\lib\pickle.py", line 655, in save_dict self._batch_setitems(obj.iteritems()) File "C:\myokit\anaconda2\lib\pickle.py", line 687, in _batch_setitems save(v) File "C:\myokit\anaconda2\lib\pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "C:\myokit\anaconda2\lib\pickle.py", line 754, in save_global (obj, module, name)) PicklingError: Can't pickle <function f at 0x000000000D988438>: it's not found as test_lib_fit.f

====================================================================== ERROR: test_event_based_pacing_ansic (test_protocol_and_pacing.PacingTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_protocol_and_pacing.py", line 322, in test_event_based_pacing_ansic s = AnsicEventBasedPacing(p) File "C:\myokit\myokit\tests\ansic_event_based_pacing.py", line 49, in init self._sys = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_ansic_pacing_1' extension creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpn6p3xwmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\myokit\myokit\tests -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tcc:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c /Foc:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.obj source.c myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(140) : error C2275: 'ESys_Flag' : illegal use of this type as an expression myokit_sim\pacing.h(48) : see declaration of 'ESys_Flag' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(140) : error C2146: syntax error : missing ';' before identifier 'flag' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(140) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(141) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(142) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(142) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(146) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(147) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(147) : error C2065: 'flag' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(149) : error C2065: 'pace' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(155) : error C2061: syntax error : identifier 'PacingMethods' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(155) : error C2059: syntax error : ';' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(155) : error C3409: empty attribute block is not allowed c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(155) : error C2513: '/global/ ' : no variable declared before '=' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(190) : error C2065: 'PacingMethods' : undeclared identifier c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(190) : warning C4047: 'function' : 'PyMethodDef *' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpn6p3xwmyokit\source.c(190) : warning C4024: 'Py_InitModule4_64' : different types for formal and actual parameter 2

====================================================================== ERROR: test_block (test_p_simulation.PSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_p_simulation.py", line 143, in test_block m, p, variables=['membrane.V'], parameters=['ina.gNa', 'ica.gCa']) File "myokit_sim\psim.py", line 188, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_PSimulation_1' extension creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp3rxtwdmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp3rxtwdmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\source.cpp(445) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmp3rxtwdmyokit\source.cpp(561) : error C3861: 'isnan': identifier not found

====================================================================== ERROR: test_progress_reporter (test_p_simulation.PSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_p_simulation.py", line 196, in test_progress_reporter m, p, variables=['membrane.V'], parameters=['ina.gNa']) File "myokit_sim\psim.py", line 188, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_PSimulation_2' extension creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp0nfaewmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp0nfaewmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp0nfaewmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp0nfaewmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\source.cpp(445) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmp0nfaewmyokit\source.cpp(560) : error C3861: 'isnan': identifier not found

====================================================================== ERROR: test_set_constant (test_p_simulation.PSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_p_simulation.py", line 167, in test_set_constant m, p, variables=['membrane.V'], parameters=['ina.gNa']) File "myokit_sim\psim.py", line 188, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_PSimulation_3' extension creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp_lgvsqmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp_lgvsqmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\source.cpp(445) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmp_lgvsqmyokit\source.cpp(560) : error C3861: 'isnan': identifier not found

====================================================================== ERROR: test_simple (test_p_simulation.PSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_p_simulation.py", line 40, in test_simple m, p, variables=['membrane.V'], parameters=['ina.gNa', 'ica.gCa']) File "myokit_sim\psim.py", line 188, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_PSimulation_4' extension creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpwpczeamyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmpwpczeamyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmpwpczeamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpwpczeamyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmpwpczeamyokit\source.cpp(445) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmpwpczeamyokit\source.cpp(561) : error C3861: 'isnan': identifier not found

====================================================================== ERROR: test_bad_log (test_rhs_benchmarker.RhsBenchmarkerTest) Tests error handling when unsuitable log is used.

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_rhs_benchmarker.py", line 84, in test_bad_log b = myokit.RhsBenchmarker(m, [x]) File "myokit_sim\rhs.py", line 84, in init self._ext = self._compile(module_name, fname, args, libs) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_RhsBenchmarker_1' extension creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpm0tdfamyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tcc:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c /Foc:\users\michael\appdata\local\temp\tmpm0tdfamyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.obj source.c c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(25) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(26) : error C2085: 'rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(26) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(38) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(39) : error C2085: 'partial_rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(39) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(58) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(59) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(59) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(59) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(60) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(60) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(60) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(63) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(63) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(68) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(68) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(68) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(68) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(68) : warning C4024: 'PySequence_GetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(69) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(69) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(72) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(73) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(73) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(73) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(74) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(74) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(74) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(80) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(80) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(81) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(81) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(81) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(81) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(81) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(83) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(84) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(84) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(84) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(85) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(85) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(85) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(90) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(90) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(90) : warning C4024: 'PyFloat_AsDouble' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(93) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(93) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(93) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(156) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(157) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(170) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(171) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(171) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(171) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(175) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(177) : warning C4013: 'rhs' undefined; assuming extern returning int c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(178) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(178) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(178) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(183) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(183) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(183) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(183) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(186) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(198) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(198) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(198) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(205) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(205) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(205) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(207) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(207) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(207) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(221) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(221) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(221) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(233) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(233) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(233) : warning C4024: 'PyList_SetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(233) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(236) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(238) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(241) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(241) : warning C4047: 'return' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(244) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(244) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(244) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(244) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(244) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(257) : warning C4113: 'int (__cdecl )()' differs in parameter lists from 'void (__cdecl )(void)' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(266) : error C2065: 'partial_rhs' : undeclared identifier c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(266) : warning C4047: 'function' : 'void (__cdecl )(void)' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpm0tdfamyokit\source.c(266) : warning C4024: 'bench' : different types for formal and actual parameter 3

====================================================================== ERROR: test_creation (test_rhs_benchmarker.RhsBenchmarkerTest) Tests Benchmarker creation.

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_rhs_benchmarker.py", line 120, in test_creation myokit.RhsBenchmarker(m) File "myokit_sim\rhs.py", line 84, in init self._ext = self._compile(module_name, fname, args, libs) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_RhsBenchmarker_2' extension creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpjdlmhhmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tcc:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c /Foc:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.obj source.c c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(24) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(25) : error C2085: 'rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(25) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(36) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(37) : error C2085: 'partial_rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(37) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(53) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(54) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(54) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(54) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(55) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(55) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(55) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(58) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(58) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(63) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(63) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(63) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(63) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(63) : warning C4024: 'PySequence_GetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(64) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(64) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(67) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(68) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(68) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(68) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(69) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(69) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(69) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(75) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(75) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(76) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(76) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(76) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(76) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(76) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(78) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(79) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(79) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(79) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(80) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(80) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(80) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(85) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(85) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(85) : warning C4024: 'PyFloat_AsDouble' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(88) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(88) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(88) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(150) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(151) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(164) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(165) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(165) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(165) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(169) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(171) : warning C4013: 'rhs' undefined; assuming extern returning int c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(172) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(172) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(172) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(177) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(177) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(177) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(177) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(180) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(192) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(192) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(192) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(199) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(199) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(199) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(201) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(201) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(201) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(215) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(215) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(215) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(227) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(227) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(227) : warning C4024: 'PyList_SetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(227) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(230) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(232) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(235) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(235) : warning C4047: 'return' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(238) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(238) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(238) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(238) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(238) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(251) : warning C4113: 'int (__cdecl )()' differs in parameter lists from 'void (__cdecl )(void)' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(260) : error C2065: 'partial_rhs' : undeclared identifier c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(260) : warning C4047: 'function' : 'void (__cdecl )(void)' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpjdlmhhmyokit\source.c(260) : warning C4024: 'bench' : different types for formal and actual parameter 3

====================================================================== ERROR: test_simple (test_rhs_benchmarker.RhsBenchmarkerTest) Tests basic functionality.

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_rhs_benchmarker.py", line 55, in test_simple b = myokit.RhsBenchmarker(m, [x]) File "myokit_sim\rhs.py", line 84, in init self._ext = self._compile(module_name, fname, args, libs) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_RhsBenchmarker_3' extension creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpsk29jfmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tcc:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c /Foc:\users\michael\appdata\local\temp\tmpsk29jfmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.obj source.c c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(23) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(24) : error C2085: 'rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(24) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(35) : error C2054: expected '(' to follow 'inline' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(36) : error C2085: 'partial_rhs' : not in formal parameter list c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(36) : error C2143: syntax error : missing ';' before '{' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(55) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(56) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(56) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(56) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(57) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(57) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(57) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(60) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(60) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(65) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(65) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(65) : error C2065: 'list' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(65) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(65) : warning C4024: 'PySequence_GetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(66) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(66) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(69) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(70) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(70) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(70) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(71) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(71) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(71) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(77) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(77) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(78) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(78) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(78) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(78) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(78) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(80) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(81) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(81) : warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(81) : warning C4024: 'sprintf' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(82) : error C2065: 'errstr' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(82) : warning C4047: 'function' : 'const char ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(82) : warning C4024: 'PyErr_SetString' : different types for formal and actual parameter 2 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(87) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(87) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(87) : warning C4024: 'PyFloat_AsDouble' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(90) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(90) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(90) : error C2065: 'item' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(152) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(153) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(166) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(167) : error C2275: 'PyObject' : illegal use of this type as an expression c:\myokit\anaconda2\include\object.h(108) : see declaration of 'PyObject' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(167) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(167) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(171) : error C2143: syntax error : missing ';' before 'type' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(173) : warning C4013: 'rhs' undefined; assuming extern returning int c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(174) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(174) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(174) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(179) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(179) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(179) : error C2065: 'n_positions' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(179) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(182) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(194) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(194) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(194) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(201) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(201) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(201) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(203) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(203) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(203) : error C2065: 'k' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(217) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(217) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(217) : error C2065: 'j' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(229) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(229) : warning C4047: 'function' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(229) : warning C4024: 'PyList_SetItem' : different types for formal and actual parameter 1 c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(229) : error C2065: 'i' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(232) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(234) : error C2065: 'ok' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(237) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(237) : warning C4047: 'return' : 'PyObject ' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(240) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(240) : warning C4047: '==' : 'int' differs in levels of indirection from 'void ' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(240) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(240) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(240) : error C2065: 'times' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(253) : warning C4113: 'int (__cdecl )()' differs in parameter lists from 'void (__cdecl )(void)' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(262) : error C2065: 'partial_rhs' : undeclared identifier c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(262) : warning C4047: 'function' : 'void (__cdecl )(void)' differs in levels of indirection from 'int' c:\users\michael\appdata\local\temp\tmpsk29jfmyokit\source.c(262) : warning C4024: 'bench' : different types for formal and actual parameter 3

====================================================================== ERROR: test_periodic (test_simulation_log_interval.ICSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_simulation_log_interval.py", line 454, in test_periodic s = myokit.ICSimulation(m, p) File "myokit_sim\icsim.py", line 138, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_ICSimulation_3' extension creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp5lzuhdmyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmp5lzuhdmyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmp5lzuhdmyokit\source.cpp(400) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data

====================================================================== ERROR: test_periodic (test_simulation_log_interval.PSimulationTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_simulation_log_interval.py", line 393, in test_periodic m, p, variables=['membrane.V'], parameters=['ina.gNa']) File "myokit_sim\psim.py", line 188, in init self._sim = self._compile(module_name, fname, args, libs, libd, incd) File "myokit_sim__init.py", line 165, in _compile raise myokit.CompilationError('\n'.join(t)) CompilationError: Unable to compile. Error message: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2 Error traceback Traceback (most recent call last): File "myokit_sim__init__.py", line 154, in _compile str('--old-and-unmanageable'), File "C:\myokit\anaconda2\lib\site-packages\setuptools\init__.py", line 129, in setup return distutils.core.setup(**attrs) File "C:\myokit\anaconda2\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

Compiler output: running build running build_ext building 'myokit_PSimulation_5' extension creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7 creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp creating c:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpwmzowemyokit C:\Users\michael\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Imyokit_sim -IC:\myokit\anaconda2\include -IC:\myokit\anaconda2\PC /Tpc:\users\michael\appdata\local\temp\tmpwmzowemyokit\source.cpp /Foc:\users\michael\appdata\local\temp\tmpwmzowemyokit\build\temp.win-amd64-2.7\Release\users\michael\appdata\local\temp\tmpwmzowemyokit\source.obj source.cpp myokit_sim\pacing.h(724) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data myokit_sim\differential.hpp(542) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(546) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(550) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(554) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(558) : error C2065: 'NAN' : undeclared identifier myokit_sim\differential.hpp(562) : error C2065: 'NAN' : undeclared identifier c:\users\michael\appdata\local\temp\tmpwmzowemyokit\source.cpp(445) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data c:\users\michael\appdata\local\temp\tmpwmzowemyokit\source.cpp(560) : error C3861: 'isnan': identifier not found

====================================================================== FAIL: test_format_path (test_aux.AuxTest) Tests format_path().

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_aux.py", line 158, in test_format_path myokit.format_path(os.path.join('a', 'b', 'c')), 'a/b/c') AssertionError: u'\a\b\c' != u'a/b/c'

====================================================================== FAIL: test_save_csv (test_datalog.DataLogTest)

Traceback (most recent call last): File "C:\myokit\myokit\tests\test_datalog.py", line 1289, in test_save_csv self.assertEqual(len(d['a.b']), len(e['a.b'])) AssertionError: 100 != 0


Ran 528 tests in 443.281s

FAILED (failures=2, errors=16, skipped=4)

MichaelClerx commented 6 years ago

Fixed in appveyor branch