cellml / libcellml

Repository for libCellML development.
https://libcellml.org
Apache License 2.0
17 stars 21 forks source link

Analyser/Generator: support systems of non-linear algebraic equations #942

Closed agarny closed 1 year ago

agarny commented 3 years ago

Fixes #882.

agarny commented 1 year ago

I am puzzled, our LLVM Coverage test reports 100% coverage and yet it is reported as having failed? Any idea @hsorby?

hsorby commented 1 year ago

Yes, the branch coverage part of the LLVM testing has failed. Currently we only output the branch failure information to the log file, haven't yet worked out how to get it into a step. The branch coverage failure report from the log files is:

2022-12-23 11:20:55+1300 [-] Branches failed:
2022-12-23 11:20:55+1300 [-]   analyser.cpp: 34
2022-12-23 11:20:55+1300 [-]   analysermodel.cpp: 4

Current limits for analyser is 33, and analysermodel is 3. But, feel free to try and reduce those numbers even further.

agarny commented 1 year ago

Yes, the branch coverage part of the LLVM testing has failed. Currently we only output the branch failure information to the log file, haven't yet worked out how to get it into a step. The branch coverage failure report from the log files is:

2022-12-23 11:20:55+1300 [-] Branches failed:
2022-12-23 11:20:55+1300 [-]   analyser.cpp: 34
2022-12-23 11:20:55+1300 [-]   analysermodel.cpp: 4

Current limits for analyser is 33, and analysermodel is 3. But, feel free to try and reduce those numbers even further.

Thanks, I hadn't realised that we were checking branches. It might be best to disable that check for now until we can actually make sense of it using the log file?

hsorby commented 1 year ago

If I have the following model:

<?xml version='1.0' encoding='UTF-8'?>
<model name="BG3" xmlns="http://www.cellml.org/cellml/2.0#" xmlns:cellml="http://www.cellml.org/cellml/2.0#">
    <units name="m_per_s">
        <unit units="metre"/>
        <unit exponent="-1" units="second"/>
    </units>
    <component name="main">
        <variable name="t" units="second"/>
        <variable initial_value="1" name="v_in" units="m_per_s" interface="public"/>
        <!-- State variables-->
        <variable initial_value="-2.5" name="v" units="m_per_s"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>v</ci>
                </apply>
                <ci>v_in</ci>
            </apply>
        </math>
    </component>
    <component name="base">
        <variable initial_value="1" name="v_out" units="m_per_s" interface="public"/>
    </component>
    <connection component_1="main" component_2="base">
        <map_variables variable_1="v_in" variable_2="v_out"/>
    </connection>
</model>

The analyser tells me that

Variable 'v_out' in component 'base' and variable 'v_in' in component 'main' are equivalent and cannot therefore both be initialised.

But they are initialised to the same value so I don't think that this should be an error.

agarny commented 1 year ago

But they are initialised to the same value so I don't think that this should be an error.

I don't believe your test model could be encoded in CellML 1.x. Indeed, directionality at the connection level is determined by the user who can specify the value (in, out, or none) of the public_interface and private_interface attributes of a variable element.

In Cell 2.x, as you know, directionality at the connection level has been dropped. So, in your test model, we need to determine who of v_in and v_out is to be considered the "reference" variable. One of telling is by checking if one of them has an initial value (and the other not). However, both have an initial value, so we can't tell which one is the "reference" variable, hence the error message you got. You would have got a similar error if you had tried to do something like that in CellML 1.x, i.e. you would have been told that v_in cannot have an initial value (even if its value was to be the same as that of v_out).

So, @nickerso to comment if needed, but I believe everything is fine here.

nickerso commented 1 year ago

I agree with @agarny's comment in https://github.com/cellml/libcellml/pull/942#issuecomment-1531242000 - this is the current expected behaviour and its not immediately obvious how to change that. Its also not a change that should be made as part of this PR. I've made #1162 to track future work on this.

nickerso commented 1 year ago

We should confirm the generated Python code can indeed be used to simulate models

Have "we" done this? are we confident the generated Python code for NLA systems can be used?

agarny commented 1 year ago

We should confirm the generated Python code can indeed be used to simulate models

Have "we" done this? are we confident the generated Python code for NLA systems can be used?

No, not yet. Will try to have a look into it.

hsorby commented 1 year ago

I am looking at generating code with this and I am seeing the following analyser error but I don't understand what the problem is:

Variable 'u' in component 'aortic_arch_C94_module' is unused.

What is meant by unused here? The variable is used in the math so I take it that unused is not related to it not being present in the math. I did write a test for having unused variables in a component and the code generation seemed happy to ignore those types of variables.

agarny commented 1 year ago

I am looking at generating code with this and I am seeing the following analyser error but I don't understand what the problem is:

Variable 'u' in component 'aortic_arch_C94_module' is unused.

What is meant by unused here? The variable is used in the math so I take it that unused is not related to it not being present in the math. I did write a test for having unused variables in a component and the code generation seemed happy to ignore those types of variables.

It means that the analyser wasn't able to determine the type of the variable (i.e. whether it's a VOI, a state, a constant, etc.), so it considers it as being unused. What is that model exactly?

hsorby commented 1 year ago

It means that the analyser wasn't able to determine the type of the variable (i.e. whether it's a VOI, a state, a constant, etc.), so it considers it as being unused. What is that model exactly?

Doesn't that suggest it should be of type unknown.

The model is a modified version of https://models.physiomeproject.org/workspace/5e0

Modifications are:

diff --git a/BG_Modules.cellml b/BG_Modules.cellml
index 26ddfc8..849a820 100644
--- a/BG_Modules.cellml
+++ b/BG_Modules.cellml
@@ -1,5 +1,15 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<model name="Vessel_BG_Units" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
+<model name="Vessel_BG_Units" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <import xlink:href="Units.cellml">
+        <units name="per_m" units_ref="per_m"/>
+        <units name="m3_per_s" units_ref="m3_per_s"/>
+        <units name="m6_per_J" units_ref="m6_per_J"/>
+        <units name="Js_per_m6" units_ref="Js_per_m6"/>
+        <units name="Js2_per_m6" units_ref="Js2_per_m6"/>
+        <units name="Js2_per_m5" units_ref="Js2_per_m5"/>
+        <units name="J_per_m3" units_ref="J_per_m3"/>
+        <units name="Js_per_m3" units_ref="Js_per_m3"/>
+    </import>
     <!--//////////////////////////////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////// non-BC Vessel ////////////////////////////////////////////
 //////////////////////////////////////////////////////////////////////////////////////////////////////-->
diff --git a/Parameters218.cellml b/Parameters218.cellml
index 751114a..48b3756 100644
--- a/Parameters218.cellml
+++ b/Parameters218.cellml
@@ -1,5 +1,15 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<model name="Parameters" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
+<model name="Parameters" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <import xlink:href="Units.cellml">
+        <units name="m6_per_J" units_ref="m6_per_J"/>
+        <units name="Js_per_m6" units_ref="Js_per_m6"/>
+        <units name="Js2_per_m6" units_ref="Js2_per_m6"/>
+        <units name="Js_per_m3" units_ref="Js_per_m3"/>
+        <units name="UnitValve" units_ref="UnitValve"/>
+        <units name="J_per_m3" units_ref="J_per_m3"/>
+        <units name="J_per_m6" units_ref="J_per_m6"/>
+        <units name="m3" units_ref="m3"/>
+    </import>
     <component name="Parameters_Pulmonary">
         <!-- Pulmonary-->
         <variable initial_value="0.0309077e-6" name="C_par" public_interface="out" units="m6_per_J"/>
agarny commented 1 year ago

It means that the analyser wasn't able to determine the type of the variable (i.e. whether it's a VOI, a state, a constant, etc.), so it considers it as being unused. What is that model exactly? Doesn't that suggest it should be of type unknown.

Yes and that's actually how it's qualified internally (see https://github.com/agarny/libcellml/blob/2c66a58fd241c956124f8023c7aa209f2148f259/src/analyser.cpp#L2312). Not sure why the error message mentions that it is unused. I guess I was trying to mimic what was done in the CellML API... maybe? Anyway, I have changed the error message: 2c11d7d6.

Otherwise, the changes you made to the model are clearly not responsible for the error you got. However, it is worth keeping in mind that the CellML API is known for letting some issues unreported. I am therefore wondering whether it's not one such a case here...?

hsorby commented 1 year ago

A little concerning, I'm looking at this model to generate code that I can simulate. So far I don't have a valid enough model. At this point I'm a little surprised that I can't simulate this model. From the bond graph comments these unknown variables should be state variables. What I was expecting. The question is why does the analyser not think that they are state variables.

hsorby commented 1 year ago

OpenCOR can load the SEDML file and run a simulation very quickly. There are no unknown variables, all variables are either algebriac or state and the overall model is defined as ODE.

agarny commented 1 year ago

I am looking into it...

agarny commented 1 year ago

OpenCOR can load the SEDML file and run a simulation very quickly. There are no unknown variables, all variables are either algebriac or state and the overall model is defined as ODE.

I have tried the following on the model you mentione at https://github.com/cellml/libcellml/pull/942#issuecomment-1532263951 (together with your changes):

TEST(Generator, test)
{
    auto parser = libcellml::Parser::create(false);
    auto model = parser->parseModel(fileContents("generator/5e0/main_ADAN-218.cellml"));
    auto importer = libcellml::Importer::create();

    EXPECT_TRUE(model->hasUnresolvedImports());

    importer->resolveImports(model, resourcePath("generator/5e0"));
    printf("---[resolveImports()][BEGIN]\n");
    printIssues(importer);
    printf("---[resolveImports()][END]\n");

    EXPECT_FALSE(model->hasUnresolvedImports());

    model = importer->flattenModel(model);
    printf("---[flattenModel()][BEGIN]\n");
    printIssues(importer);
    printf("---[flattenModel()][END]\n");

    auto analyser = libcellml::Analyser::create();

    analyser->analyseModel(model);
    printf("---[analyseModel()][BEGIN]\n");
    printIssues(analyser);
    printf("---[analyseModel()][END]\n");

    EXPECT_EQ(size_t(0), analyser->errorCount());
}

but when I run it, I am getting:

[ RUN      ] Generator.test
---[resolveImports()][BEGIN]
Error  1: 
Import of units 'm3' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'm3' which cannot be found.
Error  2: 
Import of units 'm3_per_s' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'm3_per_s' which cannot be found.
Error  3: 
Import of units 'm6_per_J' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'm6_per_J' which cannot be found.
Error  4: 
Import of units 'per_m' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'per_m' which cannot be found.
Error  5: 
Import of units 'J_per_m3' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'J_per_m3' which cannot be found.
Error  6: 
Import of units 'Js_per_m6' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'Js_per_m6' which cannot be found.
Error  7: 
Import of units 'Js2_per_m6' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'Js2_per_m6' which cannot be found.
Error  8: 
Import of units 'Js2_per_m5' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'Js2_per_m5' which cannot be found.
Error  9: 
Import of units 'J_per_s' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'J_per_s' which cannot be found.
Error 10: 
Import of units 'J_per_m6' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'J_per_m6' which cannot be found.
Error 11: 
Import of units 'Js_per_m3' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'Js_per_m3' which cannot be found.
Error 12: 
Import of units 'UnitValve' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml' requires units named 'UnitValve' which cannot be found.
Error 13: 
Import of component 'Parameters_Systemic' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Parameters218.cellml' requires component named 'Parameters_Systemic' which cannot be found.
Error 14: 
Import of component 'Parameters_Pulmonary' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Parameters218.cellml' requires component named 'Parameters_Pulmonary' which cannot be found.
Error 15: 
Import of component 'Parameters_Heart' from '/Users/Alan/libCellML/tests/resources/generator/5e0/Parameters218.cellml' requires component named 'Parameters_Heart' which cannot be found.
Error 16: 
Import of component 'ascending_aorta_A_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_type' which cannot be found.
Error 17: 
Import of component 'ascending_aorta_B_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 18: 
Import of component 'ascending_aorta_C_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 19: 
Import of component 'ascending_aorta_D_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 20: 
Import of component 'aortic_arch_C2_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 21: 
Import of component 'brachiocephalic_trunk_C4_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 22: 
Import of component 'aortic_arch_C46_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 23: 
Import of component 'aortic_arch_C64_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 24: 
Import of component 'aortic_arch_C94_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 25: 
Import of component 'thoracic_aorta_C96_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 26: 
Import of component 'thoracic_aorta_C100_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 27: 
Import of component 'thoracic_aorta_C104_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 28: 
Import of component 'thoracic_aorta_C108_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 29: 
Import of component 'thoracic_aorta_C112_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 30: 
Import of component 'abdominal_aorta_C114_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 31: 
Import of component 'abdominal_aorta_C136_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 32: 
Import of component 'abdominal_aorta_C164_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 33: 
Import of component 'abdominal_aorta_C176_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 34: 
Import of component 'abdominal_aorta_C188_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 35: 
Import of component 'abdominal_aorta_C192_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 36: 
Import of component 'posterior_intercostal_T1_R98_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 37: 
Import of component 'posterior_intercostal_T1_L102_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 38: 
Import of component 'posterior_intercostal_T2_R106_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 39: 
Import of component 'posterior_intercostal_T2_L110_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 40: 
Import of component 'celiac_trunk_C116_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 41: 
Import of component 'splenic_T2_C118_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 42: 
Import of component 'left_gastric_T3_C120_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 43: 
Import of component 'splenic_T2_C122_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 44: 
Import of component 'dorsal_pancreatic_T1_C124_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 45: 
Import of component 'splenic_T2_C126_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 46: 
Import of component 'common_hepatic_C128_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 47: 
Import of component 'hepatic_artery_proper_C130_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 48: 
Import of component 'hepatic_artery_proper_left_branch_C132_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 49: 
Import of component 'hepatic_artery_proper_right_branch_C134_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 50: 
Import of component 'superior_mesenteric_T4_C138_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 51: 
Import of component 'middle_colic_T8_C140_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 52: 
Import of component 'superior_mesenteric_T4_C142_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 53: 
Import of component 'jejunal_3_T10_C144_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 54: 
Import of component 'superior_mesenteric_T4_C146_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 55: 
Import of component 'jejunal_6_T11_C148_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 56: 
Import of component 'superior_mesenteric_T4_C150_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 57: 
Import of component 'ileocolic_T9_C152_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 58: 
Import of component 'superior_mesenteric_T4_C154_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 59: 
Import of component 'ileal_4_T12_C156_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 60: 
Import of component 'superior_mesenteric_T4_C158_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 61: 
Import of component 'ileal_6_T13_C160_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 62: 
Import of component 'superior_mesenteric_T4_C162_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 63: 
Import of component 'renal_L166_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 64: 
Import of component 'renal_anterior_branch_L168_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 65: 
Import of component 'inferior_segmental_T5_L170_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 66: 
Import of component 'superior_segmental_T4_L172_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 67: 
Import of component 'renal_posterior_branch_T3_L174_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 68: 
Import of component 'renal_R178_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 69: 
Import of component 'renal_anterior_branch_R180_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 70: 
Import of component 'superior_segmental_T4_R182_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 71: 
Import of component 'inferior_segmental_T5_R184_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 72: 
Import of component 'renal_posterior_branch_T3_R186_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 73: 
Import of component 'inferior_mesenteric_T5_C190_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 74: 
Import of component 'common_iliac_R216_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 75: 
Import of component 'internal_iliac_T1_R218_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 76: 
Import of component 'external_iliac_R220_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 77: 
Import of component 'femoral_R222_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 78: 
Import of component 'profundus_T2_R224_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 79: 
Import of component 'femoral_R226_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 80: 
Import of component 'popliteal_R228_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 81: 
Import of component 'anterior_tibial_T3_R230_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 82: 
Import of component 'popliteal_R232_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 83: 
Import of component 'tibiofibular_trunk_R234_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 84: 
Import of component 'posterior_tibial_T4_R236_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 85: 
Import of component 'common_iliac_L194_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 86: 
Import of component 'internal_iliac_T1_L196_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 87: 
Import of component 'external_iliac_L198_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 88: 
Import of component 'femoral_L200_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 89: 
Import of component 'profundus_T2_L202_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 90: 
Import of component 'femoral_L204_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 91: 
Import of component 'popliteal_L206_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 92: 
Import of component 'anterior_tibial_T3_L208_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 93: 
Import of component 'popliteal_L210_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 94: 
Import of component 'tibiofibular_trunk_L212_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 95: 
Import of component 'posterior_tibial_T4_L214_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 96: 
Import of component 'subclavian_R28_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 97: 
Import of component 'subclavian_R30_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 98: 
Import of component 'axillary_R32_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 99: 
Import of component 'brachial_R34_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 100: 
Import of component 'ulnar_T2_R36_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 101: 
Import of component 'common_interosseous_R38_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 102: 
Import of component 'posterior_interosseous_T3_R40_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 103: 
Import of component 'ulnar_T2_R42_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 104: 
Import of component 'radial_T1_R44_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 105: 
Import of component 'subclavian_L66_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 106: 
Import of component 'subclavian_L78_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 107: 
Import of component 'axillary_L80_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 108: 
Import of component 'brachial_L82_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 109: 
Import of component 'ulnar_T2_L84_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 110: 
Import of component 'common_interosseous_L86_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 111: 
Import of component 'posterior_interosseous_T3_L88_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 112: 
Import of component 'ulnar_T2_L90_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 113: 
Import of component 'radial_T1_L92_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 114: 
Import of component 'common_carotid_R6_A_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 115: 
Import of component 'common_carotid_R6_B_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 116: 
Import of component 'common_carotid_R6_C_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 117: 
Import of component 'internal_carotid_R8_A_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 118: 
Import of component 'internal_carotid_R8_B_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 119: 
Import of component 'internal_carotid_R8_C_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 120: 
Import of component 'external_carotid_T2_R26_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 121: 
Import of component 'common_carotid_L48_A_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 122: 
Import of component 'common_carotid_L48_B_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 123: 
Import of component 'common_carotid_L48_C_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 124: 
Import of component 'common_carotid_L48_D_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 125: 
Import of component 'internal_carotid_L50_A_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 126: 
Import of component 'internal_carotid_L50_B_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 127: 
Import of component 'internal_carotid_L50_C_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 128: 
Import of component 'external_carotid_T2_L62_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 129: 
Import of component 'anterior_cerebral_L110_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 130: 
Import of component 'anterior_cerebral_L38_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 131: 
Import of component 'anterior_cerebral_L42_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 132: 
Import of component 'anterior_cerebral_R234_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 133: 
Import of component 'anterior_cerebral_R238_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 134: 
Import of component 'anterior_cerebral_R46_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 135: 
Import of component 'anterior_communicating_C44_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 136: 
Import of component 'basilar_C4_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 137: 
Import of component 'callosomarginal_L172_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 138: 
Import of component 'callosomarginal_L176_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 139: 
Import of component 'callosomarginal_L180_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 140: 
Import of component 'callosomarginal_L184_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 141: 
Import of component 'callosomarginal_R240_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 142: 
Import of component 'callosomarginal_R244_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 143: 
Import of component 'callosomarginal_R248_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 144: 
Import of component 'callosomarginal_R252_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 145: 
Import of component 'internal_carotid_L112_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 146: 
Import of component 'internal_carotid_R48_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 147: 
Import of component 'medial_occipital_dorsal_branch_to_corpus_callosum_L28_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 148: 
Import of component 'medial_occipital_dorsal_branch_to_corpus_callosum_R224_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 149: 
Import of component 'medial_occipital_L188_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 150: 
Import of component 'medial_occipital_L192_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 151: 
Import of component 'medial_occipital_L200_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 152: 
Import of component 'medial_occipital_L26_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 153: 
Import of component 'medial_occipital_R222_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 154: 
Import of component 'medial_occipital_R256_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 155: 
Import of component 'medial_occipital_R260_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 156: 
Import of component 'medial_occipital_R268_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 157: 
Import of component 'middle_cerebral_inferior_terminal_branch_L136_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 158: 
Import of component 'middle_cerebral_inferior_terminal_branch_L140_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 159: 
Import of component 'middle_cerebral_inferior_terminal_branch_L144_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 160: 
Import of component 'middle_cerebral_inferior_terminal_branch_L148_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 161: 
Import of component 'middle_cerebral_inferior_terminal_branch_L152_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 162: 
Import of component 'middle_cerebral_inferior_terminal_branch_L160_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 163: 
Import of component 'middle_cerebral_inferior_terminal_branch_L164_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 164: 
Import of component 'middle_cerebral_inferior_terminal_branch_R102_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 165: 
Import of component 'middle_cerebral_inferior_terminal_branch_R74_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 166: 
Import of component 'middle_cerebral_inferior_terminal_branch_R78_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 167: 
Import of component 'middle_cerebral_inferior_terminal_branch_R82_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 168: 
Import of component 'middle_cerebral_inferior_terminal_branch_R86_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 169: 
Import of component 'middle_cerebral_inferior_terminal_branch_R90_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 170: 
Import of component 'middle_cerebral_inferior_terminal_branch_R98_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 171: 
Import of component 'middle_cerebral_L114_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 172: 
Import of component 'middle_cerebral_L118_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 173: 
Import of component 'middle_cerebral_R52_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 174: 
Import of component 'middle_cerebral_R56_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 175: 
Import of component 'middle_cerebral_superior_terminal_branch_L120_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 176: 
Import of component 'middle_cerebral_superior_terminal_branch_L124_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 177: 
Import of component 'middle_cerebral_superior_terminal_branch_L128_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 178: 
Import of component 'middle_cerebral_superior_terminal_branch_R58_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 179: 
Import of component 'middle_cerebral_superior_terminal_branch_R62_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 180: 
Import of component 'middle_cerebral_superior_terminal_branch_R66_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 181: 
Import of component 'occipital_lateral_L14_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 182: 
Import of component 'occipital_lateral_L18_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 183: 
Import of component 'occipital_lateral_L22_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 184: 
Import of component 'occipital_lateral_R210_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 185: 
Import of component 'occipital_lateral_R214_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 186: 
Import of component 'occipital_lateral_R218_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 187: 
Import of component 'pericallosal_L32_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 188: 
Import of component 'pericallosal_L36_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 189: 
Import of component 'pericallosal_R228_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 190: 
Import of component 'pericallosal_R232_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 191: 
Import of component 'posterior_cerebral_postcommunicating_part_L12_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 192: 
Import of component 'posterior_cerebral_postcommunicating_part_R208_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 193: 
Import of component 'posterior_cerebral_precommunicating_part_L6_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 194: 
Import of component 'posterior_cerebral_precommunicating_part_R204_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 195: 
Import of component 'posterior_communicating_L8_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 196: 
Import of component 'posterior_communicating_R206_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 197: 
Import of component 'vertebral_L2_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 198: 
Import of component 'vertebral_R272_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 199: 
Import of component 'artery_of_precentral_sulcus_T103_R68_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 200: 
Import of component 'artery_of_precentral_sulcus_T38_L130_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 201: 
Import of component 'medial_occipital_parieto_occipital_branch_T118_R262_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 202: 
Import of component 'medial_occipital_parieto_occipital_branch_T54_L194_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 203: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T120_R104_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 204: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T56_L166_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 205: 
Import of component 'middle_cerebral_posterior_temporal_branch_T122_R92_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 206: 
Import of component 'middle_cerebral_posterior_temporal_branch_T58_L154_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 207: 
Import of component 'lateral_occipital_intermediate_temporal_branch_T47_L20_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 208: 
Import of component 'lateral_occipital_intermediate_temporal_branch_T76_R216_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 209: 
Import of component 'medial_occipital_calcarine_branch_T51_L202_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 210: 
Import of component 'medial_occipital_calcarine_branch_T79_R270_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 211: 
Import of component 'medial_occipital_occipitotemporal_branch_T52_L190_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 212: 
Import of component 'medial_occipital_occipitotemporal_branch_T80_R258_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 213: 
Import of component 'medial_occipital_parietal_branch_T53_L196_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 214: 
Import of component 'medial_occipital_parietal_branch_T81_R264_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 215: 
Import of component 'anterior_choroidal_T34_L116_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 216: 
Import of component 'anterior_choroidal_T98_R54_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 217: 
Import of component 'anterior_parietal_T100_R100_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 218: 
Import of component 'anterior_parietal_T35_L162_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 219: 
Import of component 'artery_of_central_sulcus_T101_R70_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 220: 
Import of component 'artery_of_central_sulcus_T36_L132_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 221: 
Import of component 'artery_of_postcentral_sulcus_T102_R88_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 222: 
Import of component 'artery_of_postcentral_sulcus_T37_L150_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 223: 
Import of component 'artery_of_precentral_sulcus_T103_R72_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 224: 
Import of component 'artery_of_precentral_sulcus_T38_L134_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 225: 
Import of component 'callosomarginal_cingular_branch_T105_R250_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 226: 
Import of component 'callosomarginal_cingular_branch_T40_L182_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 227: 
Import of component 'callosomarginal_intermediomedial_frontal_branch_T106_R242_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 228: 
Import of component 'callosomarginal_intermediomedial_frontal_branch_T41_L174_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 229: 
Import of component 'callosomarginal_paracentral_branch_T107_R254_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 230: 
Import of component 'callosomarginal_paracentral_branch_T42_L186_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 231: 
Import of component 'callosomarginal_posteromedial_frontal_branch_T108_R246_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 232: 
Import of component 'callosomarginal_posteromedial_frontal_branch_T43_L178_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 233: 
Import of component 'distal_medial_striate_T109_R236_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 234: 
Import of component 'distal_medial_striate_T44_L40_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 235: 
Import of component 'lateral_frontobasal_T110_R60_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 236: 
Import of component 'lateral_frontobasal_T45_L122_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 237: 
Import of component 'lateral_occipital_anterior_temporal_branch_T111_R212_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 238: 
Import of component 'lateral_occipital_anterior_temporal_branch_T46_L16_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 239: 
Import of component 'lateral_occipital_posterior_temporal_branch_T112_R220_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 240: 
Import of component 'lateral_occipital_posterior_temporal_branch_T48_L24_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 241: 
Import of component 'medial_occipital_parieto_occipital_branch_T118_R266_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 242: 
Import of component 'medial_occipital_parieto_occipital_branch_T54_L198_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 243: 
Import of component 'middle_cerebral_anterior_temporal_branch_T119_R80_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 244: 
Import of component 'middle_cerebral_anterior_temporal_branch_T55_L142_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 245: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T120_R108_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 246: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T56_L170_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 247: 
Import of component 'middle_cerebral_middle_temporal_branch_T121_R84_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 248: 
Import of component 'middle_cerebral_middle_temporal_branch_T57_L146_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 249: 
Import of component 'middle_cerebral_posterior_temporal_branch_T122_R96_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 250: 
Import of component 'middle_cerebral_posterior_temporal_branch_T58_L158_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 251: 
Import of component 'middle_cerebral_posterior_temporo_occipital_branch_T123_R94_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 252: 
Import of component 'middle_cerebral_posterior_temporo_occipital_branch_T59_L156_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 253: 
Import of component 'pericallosal_parieto_occipital_branch_T124_R226_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 254: 
Import of component 'pericallosal_parieto_occipital_branch_T60_L30_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 255: 
Import of component 'pericallosal_precuneal_branch_T125_R230_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 256: 
Import of component 'pericallosal_precuneal_branch_T61_L34_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 257: 
Import of component 'polar_temporal_T127_R76_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 258: 
Import of component 'polar_temporal_T63_L138_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 259: 
Import of component 'posterior_parietal_T129_R106_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 260: 
Import of component 'posterior_parietal_T64_L168_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 261: 
Import of component 'prefrontal_T130_R64_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 262: 
Import of component 'prefrontal_T65_L126_module' from '/Users/Alan/libCellML/tests/resources/generator/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
---[resolveImports()][END]
/Users/Alan/libCellML/tests/generator/generator.cpp:1857: Failure
Value of: model->hasUnresolvedImports()
  Actual: true
Expected: false
---[flattenModel()][BEGIN]
Error 1: 
Units 'm3' imports units named 'm3' from the model imported from '/Users/Alan/libCellML/tests/resources/generator/5e0/Units.cellml'. The units could not be found.
---[flattenModel()][END]
---[analyseModel()][BEGIN]
Error 1: 
The model is null.
---[analyseModel()][END]
/Users/Alan/libCellML/tests/generator/generator.cpp:1871: Failure
Expected equality of these values:
  size_t(0)
    Which is: 0
  analyser->errorCount()
    Which is: 1
[  FAILED  ] Generator.test (113 ms)

I haven't looked into the import issues, but could there be a problem there... somehow?

hsorby commented 1 year ago

I haven't looked into the import issues, but could there be a problem there... somehow?

I forgot to mention that you need the changes from https://github.com/cellml/libcellml/pull/1161, otherwise the imports won't work (sorry, my bad).

agarny commented 1 year ago

I haven't looked into the import issues, but could there be a problem there... somehow?

I forgot to mention that you need the changes from #1161, otherwise the imports won't work (sorry, my bad).

I can see that you are still working on that branch (which is in our main repo?), so we will wait before checking things further.

hsorby commented 1 year ago

I can see that you are still working on that branch (which is in our main repo?), so we will wait before checking things further.

No, I am not working on it anymore. I just fixed a clang format error. It will be ready for reviewing once https://github.com/cellml/libcellml/pull/1157 has been dealt with.

agarny commented 1 year ago

I can see that you are still working on that branch (which is in our main repo?), so we will wait before checking things further.

No, I am not working on it anymore. I just fixed a clang format error. It will be ready for reviewing once #1157 has been dealt with.

1157 has been merged in. Didn't realise that @nickerso had also approved it.

agarny commented 1 year ago

@hsorby, FWIW, I have created a special branch with this PR and yours (#1161), but I am still getting all sort of import-related issues:

[ RUN      ] Generator.test
---[resolveImports()][BEGIN]
Error  1: 
Import of units 'm3' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'm3' which cannot be found.
Error  2: 
Import of units 'm3_per_s' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'm3_per_s' which cannot be found.
Error  3: 
Import of units 'm6_per_J' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'm6_per_J' which cannot be found.
Error  4: 
Import of units 'per_m' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'per_m' which cannot be found.
Error  5: 
Import of units 'J_per_m3' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'J_per_m3' which cannot be found.
Error  6: 
Import of units 'Js_per_m6' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'Js_per_m6' which cannot be found.
Error  7: 
Import of units 'Js2_per_m6' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'Js2_per_m6' which cannot be found.
Error  8: 
Import of units 'Js2_per_m5' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'Js2_per_m5' which cannot be found.
Error  9: 
Import of units 'J_per_s' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'J_per_s' which cannot be found.
Error 10: 
Import of units 'J_per_m6' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'J_per_m6' which cannot be found.
Error 11: 
Import of units 'Js_per_m3' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'Js_per_m3' which cannot be found.
Error 12: 
Import of units 'UnitValve' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml' requires units named 'UnitValve' which cannot be found.
Error 13: 
Import of component 'Parameters_Systemic' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Parameters218.cellml' requires component named 'Parameters_Systemic' which cannot be found.
Error 14: 
Import of component 'Parameters_Pulmonary' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Parameters218.cellml' requires component named 'Parameters_Pulmonary' which cannot be found.
Error 15: 
Import of component 'Parameters_Heart' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Parameters218.cellml' requires component named 'Parameters_Heart' which cannot be found.
Error 16: 
Import of component 'ascending_aorta_A_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_type' which cannot be found.
Error 17: 
Import of component 'ascending_aorta_B_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 18: 
Import of component 'ascending_aorta_C_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 19: 
Import of component 'ascending_aorta_D_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 20: 
Import of component 'aortic_arch_C2_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 21: 
Import of component 'brachiocephalic_trunk_C4_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 22: 
Import of component 'aortic_arch_C46_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 23: 
Import of component 'aortic_arch_C64_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 24: 
Import of component 'aortic_arch_C94_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 25: 
Import of component 'thoracic_aorta_C96_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 26: 
Import of component 'thoracic_aorta_C100_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 27: 
Import of component 'thoracic_aorta_C104_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 28: 
Import of component 'thoracic_aorta_C108_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 29: 
Import of component 'thoracic_aorta_C112_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 30: 
Import of component 'abdominal_aorta_C114_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 31: 
Import of component 'abdominal_aorta_C136_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 32: 
Import of component 'abdominal_aorta_C164_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 33: 
Import of component 'abdominal_aorta_C176_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 34: 
Import of component 'abdominal_aorta_C188_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 35: 
Import of component 'abdominal_aorta_C192_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 36: 
Import of component 'posterior_intercostal_T1_R98_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 37: 
Import of component 'posterior_intercostal_T1_L102_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 38: 
Import of component 'posterior_intercostal_T2_R106_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 39: 
Import of component 'posterior_intercostal_T2_L110_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 40: 
Import of component 'celiac_trunk_C116_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 41: 
Import of component 'splenic_T2_C118_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 42: 
Import of component 'left_gastric_T3_C120_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 43: 
Import of component 'splenic_T2_C122_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 44: 
Import of component 'dorsal_pancreatic_T1_C124_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 45: 
Import of component 'splenic_T2_C126_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 46: 
Import of component 'common_hepatic_C128_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 47: 
Import of component 'hepatic_artery_proper_C130_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 48: 
Import of component 'hepatic_artery_proper_left_branch_C132_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 49: 
Import of component 'hepatic_artery_proper_right_branch_C134_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 50: 
Import of component 'superior_mesenteric_T4_C138_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 51: 
Import of component 'middle_colic_T8_C140_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 52: 
Import of component 'superior_mesenteric_T4_C142_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 53: 
Import of component 'jejunal_3_T10_C144_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 54: 
Import of component 'superior_mesenteric_T4_C146_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 55: 
Import of component 'jejunal_6_T11_C148_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 56: 
Import of component 'superior_mesenteric_T4_C150_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 57: 
Import of component 'ileocolic_T9_C152_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 58: 
Import of component 'superior_mesenteric_T4_C154_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 59: 
Import of component 'ileal_4_T12_C156_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 60: 
Import of component 'superior_mesenteric_T4_C158_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 61: 
Import of component 'ileal_6_T13_C160_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 62: 
Import of component 'superior_mesenteric_T4_C162_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 63: 
Import of component 'renal_L166_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 64: 
Import of component 'renal_anterior_branch_L168_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 65: 
Import of component 'inferior_segmental_T5_L170_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 66: 
Import of component 'superior_segmental_T4_L172_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 67: 
Import of component 'renal_posterior_branch_T3_L174_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 68: 
Import of component 'renal_R178_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 69: 
Import of component 'renal_anterior_branch_R180_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 70: 
Import of component 'superior_segmental_T4_R182_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 71: 
Import of component 'inferior_segmental_T5_R184_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 72: 
Import of component 'renal_posterior_branch_T3_R186_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 73: 
Import of component 'inferior_mesenteric_T5_C190_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 74: 
Import of component 'common_iliac_R216_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 75: 
Import of component 'internal_iliac_T1_R218_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 76: 
Import of component 'external_iliac_R220_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 77: 
Import of component 'femoral_R222_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 78: 
Import of component 'profundus_T2_R224_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 79: 
Import of component 'femoral_R226_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 80: 
Import of component 'popliteal_R228_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 81: 
Import of component 'anterior_tibial_T3_R230_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 82: 
Import of component 'popliteal_R232_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 83: 
Import of component 'tibiofibular_trunk_R234_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 84: 
Import of component 'posterior_tibial_T4_R236_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 85: 
Import of component 'common_iliac_L194_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 86: 
Import of component 'internal_iliac_T1_L196_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 87: 
Import of component 'external_iliac_L198_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 88: 
Import of component 'femoral_L200_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 89: 
Import of component 'profundus_T2_L202_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 90: 
Import of component 'femoral_L204_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 91: 
Import of component 'popliteal_L206_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 92: 
Import of component 'anterior_tibial_T3_L208_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 93: 
Import of component 'popliteal_L210_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 94: 
Import of component 'tibiofibular_trunk_L212_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 95: 
Import of component 'posterior_tibial_T4_L214_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 96: 
Import of component 'subclavian_R28_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 97: 
Import of component 'subclavian_R30_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 98: 
Import of component 'axillary_R32_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 99: 
Import of component 'brachial_R34_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 100: 
Import of component 'ulnar_T2_R36_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 101: 
Import of component 'common_interosseous_R38_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 102: 
Import of component 'posterior_interosseous_T3_R40_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 103: 
Import of component 'ulnar_T2_R42_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 104: 
Import of component 'radial_T1_R44_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 105: 
Import of component 'subclavian_L66_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 106: 
Import of component 'subclavian_L78_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 107: 
Import of component 'axillary_L80_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 108: 
Import of component 'brachial_L82_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 109: 
Import of component 'ulnar_T2_L84_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 110: 
Import of component 'common_interosseous_L86_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 111: 
Import of component 'posterior_interosseous_T3_L88_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 112: 
Import of component 'ulnar_T2_L90_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 113: 
Import of component 'radial_T1_L92_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 114: 
Import of component 'common_carotid_R6_A_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 115: 
Import of component 'common_carotid_R6_B_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 116: 
Import of component 'common_carotid_R6_C_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 117: 
Import of component 'internal_carotid_R8_A_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 118: 
Import of component 'internal_carotid_R8_B_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 119: 
Import of component 'internal_carotid_R8_C_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 120: 
Import of component 'external_carotid_T2_R26_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 121: 
Import of component 'common_carotid_L48_A_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 122: 
Import of component 'common_carotid_L48_B_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 123: 
Import of component 'common_carotid_L48_C_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 124: 
Import of component 'common_carotid_L48_D_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 125: 
Import of component 'internal_carotid_L50_A_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 126: 
Import of component 'internal_carotid_L50_B_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 127: 
Import of component 'internal_carotid_L50_C_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 128: 
Import of component 'external_carotid_T2_L62_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 129: 
Import of component 'anterior_cerebral_L110_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 130: 
Import of component 'anterior_cerebral_L38_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 131: 
Import of component 'anterior_cerebral_L42_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 132: 
Import of component 'anterior_cerebral_R234_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 133: 
Import of component 'anterior_cerebral_R238_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 134: 
Import of component 'anterior_cerebral_R46_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 135: 
Import of component 'anterior_communicating_C44_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 136: 
Import of component 'basilar_C4_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 137: 
Import of component 'callosomarginal_L172_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 138: 
Import of component 'callosomarginal_L176_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 139: 
Import of component 'callosomarginal_L180_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 140: 
Import of component 'callosomarginal_L184_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 141: 
Import of component 'callosomarginal_R240_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 142: 
Import of component 'callosomarginal_R244_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 143: 
Import of component 'callosomarginal_R248_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 144: 
Import of component 'callosomarginal_R252_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 145: 
Import of component 'internal_carotid_L112_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 146: 
Import of component 'internal_carotid_R48_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 147: 
Import of component 'medial_occipital_dorsal_branch_to_corpus_callosum_L28_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 148: 
Import of component 'medial_occipital_dorsal_branch_to_corpus_callosum_R224_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 149: 
Import of component 'medial_occipital_L188_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 150: 
Import of component 'medial_occipital_L192_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 151: 
Import of component 'medial_occipital_L200_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 152: 
Import of component 'medial_occipital_L26_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 153: 
Import of component 'medial_occipital_R222_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 154: 
Import of component 'medial_occipital_R256_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 155: 
Import of component 'medial_occipital_R260_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 156: 
Import of component 'medial_occipital_R268_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 157: 
Import of component 'middle_cerebral_inferior_terminal_branch_L136_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 158: 
Import of component 'middle_cerebral_inferior_terminal_branch_L140_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 159: 
Import of component 'middle_cerebral_inferior_terminal_branch_L144_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 160: 
Import of component 'middle_cerebral_inferior_terminal_branch_L148_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 161: 
Import of component 'middle_cerebral_inferior_terminal_branch_L152_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 162: 
Import of component 'middle_cerebral_inferior_terminal_branch_L160_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 163: 
Import of component 'middle_cerebral_inferior_terminal_branch_L164_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 164: 
Import of component 'middle_cerebral_inferior_terminal_branch_R102_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 165: 
Import of component 'middle_cerebral_inferior_terminal_branch_R74_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 166: 
Import of component 'middle_cerebral_inferior_terminal_branch_R78_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 167: 
Import of component 'middle_cerebral_inferior_terminal_branch_R82_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 168: 
Import of component 'middle_cerebral_inferior_terminal_branch_R86_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 169: 
Import of component 'middle_cerebral_inferior_terminal_branch_R90_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 170: 
Import of component 'middle_cerebral_inferior_terminal_branch_R98_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 171: 
Import of component 'middle_cerebral_L114_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 172: 
Import of component 'middle_cerebral_L118_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 173: 
Import of component 'middle_cerebral_R52_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 174: 
Import of component 'middle_cerebral_R56_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 175: 
Import of component 'middle_cerebral_superior_terminal_branch_L120_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 176: 
Import of component 'middle_cerebral_superior_terminal_branch_L124_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 177: 
Import of component 'middle_cerebral_superior_terminal_branch_L128_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 178: 
Import of component 'middle_cerebral_superior_terminal_branch_R58_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 179: 
Import of component 'middle_cerebral_superior_terminal_branch_R62_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 180: 
Import of component 'middle_cerebral_superior_terminal_branch_R66_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 181: 
Import of component 'occipital_lateral_L14_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 182: 
Import of component 'occipital_lateral_L18_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 183: 
Import of component 'occipital_lateral_L22_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 184: 
Import of component 'occipital_lateral_R210_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 185: 
Import of component 'occipital_lateral_R214_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 186: 
Import of component 'occipital_lateral_R218_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_type' which cannot be found.
Error 187: 
Import of component 'pericallosal_L32_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 188: 
Import of component 'pericallosal_L36_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 189: 
Import of component 'pericallosal_R228_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 190: 
Import of component 'pericallosal_R232_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 191: 
Import of component 'posterior_cerebral_postcommunicating_part_L12_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 192: 
Import of component 'posterior_cerebral_postcommunicating_part_R208_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'vv_jII_type' which cannot be found.
Error 193: 
Import of component 'posterior_cerebral_precommunicating_part_L6_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 194: 
Import of component 'posterior_cerebral_precommunicating_part_R204_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 195: 
Import of component 'posterior_communicating_L8_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 196: 
Import of component 'posterior_communicating_R206_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 197: 
Import of component 'vertebral_L2_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 198: 
Import of component 'vertebral_R272_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_type' which cannot be found.
Error 199: 
Import of component 'artery_of_precentral_sulcus_T103_R68_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 200: 
Import of component 'artery_of_precentral_sulcus_T38_L130_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 201: 
Import of component 'medial_occipital_parieto_occipital_branch_T118_R262_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 202: 
Import of component 'medial_occipital_parieto_occipital_branch_T54_L194_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 203: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T120_R104_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 204: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T56_L166_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 205: 
Import of component 'middle_cerebral_posterior_temporal_branch_T122_R92_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 206: 
Import of component 'middle_cerebral_posterior_temporal_branch_T58_L154_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pv_jII_type' which cannot be found.
Error 207: 
Import of component 'lateral_occipital_intermediate_temporal_branch_T47_L20_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 208: 
Import of component 'lateral_occipital_intermediate_temporal_branch_T76_R216_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 209: 
Import of component 'medial_occipital_calcarine_branch_T51_L202_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 210: 
Import of component 'medial_occipital_calcarine_branch_T79_R270_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 211: 
Import of component 'medial_occipital_occipitotemporal_branch_T52_L190_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 212: 
Import of component 'medial_occipital_occipitotemporal_branch_T80_R258_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 213: 
Import of component 'medial_occipital_parietal_branch_T53_L196_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 214: 
Import of component 'medial_occipital_parietal_branch_T81_R264_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 215: 
Import of component 'anterior_choroidal_T34_L116_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 216: 
Import of component 'anterior_choroidal_T98_R54_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 217: 
Import of component 'anterior_parietal_T100_R100_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 218: 
Import of component 'anterior_parietal_T35_L162_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 219: 
Import of component 'artery_of_central_sulcus_T101_R70_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 220: 
Import of component 'artery_of_central_sulcus_T36_L132_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 221: 
Import of component 'artery_of_postcentral_sulcus_T102_R88_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 222: 
Import of component 'artery_of_postcentral_sulcus_T37_L150_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 223: 
Import of component 'artery_of_precentral_sulcus_T103_R72_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 224: 
Import of component 'artery_of_precentral_sulcus_T38_L134_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 225: 
Import of component 'callosomarginal_cingular_branch_T105_R250_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 226: 
Import of component 'callosomarginal_cingular_branch_T40_L182_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 227: 
Import of component 'callosomarginal_intermediomedial_frontal_branch_T106_R242_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 228: 
Import of component 'callosomarginal_intermediomedial_frontal_branch_T41_L174_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 229: 
Import of component 'callosomarginal_paracentral_branch_T107_R254_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 230: 
Import of component 'callosomarginal_paracentral_branch_T42_L186_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 231: 
Import of component 'callosomarginal_posteromedial_frontal_branch_T108_R246_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 232: 
Import of component 'callosomarginal_posteromedial_frontal_branch_T43_L178_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 233: 
Import of component 'distal_medial_striate_T109_R236_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 234: 
Import of component 'distal_medial_striate_T44_L40_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 235: 
Import of component 'lateral_frontobasal_T110_R60_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 236: 
Import of component 'lateral_frontobasal_T45_L122_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 237: 
Import of component 'lateral_occipital_anterior_temporal_branch_T111_R212_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 238: 
Import of component 'lateral_occipital_anterior_temporal_branch_T46_L16_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 239: 
Import of component 'lateral_occipital_posterior_temporal_branch_T112_R220_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 240: 
Import of component 'lateral_occipital_posterior_temporal_branch_T48_L24_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 241: 
Import of component 'medial_occipital_parieto_occipital_branch_T118_R266_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 242: 
Import of component 'medial_occipital_parieto_occipital_branch_T54_L198_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 243: 
Import of component 'middle_cerebral_anterior_temporal_branch_T119_R80_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 244: 
Import of component 'middle_cerebral_anterior_temporal_branch_T55_L142_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 245: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T120_R108_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 246: 
Import of component 'middle_cerebral_branch_to_angular_gyrus_T56_L170_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 247: 
Import of component 'middle_cerebral_middle_temporal_branch_T121_R84_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 248: 
Import of component 'middle_cerebral_middle_temporal_branch_T57_L146_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 249: 
Import of component 'middle_cerebral_posterior_temporal_branch_T122_R96_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 250: 
Import of component 'middle_cerebral_posterior_temporal_branch_T58_L158_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 251: 
Import of component 'middle_cerebral_posterior_temporo_occipital_branch_T123_R94_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 252: 
Import of component 'middle_cerebral_posterior_temporo_occipital_branch_T59_L156_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 253: 
Import of component 'pericallosal_parieto_occipital_branch_T124_R226_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 254: 
Import of component 'pericallosal_parieto_occipital_branch_T60_L30_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 255: 
Import of component 'pericallosal_precuneal_branch_T125_R230_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 256: 
Import of component 'pericallosal_precuneal_branch_T61_L34_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 257: 
Import of component 'polar_temporal_T127_R76_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 258: 
Import of component 'polar_temporal_T63_L138_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 259: 
Import of component 'posterior_parietal_T129_R106_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 260: 
Import of component 'posterior_parietal_T64_L168_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 261: 
Import of component 'prefrontal_T130_R64_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
Error 262: 
Import of component 'prefrontal_T65_L126_module' from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/BG_Modules.cellml' requires component named 'pp_BC_type' which cannot be found.
---[resolveImports()][END]
/Users/Alan/Work/Programming/libCellML/tests/generator/generator.cpp:1864: Failure
Value of: model->hasUnresolvedImports()
  Actual: true
Expected: false
---[flattenModel()][BEGIN]
Error 1: 
Units 'm3' imports units named 'm3' from the model imported from '/Users/Alan/Work/Programming/libCellML/tests/resources/../../../../../Desktop/5e0/Units.cellml'. The units could not be found.
---[flattenModel()][END]
---[analyseModel()][BEGIN]
Error 1: 
The model is null.
---[analyseModel()][END]
/Users/Alan/Work/Programming/libCellML/tests/generator/generator.cpp:1878: Failure
Expected equality of these values:
  size_t(0)
    Which is: 0
  analyser->errorCount()
    Which is: 1
[  FAILED  ] Generator.test (1162 ms)

Will have another look once #1161 has been merged in.

agarny commented 1 year ago

Ok, as can be seen, this PR is up to date with our main branch and therefore includes #1161. However, I am still getting those import issues when trying Soroush's model together with your changes @hsorby (see https://github.com/cellml/libcellml/pull/942#issuecomment-1532426648). (I can confirm that the CellML files have been modified as per https://github.com/cellml/libcellml/pull/942#issuecomment-1532263951.)

agarny commented 1 year ago

Other than an overt use of auto which I think we should have a discussion about to get to some standard for this codebase.

Yes, I will have to agree that I tend to use it quite extensively nowadays. Happy to come up with some standard for this codebase though.

I think this looks good. I do have an outstanding problem with the Python generated code which I am playing with to see if I can make it viable. Which is why I am holding back on the approval.

Oh, so no need for me to come up with a small Python-based solver like I did for the C generator?

agarny commented 1 year ago

In the void initialiseVariables(double *states, double *rates, double *variables); function is the rates argument ever used without the external variable argument?

It actually has nothing to do with external variables. The reason it was introduced is that rates[x] may now be computed using an NLA equation, in which case we need to have an initial guess for rates[x] and this is done through initialiseVariables().

hsorby commented 1 year ago

In the void initialiseVariables(double *states, double *rates, double *variables); function is the rates argument ever used without the external variable argument?

It actually has nothing to do with external variables. The reason it was introduced is that rates[x] may now be computed using an NLA equation, in which case we need to have an initial guess for rates[x] and this is done through initialiseVariables().

Do we have a test showing this, I couldn't see a test generating a rates argument in the initialiseVariables() without also using the externalVariable argument.

agarny commented 1 year ago

In the void initialiseVariables(double *states, double *rates, double *variables); function is the rates argument ever used without the external variable argument?

It actually has nothing to do with external variables. The reason it was introduced is that rates[x] may now be computed using an NLA equation, in which case we need to have an initial guess for rates[x] and this is done through initialiseVariables().

Do we have a test showing this, I couldn't see a test generating a rates argument in the initialiseVariables() without also using the externalVariable argument.

Yes: https://github.com/cellml/libcellml/blob/842346d1cd3288dab5ad61d8a9fd553c2113c575/tests/resources/generator/hodgkin_huxley_squid_axon_model_1952/model.dae.c#L489-L517.