Changeset 14218


Ignore:
Timestamp:
Nov 28, 2019 4:21:57 PM (7 days ago)
Author:
Christian Andersson
Message:

Updated C-code generation after review comments, ticket:5882

Location:
branches/dev-cw-2719/Compiler
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGen.jrag

    r14199 r14218  
    280280
    281281    eq FVariable.name_C()           = isForIndex() ?
    282                                         "jmi_array_val_1(" + C_LOOP_INDEX + "_r1, " + myCodeGenContext().getForLoopDepth() + ")" :
     282                                        C_LOOP_INDEX + "_r1[" + myCodeGenContext().myForLoopDepth() + "]" :
    283283                                        name_C("");
    284284    eq FStringVariable.name_C()     = name_C("_s_" + variabilityCausality_C());
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenAlgorithms.jrag

    r14199 r14218  
    320320    public void FExp.printForIndexInit_C(CodePrinter p, CodeStream str, String indent) {}
    321321   
    322     public String FExp.getForIndexArrayAccess(boolean reference, String suffix) {
    323         if (reference) {
    324             return "jmi_array_ref_1(" + C_LOOP_INDEX + suffix +", " + this.myCodeGenContext().getForLoopDepth() + ")";
    325         } else {
    326             return "jmi_array_val_1(" + C_LOOP_INDEX + suffix +", " + this.myCodeGenContext().getForLoopDepth() + ")";
    327         }
     322    public String FExp.forIndexName_C(String suffix) {
     323        return C_LOOP_INDEX + suffix +"[" + myCodeGenContext().myForLoopDepth() + "]";
    328324    }
    329325
    330326    @Override
    331327    public void FRangeExp.printForIndexInit_C(CodePrinter p, CodeStream str, String indent) {
    332         String nameEAccess = getForIndexArrayAccess(false, "_i1");
    333         String nameERef = getForIndexArrayAccess(true, "_i1");
    334         String nameNAccess = getForIndexArrayAccess(false, "_i2");
    335         String nameNRef = getForIndexArrayAccess(true, "_i2");
     328        String nameE = forIndexName_C("_i1");
     329        String nameN = forIndexName_C("_i2");
    336330
    337331        boolean hasStep = hasStep();
     
    340334        FExp step = hasStep ? getFExp(1) : null;
    341335       
    342         str.print(indent, nameNRef, " = 0;\n");
    343         str.print(indent, nameERef, " = floor(");
     336        str.print(indent, nameN, " = 0;\n");
     337        str.print(indent, nameE, " = floor(");
    344338        if (hasStep) {
    345339            str.print("(");
     
    381375    @Override
    382376    public void FAccessExp.printForIndex_C(CodePrinter p, CodeStream str, String indent) {
    383         String nameEAccess = getForIndexArrayAccess(false, "_i1");
    384         String nameERef    = getForIndexArrayAccess(true, "_i1");
     377        String nameE = forIndexName_C("_i1");
    385378       
    386         str.format("%1$s = 0; %2$s < jmi_array_size(%3$s, 0); (%1$s)++",
    387                 nameERef, nameEAccess, getFAccess().toString_C(p));
     379        str.format("%1$s = 0; %1$s < jmi_array_size(%2$s, 0); (%1$s)++",
     380                nameE, getFAccess().toString_C(p));
    388381    }
    389382
     
    393386        FExp step = getFExp(1);
    394387       
    395         String nameEAccess = getForIndexArrayAccess(false, "_i1");
    396         String nameNAccess = getForIndexArrayAccess(false, "_i2");
    397         String nameNRef = getForIndexArrayAccess(true, "_i2");
    398         String nameRef = getForIndexArrayAccess(true, "_r1");
    399         String nameAccess = getForIndexArrayAccess(false, "_r1");
    400        
     388        String nameE = forIndexName_C("_i1");
     389        String nameN = forIndexName_C("_i2");
     390        String name = forIndexName_C("_r1");
    401391       
    402392        /*
    403393         * Initial expression.
    404394         */
    405         str.print(nameRef, " = ");
     395        str.print(name, " = ");
    406396        p.print(start, str, indent);
    407397        str.print("; ");
     
    410400         * Conditional expression.
    411401         */
    412         str.print(nameNAccess, " <= ", nameEAccess, "; ");
     402        str.print(nameN, " <= ", nameE, "; ");
    413403
    414404        /*
    415405         * Iteration expression.
    416406         */
    417         str.print(nameRef, " = ");
     407        str.print(name, " = ");
    418408        p.print(start, str, indent);
    419409        str.print(" + ");
     
    423413            str.print(") * ");
    424414        }
    425         str.print("(++(", nameNRef, "))");
     415        str.print("(++(", nameN, "))");
    426416    }
    427417
     
    435425    @Override
    436426    public void FAccessExp.printForIndexNext_C(CodePrinter p, CodeStream str, String indent) {
    437         String nameEAccess = getForIndexArrayAccess(false, "_i1");
    438         String nameRef = getForIndexArrayAccess(true, "_r1");
     427        String nameE = forIndexName_C("_i1");
     428        String name = forIndexName_C("_r1");
     429
    439430        str.format("%1$s%2$s = jmi_array_val_1(%3$s, %4$s);\n",
    440                 indent, nameRef, getFAccess().toString_C(p), nameEAccess);
     431                indent, name, getFAccess().toString_C(p), nameE);
    441432    }
    442433
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenFunction.jrag

    r14203 r14218  
    236236    public void FFunctionDecl.genForVarDecls_C(CodePrinter p, CodeStream str, String indent) {
    237237        int maxForLoopDepth = maxForLoopDepth();
    238         Size sizeMaxForLoopDepth = new Size(maxForLoopDepth);
    239        
    240         FIntegerType intType = new FIntegerType(sizeMaxForLoopDepth);
    241         FRealType realType   = new FRealType(sizeMaxForLoopDepth);
     238
    242239        if (maxForLoopDepth > 0) {
    243             realType.printArrayDecl_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_r1", true);
    244             intType.printArrayDecl_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i1", true);
    245             intType.printArrayDecl_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i2", true);
    246        
    247             realType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_r1", true);
    248             intType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i1", true);
    249             intType.printInitArray_C(p, str, indent, Dynamicity.STACK, C_LOOP_INDEX + "_i2", true);
     240            str.println(indent,  " jmi_real_t ", C_LOOP_INDEX + "_r1", "[", maxForLoopDepth, "];");
     241            str.println(indent,  " jmi_int_t ", C_LOOP_INDEX + "_i1", "[", maxForLoopDepth, "];");
     242            str.println(indent,  " jmi_int_t ", C_LOOP_INDEX + "_i2", "[", maxForLoopDepth, "];");
    250243        }
    251244    }
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenNames.jrag

    r14175 r14218  
    6363    }
    6464    eq FForStmt.maxForLoopDepth() = 1 + super.maxForLoopDepth();
    65 
    6665    private CodeGenContext FClass.codeGenContext = new CodeGenContext();
    6766    private CodeGenContext FFunctionDecl.codeGenContext = new CodeGenContext();
     
    7271    public class CodeGenContext {
    7372        private int nextTempNbr_C = 1;
    74         public int currentForLoopDepth = 0;
     73        public int currentForLoopDepth = -1;
    7574        private Map<String,String> recordChildTempNames = new HashMap<>();
    7675       
     
    7978        }
    8079       
    81         public int getForLoopDepth() {
     80        public int myForLoopDepth() {
    8281            return currentForLoopDepth;
    8382        }
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenAlgorithmTests.mo

    r14203 r14218  
    965965    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1)
    966966    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    967     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    968     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    969     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    970     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    971     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    972     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     967     jmi_real_t _for_loop_variables_r1[1];
     968     jmi_int_t _for_loop_variables_i1[1];
     969     jmi_int_t _for_loop_variables_i2[1];
    973970    if (o_a == NULL) {
    974971        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    978975    jmi_array_ref_1(temp_1_a, 1) = 1;
    979976    jmi_array_ref_1(temp_1_a, 2) = 1;
    980     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    981     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    982     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    983         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     977    _for_loop_variables_i2[0] = 0;
     978    _for_loop_variables_i1[0] = floor((2) - (1));
     979    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     980        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    984981    }
    985982    JMI_DYNAMIC_FREE()
     
    995992    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    996993    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_2_a, 2, 1)
    997     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    998     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    999     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    1000     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    1001     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    1002     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     994     jmi_real_t _for_loop_variables_r1[1];
     995     jmi_int_t _for_loop_variables_i1[1];
     996     jmi_int_t _for_loop_variables_i2[1];
    1003997    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1, 3)
    1004998    r__v->a = tmp_1;
     
    10101004    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
    10111005    func_CCodeGenAlgorithmTests_Algorithm9_f_def0(temp_1_a);
    1012     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1013     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1014     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1015         jmi_array_ref_1(r_v->a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 2 * jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     1006    _for_loop_variables_i2[0] = 0;
     1007    _for_loop_variables_i1[0] = floor((2) - (1));
     1008    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1009        jmi_array_ref_1(r_v->a, _for_loop_variables_r1[0]) = 2 * jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    10161010    }
    10171011    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_2_a, 2, 1, 2)
    10181012    func_CCodeGenAlgorithmTests_Algorithm9_f_def0(temp_2_a);
    1019     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1020     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1021     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1022         jmi_array_ref_1(r_v->a, 2 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1)) = jmi_array_val_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    1023     }
    1024     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1025     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    1026     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1027         jmi_array_ref_1(r__v->a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(r_v->a, jmi_array_val_1(_for_loop_variables_r1, 1));
     1013    _for_loop_variables_i2[0] = 0;
     1014    _for_loop_variables_i1[0] = floor((2) - (1));
     1015    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1016        jmi_array_ref_1(r_v->a, 2 + (_for_loop_variables_r1[0] - 1)) = jmi_array_val_1(temp_2_a, _for_loop_variables_r1[0]);
     1017    }
     1018    _for_loop_variables_i2[0] = 0;
     1019    _for_loop_variables_i1[0] = floor((3) - (1));
     1020    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1021        jmi_array_ref_1(r__v->a, _for_loop_variables_r1[0]) = jmi_array_val_1(r_v->a, _for_loop_variables_r1[0]);
    10281022    }
    10291023    JMI_DYNAMIC_FREE()
     
    11151109    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_5_a, 2, 1)
    11161110    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_6_a, 2, 1)
    1117     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    1118     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1119     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    1120     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    1121     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    1122     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     1111     jmi_real_t _for_loop_variables_r1[1];
     1112     jmi_int_t _for_loop_variables_i1[1];
     1113     jmi_int_t _for_loop_variables_i2[1];
    11231114    if (o_a == NULL) {
    11241115        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 5, 1, 5)
     
    11341125    jmi_array_ref_1(temp_2_a, 2) = 1;
    11351126    jmi_array_ref_1(temp_2_a, 3) = 1;
    1136     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1137     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    1138     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1139         jmi_array_ref_1(o_a, jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))) = jmi_array_val_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     1127    _for_loop_variables_i2[0] = 0;
     1128    _for_loop_variables_i1[0] = floor((3) - (1));
     1129    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1130        jmi_array_ref_1(o_a, jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0])) = jmi_array_val_1(temp_2_a, _for_loop_variables_r1[0]);
    11401131    }
    11411132    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_4_a, 2, 1, 2)
     
    11431134    jmi_array_ref_1(temp_4_a, 2) = 5;
    11441135    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_3_a, 2, 1, 2)
    1145     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1146     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1147     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1148         jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(o_a, jmi_array_val_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 1)));
     1136    _for_loop_variables_i2[0] = 0;
     1137    _for_loop_variables_i1[0] = floor((2) - (1));
     1138    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1139        jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = jmi_array_val_1(o_a, jmi_array_val_1(temp_4_a, _for_loop_variables_r1[0]));
    11491140    }
    11501141    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_5_a, 2, 1, 2)
     
    11531144    jmi_array_ref_1(temp_6_a, 1) = 2;
    11541145    jmi_array_ref_1(temp_6_a, 2) = 4;
    1155     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1156     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1157     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1158         jmi_array_ref_1(o_a, jmi_array_ref_1(temp_6_a, jmi_array_val_1(_for_loop_variables_r1, 1))) = jmi_array_val_1(temp_5_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     1146    _for_loop_variables_i2[0] = 0;
     1147    _for_loop_variables_i1[0] = floor((2) - (1));
     1148    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1149        jmi_array_ref_1(o_a, jmi_array_ref_1(temp_6_a, _for_loop_variables_r1[0])) = jmi_array_val_1(temp_5_a, _for_loop_variables_r1[0]);
    11591150    }
    11601151    JMI_RET(GEN, dummy_o, dummy_v)
     
    11671158    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1)
    11681159    JMI_DEF(REA, dummy_v)
    1169     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    1170     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1171     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    1172     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    1173     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    1174     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     1160     jmi_real_t _for_loop_variables_r1[1];
     1161     jmi_int_t _for_loop_variables_i1[1];
     1162     jmi_int_t _for_loop_variables_i2[1];
    11751163    if (o_a == NULL) {
    11761164        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    11781166    }
    11791167    dummy_v = 1;
    1180     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1181     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1182     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1183         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(i_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     1168    _for_loop_variables_i2[0] = 0;
     1169    _for_loop_variables_i1[0] = floor((2) - (1));
     1170    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1171        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(i_a, _for_loop_variables_r1[0]);
    11841172    }
    11851173    JMI_RET(GEN, dummy_o, dummy_v)
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenArrayTests.mo

    r14203 r14218  
    3939    JMI_DEF(REA, temp_1_v)
    4040    JMI_DEF(REA, temp_2_v)
    41     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    42     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    43     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    44     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    45     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    46     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     41     jmi_real_t _for_loop_variables_r1[1];
     42     jmi_int_t _for_loop_variables_i1[1];
     43     jmi_int_t _for_loop_variables_i2[1];
    4744    temp_2_v = 0.0;
    48     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    49     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    50     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    51         temp_2_v = temp_2_v + jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)) * jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     45    _for_loop_variables_i2[0] = 0;
     46    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     47    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     48        temp_2_v = temp_2_v + jmi_array_val_1(x_a, _for_loop_variables_r1[0]) * jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    5249    }
    5350    temp_1_v = temp_2_v;
     
    256253    JMI_RECORD_STATIC(R_0_r, r_v)
    257254    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1)
    258     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    259     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    260     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    261     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    262     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    263     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     255     jmi_real_t _for_loop_variables_r1[1];
     256     jmi_int_t _for_loop_variables_i1[1];
     257     jmi_int_t _for_loop_variables_i2[1];
    264258    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 3, 1, 3)
    265259    r_v->x = tmp_1;
    266260    y_v = x_v;
    267261    r_v->n = 3;
    268     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    269     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    270     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    271         jmi_array_ref_1(r_v->x, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     262    _for_loop_variables_i2[0] = 0;
     263    _for_loop_variables_i1[0] = floor((3) - (1));
     264    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     265        jmi_array_ref_1(r_v->x, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    272266    }
    273267    JMI_RET(GEN, y_o, y_v)
     
    804798    JMI_DEF(REA, y_v)
    805799    JMI_DEF(REA, temp_1_v)
    806     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    807     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    808     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    809     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    810     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    811     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    812     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    813     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(r_a, 0)) - (1));
    814     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
     800     jmi_real_t _for_loop_variables_r1[2];
     801     jmi_int_t _for_loop_variables_i1[2];
     802     jmi_int_t _for_loop_variables_i2[2];
     803    _for_loop_variables_i2[0] = 0;
     804    _for_loop_variables_i1[0] = floor((jmi_array_size(r_a, 0)) - (1));
     805    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
    815806        temp_1_v = 0.0;
    816         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    817         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(jmi_array_rec_1(r_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, 0)) - (1));
    818         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    819             temp_1_v = temp_1_v + jmi_array_val_1(jmi_array_rec_1(r_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     807        _for_loop_variables_i2[1] = 0;
     808        _for_loop_variables_i1[1] = floor((jmi_array_size(jmi_array_rec_1(r_a, _for_loop_variables_r1[0])->x, 0)) - (1));
     809        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     810            temp_1_v = temp_1_v + jmi_array_val_1(jmi_array_rec_1(r_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    820811        }
    821812        y_v = y_v + temp_1_v;
     
    978969    JMI_DEF(REA, y_v)
    979970    JMI_DEF(REA, temp_1_v)
    980     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    981     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    982     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    983     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    984     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    985     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     971     jmi_real_t _for_loop_variables_r1[1];
     972     jmi_int_t _for_loop_variables_i1[1];
     973     jmi_int_t _for_loop_variables_i2[1];
    986974    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, xs_a, n_v, 1, n_v)
    987975    JMI_ARRAY_INIT_1(HEAP, R_0_r, R_0_ra, rs_a, n_v, 1, n_v)
     
    989977    for (tmp_1 = 1; tmp_1 < tmp_1_max; tmp_1++) {
    990978    }
    991     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    992     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    993     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    994         jmi_array_rec_1(rs_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x = 1;
    995     }
    996     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    997     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    998     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    999         jmi_array_ref_1(xs_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_rec_1(rs_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x;
     979    _for_loop_variables_i2[0] = 0;
     980    _for_loop_variables_i1[0] = floor((n_v) - (1));
     981    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     982        jmi_array_rec_1(rs_a, _for_loop_variables_r1[0])->x = 1;
     983    }
     984    _for_loop_variables_i2[0] = 0;
     985    _for_loop_variables_i1[0] = floor((n_v) - (1));
     986    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     987        jmi_array_ref_1(xs_a, _for_loop_variables_r1[0]) = jmi_array_rec_1(rs_a, _for_loop_variables_r1[0])->x;
    1000988    }
    1001989    temp_1_v = 0.0;
    1002     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1003     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    1004     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1005         temp_1_v = temp_1_v + jmi_array_val_1(xs_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     990    _for_loop_variables_i2[0] = 0;
     991    _for_loop_variables_i1[0] = floor((n_v) - (1));
     992    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     993        temp_1_v = temp_1_v + jmi_array_val_1(xs_a, _for_loop_variables_r1[0]);
    1006994    }
    1007995    y_v = temp_1_v;
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenCompositeStatementTests.mo

    r14203 r14218  
    4242    JMI_ARR(STACK, R_0_r, R_0_ra, y_an, 2, 1)
    4343    JMI_ARR(STACK, R_0_r, R_0_ra, temp_1_a, 2, 1)
    44     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    45     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    46     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    47     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    48     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    49     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     44     jmi_real_t _for_loop_variables_r1[1];
     45     jmi_int_t _for_loop_variables_i1[1];
     46     jmi_int_t _for_loop_variables_i2[1];
    5047    if (y_a == NULL) {
    5148        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 2, 1, 2)
     
    5552    *jmi_array_rec_1(temp_1_a, 1) = *JMI_GLOBAL(CCodeGenCompositeStatementTests_RecordStmt1_f_c);
    5653    *jmi_array_rec_1(temp_1_a, 2) = *r_v;
    57     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    58     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    59     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    60         jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x = jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x;
     54    _for_loop_variables_i2[0] = 0;
     55    _for_loop_variables_i1[0] = floor((2) - (1));
     56    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     57        jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x = jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x;
    6158    }
    6259    JMI_DYNAMIC_FREE()
     
    9390    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_2, 1, 1)
    9491    JMI_ARR(STACK, R_0_r, R_0_ra, temp_1_a, 2, 1)
    95     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    96     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    97     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    98     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    99     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    100     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     92     jmi_real_t _for_loop_variables_r1[2];
     93     jmi_int_t _for_loop_variables_i1[2];
     94     jmi_int_t _for_loop_variables_i2[2];
    10195    if (y_a == NULL) {
    10296        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 2, 1, 2)
     
    110104    *jmi_array_rec_1(temp_1_a, 1) = *JMI_GLOBAL(CCodeGenCompositeStatementTests_RecordStmt2_f_c);
    111105    *jmi_array_rec_1(temp_1_a, 2) = *r_v;
    112     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    113     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    114     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    115         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    116         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    117         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    118             jmi_array_ref_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     106    _for_loop_variables_i2[0] = 0;
     107    _for_loop_variables_i1[0] = floor((2) - (1));
     108    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     109        _for_loop_variables_i2[1] = 0;
     110        _for_loop_variables_i1[1] = floor((1) - (1));
     111        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     112            jmi_array_ref_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    119113        }
    120114    }
     
    171165    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 1)
    172166    JMI_ARR(STACK, R3_2_r, R3_2_ra, temp_2_a, 2, 1)
    173     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    174     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    175     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    176     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    177     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    178     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     167     jmi_real_t _for_loop_variables_r1[2];
     168     jmi_int_t _for_loop_variables_i1[2];
     169     jmi_int_t _for_loop_variables_i2[2];
    179170    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_3, 1, 1, 1)
    180171    tmp_2->x = tmp_3;
     
    183174    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 1, 1)
    184175    jmi_array_ref_1(temp_1_a, 1) = 1;
    185     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    186     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    187     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    188         jmi_array_ref_1(c_v->r->r->x, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     176    _for_loop_variables_i2[0] = 0;
     177    _for_loop_variables_i1[0] = floor((1) - (1));
     178    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     179        jmi_array_ref_1(c_v->r->r->x, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    189180    }
    190181    c_v->r->x = 0;
     
    205196    jmi_array_rec_1(temp_2_a, 1)->r->r = jmi_dynamic_function_pool_alloc(&dyn_mem, 1*sizeof(R1_0_r), TRUE);
    206197    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, jmi_array_rec_1(temp_2_a, 1)->r->r->x, 1, 1, 1)
    207     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    208     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    209     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    210         jmi_array_ref_1(jmi_array_rec_1(temp_2_a, 1)->r->r->x, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(c_v->r->r->x, jmi_array_val_1(_for_loop_variables_r1, 1));
     198    _for_loop_variables_i2[0] = 0;
     199    _for_loop_variables_i1[0] = floor((1) - (1));
     200    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     201        jmi_array_ref_1(jmi_array_rec_1(temp_2_a, 1)->r->r->x, _for_loop_variables_r1[0]) = jmi_array_val_1(c_v->r->r->x, _for_loop_variables_r1[0]);
    211202    }
    212203    jmi_array_rec_1(temp_2_a, 1)->r->x = c_v->r->x;
    213204    *jmi_array_rec_1(temp_2_a, 2) = *r_v;
    214     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    215     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    216     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    217         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    218         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    219         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    220             jmi_array_ref_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->r->r->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2))->r->r->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     205    _for_loop_variables_i2[0] = 0;
     206    _for_loop_variables_i1[0] = floor((2) - (1));
     207    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     208        _for_loop_variables_i2[1] = 0;
     209        _for_loop_variables_i1[1] = floor((1) - (1));
     210        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     211            jmi_array_ref_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->r->r->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_2_a, _for_loop_variables_r1[0])->r->r->x, _for_loop_variables_r1[0]);
    221212        }
    222         jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->r->x = jmi_array_rec_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2))->r->x;
     213        jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->r->x = jmi_array_rec_1(temp_2_a, _for_loop_variables_r1[0])->r->x;
    223214    }
    224215    JMI_DYNAMIC_FREE()
     
    256247    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1)
    257248    JMI_ARR(STACK, R1_0_r, R1_0_ra, temp_1_a, 1, 1)
    258     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    259     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    260     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    261     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    262     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    263     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     249     jmi_real_t _for_loop_variables_r1[2];
     250     jmi_int_t _for_loop_variables_i1[2];
     251     jmi_int_t _for_loop_variables_i2[2];
    264252    if (y_a == NULL) {
    265253        JMI_ARRAY_INIT_1(STACK, R1_0_r, R1_0_ra, y_an, 1, 1, 1)
     
    270258    JMI_ARRAY_INIT_1(STACK, R1_0_r, R1_0_ra, temp_1_a, 1, 1, 1)
    271259    jmi_array_rec_1(temp_1_a, 1)->x = JMI_GLOBAL(CCodeGenCompositeStatementTests_RecordStmt4_f_c);
    272     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    273     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    274     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    275         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    276         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    277         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    278             jmi_array_ref_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     260    _for_loop_variables_i2[0] = 0;
     261    _for_loop_variables_i1[0] = floor((1) - (1));
     262    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     263        _for_loop_variables_i2[1] = 0;
     264        _for_loop_variables_i1[1] = floor((1) - (1));
     265        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     266            jmi_array_ref_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    279267        }
    280268    }
     
    319307    JMI_ARR(STACK, R2_1_r, R2_1_ra, temp_1_a, 1, 1)
    320308    JMI_ARR(STACK, R1_0_r, R1_0_ra, temp_2_a, 1, 1)
    321     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1)
    322     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1)
    323     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1)
    324     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1, 3)
    325     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1, 3)
    326     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1, 3)
     309     jmi_real_t _for_loop_variables_r1[3];
     310     jmi_int_t _for_loop_variables_i1[3];
     311     jmi_int_t _for_loop_variables_i2[3];
    327312    if (y_a == NULL) {
    328313        JMI_ARRAY_INIT_1(STACK, R2_1_r, R2_1_ra, y_an, 1, 1, 1)
     
    337322    jmi_array_rec_1(temp_2_a, 1)->x = JMI_GLOBAL(CCodeGenCompositeStatementTests_RecordStmt5_f_c);
    338323    jmi_array_rec_1(temp_1_a, 1)->r1 = temp_2_a;
    339     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    340     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    341     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    342         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    343         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    344         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    345             jmi_array_ref_1(_for_loop_variables_i2, 3) = 0;
    346             jmi_array_ref_1(_for_loop_variables_i1, 3) = floor((1) - (1));
    347             for (jmi_array_ref_1(_for_loop_variables_r1, 3) = 1; jmi_array_val_1(_for_loop_variables_i2, 3) <= jmi_array_val_1(_for_loop_variables_i1, 3); jmi_array_ref_1(_for_loop_variables_r1, 3) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 3)))) {
    348                 jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 3))->r1, jmi_array_val_1(_for_loop_variables_r1, 3))->x, jmi_array_val_1(_for_loop_variables_r1, 3)) = jmi_array_val_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 3))->r1, jmi_array_val_1(_for_loop_variables_r1, 3))->x, jmi_array_val_1(_for_loop_variables_r1, 3));
     324    _for_loop_variables_i2[0] = 0;
     325    _for_loop_variables_i1[0] = floor((1) - (1));
     326    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     327        _for_loop_variables_i2[1] = 0;
     328        _for_loop_variables_i1[1] = floor((1) - (1));
     329        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     330            _for_loop_variables_i2[2] = 0;
     331            _for_loop_variables_i1[2] = floor((1) - (1));
     332            for (_for_loop_variables_r1[2] = 1; _for_loop_variables_i2[2] <= _for_loop_variables_i1[2]; _for_loop_variables_r1[2] = 1 + (++(_for_loop_variables_i2[2]))) {
     333                jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->r1, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->r1, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    349334            }
    350335        }
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenExternalTests.mo

    r14203 r14218  
    22402240    JMI_DEF(INT_EXT, tmp_10)
    22412241    extern void dgeev_(const char*, const char*, int*, double*, int*, double*, double*, double*, int*, double*, int*, double*, int*, int*);
    2242     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    2243     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    2244     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    2245     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    2246     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    2247     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     2242     jmi_real_t _for_loop_variables_r1[2];
     2243     jmi_int_t _for_loop_variables_i1[2];
     2244     jmi_int_t _for_loop_variables_i2[2];
    22482245    if (eigenReal_a == NULL) {
    22492246        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, eigenReal_an, jmi_array_size(A_a, 0), 1, jmi_array_size(A_a, 0))
     
    22622259    lwork_v = 12 * n_v;
    22632260    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, Awork_a, jmi_array_size(A_a, 0) * jmi_array_size(A_a, 0), 2, jmi_array_size(A_a, 0), jmi_array_size(A_a, 0))
    2264     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    2265     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(A_a, 0)) - (1));
    2266     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    2267         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    2268         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(A_a, 0)) - (1));
    2269         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    2270             jmi_array_ref_2(Awork_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(A_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     2261    _for_loop_variables_i2[0] = 0;
     2262    _for_loop_variables_i1[0] = floor((jmi_array_size(A_a, 0)) - (1));
     2263    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     2264        _for_loop_variables_i2[1] = 0;
     2265        _for_loop_variables_i1[1] = floor((jmi_array_size(A_a, 0)) - (1));
     2266        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     2267            jmi_array_ref_2(Awork_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(A_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    22712268        }
    22722269    }
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenGlobalsTests.mo

    r14203 r14218  
    10421042    JMI_DYNAMIC_INIT()
    10431043    JMI_DEF(REA, y_v)
    1044     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    1045     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    1046     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    1047     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    1048     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    1049     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     1044     jmi_real_t _for_loop_variables_r1[1];
     1045     jmi_int_t _for_loop_variables_i1[1];
     1046     jmi_int_t _for_loop_variables_i2[1];
    10501047    y_v = x_v;
    1051     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    1052     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    1053     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    1054         y_v = JMI_POW_FUNCTION(\"CCodeGenGlobalsTests.GlobalVariables.GlobalConstantForPowInt1.f\", y_v, jmi_array_val_1(JMI_GLOBAL(CCodeGenGlobalsTests_GlobalVariables_GlobalConstantForPowInt1_f_c), jmi_array_val_1(_for_loop_variables_r1, 1)), \"y ^ global(CCodeGenGlobalsTests.GlobalVariables.GlobalConstantForPowInt1.f.c[i])\");
     1048    _for_loop_variables_i2[0] = 0;
     1049    _for_loop_variables_i1[0] = floor((2) - (1));
     1050    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     1051        y_v = JMI_POW_FUNCTION(\"CCodeGenGlobalsTests.GlobalVariables.GlobalConstantForPowInt1.f\", y_v, jmi_array_val_1(JMI_GLOBAL(CCodeGenGlobalsTests_GlobalVariables_GlobalConstantForPowInt1_f_c), _for_loop_variables_r1[0]), \"y ^ global(CCodeGenGlobalsTests.GlobalVariables.GlobalConstantForPowInt1.f.c[i])\");
    10551052    }
    10561053    JMI_RET(GEN, y_o, y_v)
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenLiteralTests.mo

    r14203 r14218  
    5858    JMI_DEF(INT, y_v)
    5959    JMI_DEF(INT, temp_1_v)
    60     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    61     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    62     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    63     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    64     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    65     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     60     jmi_real_t _for_loop_variables_r1[1];
     61     jmi_int_t _for_loop_variables_i1[1];
     62     jmi_int_t _for_loop_variables_i2[1];
    6663    temp_1_v = INT_MIN;
    67     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    68     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    69     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    70         temp_1_v = COND_EXP_EQ(COND_EXP_GT(temp_1_v, jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)), JMI_TRUE, JMI_FALSE), JMI_TRUE, temp_1_v, jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)));
     64    _for_loop_variables_i2[0] = 0;
     65    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     66    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     67        temp_1_v = COND_EXP_EQ(COND_EXP_GT(temp_1_v, jmi_array_val_1(x_a, _for_loop_variables_r1[0]), JMI_TRUE, JMI_FALSE), JMI_TRUE, temp_1_v, jmi_array_val_1(x_a, _for_loop_variables_r1[0]));
    7168    }
    7269    y_v = temp_1_v;
  • branches/dev-cw-2719/Compiler/ModelicaCBackEnd/test/modelica/CCodeGenTests.mo

    r14203 r14218  
    908908    JMI_DEF(REA, t_v)
    909909    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 2)
    910     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    911     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    912     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    913     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    914     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    915     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     910     jmi_real_t _for_loop_variables_r1[2];
     911     jmi_int_t _for_loop_variables_i1[2];
     912     jmi_int_t _for_loop_variables_i2[2];
    916913    if (y_a == NULL) {
    917914        JMI_ARRAY_INIT_2(STACK, jmi_real_t, jmi_array_t, y_an, 1, 2, 1, 1)
     
    919916    }
    920917    JMI_ARRAY_INIT_2(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 2, 1, 1)
    921     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    922     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    923     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    924         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    925         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    926         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    927             jmi_array_ref_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     918    _for_loop_variables_i2[0] = 0;
     919    _for_loop_variables_i1[0] = floor((1) - (1));
     920    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     921        _for_loop_variables_i2[1] = 0;
     922        _for_loop_variables_i1[1] = floor((1) - (1));
     923        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     924            jmi_array_ref_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    928925        }
    929926    }
     
    938935    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 1, 2)
    939936    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_2_a, 1, 1)
    940     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    941     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    942     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    943     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    944     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    945     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     937     jmi_real_t _for_loop_variables_r1[2];
     938     jmi_int_t _for_loop_variables_i1[2];
     939     jmi_int_t _for_loop_variables_i2[2];
    946940    if (y_a == NULL) {
    947941        JMI_ARRAY_INIT_2(STACK, jmi_real_t, jmi_array_t, y_an, 1, 2, 1, 1)
     
    951945    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_2_a, 1, 1, 1)
    952946    jmi_array_ref_1(temp_2_a, 1) = t_v;
    953     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    954     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    955     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    956         jmi_array_ref_2(temp_1_a, 1, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    957     }
    958     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    959     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    960     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    961         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    962         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    963         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    964             jmi_array_ref_2(y_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     947    _for_loop_variables_i2[0] = 0;
     948    _for_loop_variables_i1[0] = floor((1) - (1));
     949    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     950        jmi_array_ref_2(temp_1_a, 1, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_2_a, _for_loop_variables_r1[0]);
     951    }
     952    _for_loop_variables_i2[0] = 0;
     953    _for_loop_variables_i1[0] = floor((1) - (1));
     954    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     955        _for_loop_variables_i2[1] = 0;
     956        _for_loop_variables_i1[1] = floor((1) - (1));
     957        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     958            jmi_array_ref_2(y_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    965959        }
    966960    }
     
    973967    JMI_DEF(REA, y_v)
    974968    JMI_DEF(REA, temp_1_v)
    975     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    976     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    977     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    978     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    979     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    980     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     969     jmi_real_t _for_loop_variables_r1[2];
     970     jmi_int_t _for_loop_variables_i1[2];
     971     jmi_int_t _for_loop_variables_i2[2];
    981972    temp_1_v = 0.0;
    982     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    983     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    984     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    985         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    986         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(x_a, 1)) - (1));
    987         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    988             temp_1_v = temp_1_v + jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     973    _for_loop_variables_i2[0] = 0;
     974    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     975    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     976        _for_loop_variables_i2[1] = 0;
     977        _for_loop_variables_i1[1] = floor((jmi_array_size(x_a, 1)) - (1));
     978        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     979            temp_1_v = temp_1_v + jmi_array_val_2(x_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    989980        }
    990981    }
     
    29462937    JMI_DYNAMIC_INIT()
    29472938    JMI_ARR(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1)
    2948     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    2949     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    2950     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    2951     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    2952     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    2953     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     2939     jmi_real_t _for_loop_variables_r1[1];
     2940     jmi_int_t _for_loop_variables_i1[1];
     2941     jmi_int_t _for_loop_variables_i2[1];
    29542942    if (y_a == NULL) {
    29552943        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1, 2)
    29562944        y_a = y_an;
    29572945    }
    2958     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    2959     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    2960     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    2961         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     2946    _for_loop_variables_i2[0] = 0;
     2947    _for_loop_variables_i1[0] = floor((2) - (1));
     2948    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     2949        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    29622950    }
    29632951    JMI_DYNAMIC_FREE()
     
    30223010    JMI_ARR(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1)
    30233011    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    3024     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3025     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3026     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3027     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3028     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3029     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3012     jmi_real_t _for_loop_variables_r1[1];
     3013     jmi_int_t _for_loop_variables_i1[1];
     3014     jmi_int_t _for_loop_variables_i2[1];
    30303015    if (dx_a == NULL) {
    30313016        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, dx_an, 2, 1, 2)
     
    30393024    jmi_array_ref_1(temp_1_a, 1) = u_v;
    30403025    jmi_array_ref_1(temp_1_a, 2) = 0;
    3041     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3042     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    3043     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3044         jmi_array_ref_1(dx_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = - jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)) + jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    3045     }
    3046     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3047     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    3048     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3049         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 2 * jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3026    _for_loop_variables_i2[0] = 0;
     3027    _for_loop_variables_i1[0] = floor((2) - (1));
     3028    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3029        jmi_array_ref_1(dx_a, _for_loop_variables_r1[0]) = - jmi_array_val_1(x_a, _for_loop_variables_r1[0]) + jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
     3030    }
     3031    _for_loop_variables_i2[0] = 0;
     3032    _for_loop_variables_i1[0] = floor((2) - (1));
     3033    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3034        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = 2 * jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    30503035    }
    30513036    JMI_DYNAMIC_FREE()
     
    31173102    JMI_ARR(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1)
    31183103    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    3119     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3120     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3121     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3122     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3123     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3124     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3104     jmi_real_t _for_loop_variables_r1[1];
     3105     jmi_int_t _for_loop_variables_i1[1];
     3106     jmi_int_t _for_loop_variables_i2[1];
    31253107    if (dx_a == NULL) {
    31263108        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, dx_an, 2, 1, 2)
     
    31343116    jmi_array_ref_1(temp_1_a, 1) = u_v;
    31353117    jmi_array_ref_1(temp_1_a, 2) = 0;
    3136     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3137     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    3138     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3139         jmi_array_ref_1(dx_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = - jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)) + jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    3140     }
    3141     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3142     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    3143     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3144         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 2 * jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3118    _for_loop_variables_i2[0] = 0;
     3119    _for_loop_variables_i1[0] = floor((2) - (1));
     3120    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3121        jmi_array_ref_1(dx_a, _for_loop_variables_r1[0]) = - jmi_array_val_1(x_a, _for_loop_variables_r1[0]) + jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
     3122    }
     3123    _for_loop_variables_i2[0] = 0;
     3124    _for_loop_variables_i1[0] = floor((2) - (1));
     3125    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3126        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = 2 * jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    31453127    }
    31463128    JMI_DYNAMIC_FREE()
     
    33413323    JMI_DYNAMIC_INIT()
    33423324    JMI_ARR(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1)
    3343     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3344     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3345     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3346     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3347     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3348     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3325     jmi_real_t _for_loop_variables_r1[1];
     3326     jmi_int_t _for_loop_variables_i1[1];
     3327     jmi_int_t _for_loop_variables_i2[1];
    33493328    if (y_a == NULL) {
    33503329        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, y_an, 2, 1, 2)
    33513330        y_a = y_an;
    33523331    }
    3353     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3354     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    3355     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3356         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(x_a, 1) + jmi_array_val_1(x_a, 2);
     3332    _for_loop_variables_i2[0] = 0;
     3333    _for_loop_variables_i1[0] = floor((2) - (1));
     3334    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3335        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = jmi_array_val_1(x_a, 1) + jmi_array_val_1(x_a, 2);
    33573336    }
    33583337    JMI_DYNAMIC_FREE()
     
    36943673    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_2, 2, 1)
    36953674    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_3, 2, 1)
    3696     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3697     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3698     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3699     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3700     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3701     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3675     jmi_real_t _for_loop_variables_r1[1];
     3676     jmi_int_t _for_loop_variables_i1[1];
     3677     jmi_int_t _for_loop_variables_i2[1];
    37023678    if (y_a == NULL) {
    37033679        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     
    37183694    jmi_array_ref_1(tmp_3, 1) = x_v;
    37193695    jmi_array_ref_1(tmp_3, 2) = x_v;
    3720     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3721     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((func_CCodeGenTests_FuncWithArray_g_exp1(tmp_3)) - (1));
    3722     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3723         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3696    _for_loop_variables_i2[0] = 0;
     3697    _for_loop_variables_i1[0] = floor((func_CCodeGenTests_FuncWithArray_g_exp1(tmp_3)) - (1));
     3698    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3699        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    37243700    }
    37253701    JMI_DYNAMIC_FREE()
     
    37323708    JMI_DEF(REA, temp_1_v)
    37333709    JMI_DEF(REA, temp_2_v)
    3734     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3735     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3736     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3737     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3738     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3739     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3710     jmi_real_t _for_loop_variables_r1[1];
     3711     jmi_int_t _for_loop_variables_i1[1];
     3712     jmi_int_t _for_loop_variables_i2[1];
    37403713    temp_1_v = 0.0;
    3741     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3742     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    3743     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3744         temp_1_v = temp_1_v + jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3714    _for_loop_variables_i2[0] = 0;
     3715    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     3716    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3717        temp_1_v = temp_1_v + jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    37453718    }
    37463719    temp_2_v = 0.0;
    3747     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3748     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    3749     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3750         temp_2_v = temp_2_v + jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3720    _for_loop_variables_i2[0] = 0;
     3721    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     3722    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3723        temp_2_v = temp_2_v + jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    37513724    }
    37523725    n_v = floor(JMI_DIVIDE_FUNCTION(\"CCodeGenTests.FuncWithArray.g\", temp_1_v, temp_2_v, \"temp_1 / temp_2\"));
     
    37943767    JMI_DEF(REA, o_v)
    37953768    JMI_DEF(REA, x_v)
    3796     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3797     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3798     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3799     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3800     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3801     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3769     jmi_real_t _for_loop_variables_r1[1];
     3770     jmi_int_t _for_loop_variables_i1[1];
     3771     jmi_int_t _for_loop_variables_i2[1];
    38023772    o_v = 1.0;
    38033773    x_v = 0;
    3804     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3805     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    3806     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3807         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     3774    _for_loop_variables_i2[0] = 0;
     3775    _for_loop_variables_i1[0] = floor((3) - (1));
     3776    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3777        x_v = x_v + _for_loop_variables_r1[0];
    38083778    }
    38093779    JMI_RET(GEN, o_o, o_v)
     
    38473817    JMI_DEF(REA, x_v)
    38483818    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1)
    3849     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3850     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3851     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3852     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3853     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3854     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3819     jmi_real_t _for_loop_variables_r1[1];
     3820     jmi_int_t _for_loop_variables_i1[1];
     3821     jmi_int_t _for_loop_variables_i2[1];
    38553822    o_v = 1.0;
    38563823    x_v = 0;
     
    38593826    jmi_array_ref_1(temp_1_a, 2) = 3;
    38603827    jmi_array_ref_1(temp_1_a, 3) = 5;
    3861     for (jmi_array_ref_1(_for_loop_variables_i1, 1) = 0; jmi_array_val_1(_for_loop_variables_i1, 1) < jmi_array_size(temp_1_a, 0); (jmi_array_ref_1(_for_loop_variables_i1, 1))++) {
    3862         jmi_array_ref_1(_for_loop_variables_r1, 1) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_i1, 1));
    3863         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     3828    for (_for_loop_variables_i1[0] = 0; _for_loop_variables_i1[0] < jmi_array_size(temp_1_a, 0); (_for_loop_variables_i1[0])++) {
     3829        _for_loop_variables_r1[0] = jmi_array_val_1(temp_1_a, _for_loop_variables_i1[0]);
     3830        x_v = x_v + _for_loop_variables_r1[0];
    38643831    }
    38653832    JMI_RET(GEN, o_o, o_v)
     
    39023869    JMI_DEF(REA, o_v)
    39033870    JMI_DEF(REA, x_v)
    3904     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3905     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3906     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3907     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3908     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3909     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3871     jmi_real_t _for_loop_variables_r1[1];
     3872     jmi_int_t _for_loop_variables_i1[1];
     3873     jmi_int_t _for_loop_variables_i2[1];
    39103874    o_v = 1.0;
    39113875    x_v = 0;
    3912     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3913     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor(((1) - (3)) / (-1));
    3914     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 3; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 3 + (-1) * (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3915         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     3876    _for_loop_variables_i2[0] = 0;
     3877    _for_loop_variables_i1[0] = floor(((1) - (3)) / (-1));
     3878    for (_for_loop_variables_r1[0] = 3; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 3 + (-1) * (++(_for_loop_variables_i2[0]))) {
     3879        x_v = x_v + _for_loop_variables_r1[0];
    39163880    }
    39173881    JMI_RET(GEN, o_o, o_v)
     
    39553919    JMI_DEF(REA, o_v)
    39563920    JMI_DEF(REA, x_v)
    3957     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3958     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3959     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3960     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3961     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3962     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3921     jmi_real_t _for_loop_variables_r1[1];
     3922     jmi_int_t _for_loop_variables_i1[1];
     3923     jmi_int_t _for_loop_variables_i2[1];
    39633924    o_v = 1.0;
    39643925    x_v = 0;
    3965     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3966     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor(((1) - (3)) / (i_v));
    3967     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 3; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 3 + (i_v) * (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3968         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     3926    _for_loop_variables_i2[0] = 0;
     3927    _for_loop_variables_i1[0] = floor(((1) - (3)) / (i_v));
     3928    for (_for_loop_variables_r1[0] = 3; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 3 + (i_v) * (++(_for_loop_variables_i2[0]))) {
     3929        x_v = x_v + _for_loop_variables_r1[0];
    39693930    }
    39703931    JMI_RET(GEN, o_o, o_v)
     
    40213982    JMI_DEF(INT, i_v)
    40223983    JMI_DEF(INT, j_v)
    4023     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    4024     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    4025     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    4026     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    4027     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    4028     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
    4029     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4030     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((5) - (1));
    4031     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4032         y_v = y_v + jmi_array_val_1(u_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    4033         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    4034         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((4) - (1));
    4035         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    4036             y_v = y_v + jmi_array_val_1(u_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    4037         }
    4038     }
    4039     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4040     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4041     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4042         y_v = y_v + jmi_array_val_1(u_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     3984     jmi_real_t _for_loop_variables_r1[2];
     3985     jmi_int_t _for_loop_variables_i1[2];
     3986     jmi_int_t _for_loop_variables_i2[2];
     3987    _for_loop_variables_i2[0] = 0;
     3988    _for_loop_variables_i1[0] = floor((5) - (1));
     3989    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3990        y_v = y_v + jmi_array_val_1(u_a, _for_loop_variables_r1[0]);
     3991        _for_loop_variables_i2[1] = 0;
     3992        _for_loop_variables_i1[1] = floor((4) - (1));
     3993        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     3994            y_v = y_v + jmi_array_val_1(u_a, _for_loop_variables_r1[0]);
     3995        }
     3996    }
     3997    _for_loop_variables_i2[0] = 0;
     3998    _for_loop_variables_i1[0] = floor((3) - (1));
     3999    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4000        y_v = y_v + jmi_array_val_1(u_a, _for_loop_variables_r1[0]);
    40434001    }
    40444002    JMI_RET(GEN, y_o, y_v)
     
    40804038    JMI_DYNAMIC_INIT()
    40814039    JMI_DEF(REA, x_v)
    4082     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4083     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4084     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4085     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4086     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4087     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4040     jmi_real_t _for_loop_variables_r1[1];
     4041     jmi_int_t _for_loop_variables_i1[1];
     4042     jmi_int_t _for_loop_variables_i2[1];
    40884043    x_v = 0;
    4089     for (jmi_array_ref_1(_for_loop_variables_i1, 1) = 0; jmi_array_val_1(_for_loop_variables_i1, 1) < jmi_array_size(y_a, 0); (jmi_array_ref_1(_for_loop_variables_i1, 1))++) {
    4090         jmi_array_ref_1(_for_loop_variables_r1, 1) = jmi_array_val_1(y_a, jmi_array_val_1(_for_loop_variables_i1, 1));
    4091         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     4044    for (_for_loop_variables_i1[0] = 0; _for_loop_variables_i1[0] < jmi_array_size(y_a, 0); (_for_loop_variables_i1[0])++) {
     4045        _for_loop_variables_r1[0] = jmi_array_val_1(y_a, _for_loop_variables_i1[0]);
     4046        x_v = x_v + _for_loop_variables_r1[0];
    40924047    }
    40934048    JMI_RET(GEN, x_o, x_v)
     
    41294084    JMI_DYNAMIC_INIT()
    41304085    JMI_DEF(REA, x_v)
    4131     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4132     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4133     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4134     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4135     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4136     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4086     jmi_real_t _for_loop_variables_r1[1];
     4087     jmi_int_t _for_loop_variables_i1[1];
     4088     jmi_int_t _for_loop_variables_i2[1];
    41374089    x_v = 0;
    4138     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4139     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    4140     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4141         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     4090    _for_loop_variables_i2[0] = 0;
     4091    _for_loop_variables_i1[0] = floor((n_v) - (1));
     4092    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4093        x_v = x_v + _for_loop_variables_r1[0];
    41424094    }
    41434095    JMI_RET(GEN, x_o, x_v)
     
    41804132    JMI_DEF(REA, x_v)
    41814133    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_1_a, -1, 1)
    4182     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4183     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4184     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4185     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4186     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4187     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4134     jmi_real_t _for_loop_variables_r1[1];
     4135     jmi_int_t _for_loop_variables_i1[1];
     4136     jmi_int_t _for_loop_variables_i2[1];
    41884137    x_v = 0;
    41894138    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, JMI_MAX_EQUATION(n_v, 0.0), 1, JMI_MAX_EQUATION(n_v, 0.0))
    4190     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4191     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((JMI_MAX_EQUATION(n_v, 0.0)) - (1));
    4192     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4193         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = (1.0 * (jmi_array_val_1(_for_loop_variables_r1, 1)) * (jmi_array_val_1(_for_loop_variables_r1, 1)));
    4194     }
    4195     for (jmi_array_ref_1(_for_loop_variables_i1, 1) = 0; jmi_array_val_1(_for_loop_variables_i1, 1) < jmi_array_size(temp_1_a, 0); (jmi_array_ref_1(_for_loop_variables_i1, 1))++) {
    4196         jmi_array_ref_1(_for_loop_variables_r1, 1) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_i1, 1));
    4197         x_v = x_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     4139    _for_loop_variables_i2[0] = 0;
     4140    _for_loop_variables_i1[0] = floor((JMI_MAX_EQUATION(n_v, 0.0)) - (1));
     4141    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4142        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = (1.0 * (_for_loop_variables_r1[0]) * (_for_loop_variables_r1[0]));
     4143    }
     4144    for (_for_loop_variables_i1[0] = 0; _for_loop_variables_i1[0] < jmi_array_size(temp_1_a, 0); (_for_loop_variables_i1[0])++) {
     4145        _for_loop_variables_r1[0] = jmi_array_val_1(temp_1_a, _for_loop_variables_i1[0]);
     4146        x_v = x_v + _for_loop_variables_r1[0];
    41984147    }
    41994148    JMI_RET(GEN, x_o, x_v)
     
    42374186    JMI_DEF(REA, y_v)
    42384187    JMI_DEF(INT, step_v)
    4239     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4240     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4241     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4242     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4243     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4244     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4188     jmi_real_t _for_loop_variables_r1[1];
     4189     jmi_int_t _for_loop_variables_i1[1];
     4190     jmi_int_t _for_loop_variables_i2[1];
    42454191    step_v = floor(x_v) + 1;
    42464192    y_v = 0;
    4247     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4248     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor(((10) - (1)) / (step_v));
    4249     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (step_v) * (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4250         y_v = y_v + jmi_array_val_1(_for_loop_variables_r1, 1);
     4193    _for_loop_variables_i2[0] = 0;
     4194    _for_loop_variables_i1[0] = floor(((10) - (1)) / (step_v));
     4195    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (step_v) * (++(_for_loop_variables_i2[0]))) {
     4196        y_v = y_v + _for_loop_variables_r1[0];
    42514197    }
    42524198    JMI_RET(GEN, y_o, y_v)
     
    42964242    JMI_DEF(REA, out_v)
    42974243    JMI_DEF(REA, temp_1_v)
    4298     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4299     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4300     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4301     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4302     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4303     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4244     jmi_real_t _for_loop_variables_r1[1];
     4245     jmi_int_t _for_loop_variables_i1[1];
     4246     jmi_int_t _for_loop_variables_i2[1];
    43044247    temp_1_v = 0.0;
    4305     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4306     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4307     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4308         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4248    _for_loop_variables_i2[0] = 0;
     4249    _for_loop_variables_i1[0] = floor((3) - (1));
     4250    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4251        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    43094252    }
    43104253    out_v = temp_1_v;
     
    43614304    JMI_DEF(REA, out_v)
    43624305    JMI_DEF(REA, temp_1_v)
    4363     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4364     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4365     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4366     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4367     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4368     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4306     jmi_real_t _for_loop_variables_r1[1];
     4307     jmi_int_t _for_loop_variables_i1[1];
     4308     jmi_int_t _for_loop_variables_i2[1];
    43694309    temp_1_v = 0.0;
    4370     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4371     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4372     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4373         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4310    _for_loop_variables_i2[0] = 0;
     4311    _for_loop_variables_i1[0] = floor((3) - (1));
     4312    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4313        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    43744314    }
    43754315    out_v = temp_1_v;
     
    44264366    JMI_DEF(REA, out_v)
    44274367    JMI_DEF(REA, temp_1_v)
    4428     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4429     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4430     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4431     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4432     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4433     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4368     jmi_real_t _for_loop_variables_r1[1];
     4369     jmi_int_t _for_loop_variables_i1[1];
     4370     jmi_int_t _for_loop_variables_i2[1];
    44344371    temp_1_v = 0.0;
    4435     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4436     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4437     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4438         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4372    _for_loop_variables_i2[0] = 0;
     4373    _for_loop_variables_i1[0] = floor((3) - (1));
     4374    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4375        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    44394376    }
    44404377    out_v = temp_1_v;
     
    45114448    JMI_DEF(REA, out_v)
    45124449    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1)
    4513     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4514     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4515     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4516     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4517     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4518     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4450     jmi_real_t _for_loop_variables_r1[1];
     4451     jmi_int_t _for_loop_variables_i1[1];
     4452     jmi_int_t _for_loop_variables_i2[1];
    45194453    out_v = 1.0;
    45204454    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
    4521     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4522     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4523     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4524         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     4455    _for_loop_variables_i2[0] = 0;
     4456    _for_loop_variables_i1[0] = floor((3) - (1));
     4457    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4458        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    45254459    }
    45264460    out_v = func_CCodeGenTests_CArrayInput4_f2_exp1(temp_1_a);
     
    45404474    JMI_DEF(REA, out_v)
    45414475    JMI_DEF(REA, temp_1_v)
    4542     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4543     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4544     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4545     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4546     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4547     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4476     jmi_real_t _for_loop_variables_r1[1];
     4477     jmi_int_t _for_loop_variables_i1[1];
     4478     jmi_int_t _for_loop_variables_i2[1];
    45484479    temp_1_v = 0.0;
    4549     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4550     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4551     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4552         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4480    _for_loop_variables_i2[0] = 0;
     4481    _for_loop_variables_i1[0] = floor((3) - (1));
     4482    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4483        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    45534484    }
    45544485    out_v = temp_1_v;
     
    46064537    JMI_DEF(REA, t_v)
    46074538    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1)
    4608     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4609     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4610     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4611     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4612     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4613     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4539     jmi_real_t _for_loop_variables_r1[1];
     4540     jmi_int_t _for_loop_variables_i1[1];
     4541     jmi_int_t _for_loop_variables_i2[1];
    46144542    out_v = 1.0;
    46154543    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
    4616     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4617     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4618     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4619         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     4544    _for_loop_variables_i2[0] = 0;
     4545    _for_loop_variables_i1[0] = floor((3) - (1));
     4546    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4547        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    46204548    }
    46214549    func_CCodeGenTests_CArrayInput5_f2_def1(temp_1_a, &out_v, &t_v);
     
    46374565    JMI_DEF(REA, temp_1_v)
    46384566    JMI_DEF(REA, temp_2_v)
    4639     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4640     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4641     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4642     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4643     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4644     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4567     jmi_real_t _for_loop_variables_r1[1];
     4568     jmi_int_t _for_loop_variables_i1[1];
     4569     jmi_int_t _for_loop_variables_i2[1];
    46454570    temp_1_v = 0.0;
    4646     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4647     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4648     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4649         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4571    _for_loop_variables_i2[0] = 0;
     4572    _for_loop_variables_i1[0] = floor((3) - (1));
     4573    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4574        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    46504575    }
    46514576    out1_v = temp_1_v;
    46524577    temp_2_v = -1.7976931348623157E308;
    4653     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4654     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4655     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4656         temp_2_v = COND_EXP_EQ(COND_EXP_GT(temp_2_v, jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1)), JMI_TRUE, JMI_FALSE), JMI_TRUE, temp_2_v, jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1)));
     4578    _for_loop_variables_i2[0] = 0;
     4579    _for_loop_variables_i1[0] = floor((3) - (1));
     4580    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4581        temp_2_v = COND_EXP_EQ(COND_EXP_GT(temp_2_v, jmi_array_val_1(inp_a, _for_loop_variables_r1[0]), JMI_TRUE, JMI_FALSE), JMI_TRUE, temp_2_v, jmi_array_val_1(inp_a, _for_loop_variables_r1[0]));
    46574582    }
    46584583    out2_v = temp_2_v;
     
    47174642    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_2_a, -1, 1)
    47184643    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_3_a, -1, 1)
    4719     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4720     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4721     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4722     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4723     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4724     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4644     jmi_real_t _for_loop_variables_r1[1];
     4645     jmi_int_t _for_loop_variables_i1[1];
     4646     jmi_int_t _for_loop_variables_i2[1];
    47254647    out_v = 1.0;
    47264648    if (COND_EXP_EQ(JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0), 2.0, JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     
    47284650    }
    47294651    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0), 1, JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0))
    4730     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4731     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0)) - (1));
    4732     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4733         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = i_v + 1 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1);
     4652    _for_loop_variables_i2[0] = 0;
     4653    _for_loop_variables_i1[0] = floor((JMI_MAX_EQUATION(floor(2.0 - (i_v + 1.0)) + 1.0, 0.0)) - (1));
     4654    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4655        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = i_v + 1 + (_for_loop_variables_r1[0] - 1);
    47344656    }
    47354657    if (COND_EXP_LT(func_CCodeGenTests_CArrayInput6_f2_exp1(temp_1_a), 4, JMI_TRUE, JMI_FALSE)) {
     
    47384660        }
    47394661        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_2_a, JMI_MAX_EQUATION(floor(6.0 - (i_v + 5.0)) + 1.0, 0.0), 1, JMI_MAX_EQUATION(floor(6.0 - (i_v + 5.0)) + 1.0, 0.0))
    4740         jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4741         jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((JMI_MAX_EQUATION(floor(6.0 - (i_v + 5.0)) + 1.0, 0.0)) - (1));
    4742         for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4743             jmi_array_ref_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = i_v + 5 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1);
     4662        _for_loop_variables_i2[0] = 0;
     4663        _for_loop_variables_i1[0] = floor((JMI_MAX_EQUATION(floor(6.0 - (i_v + 5.0)) + 1.0, 0.0)) - (1));
     4664        for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4665            jmi_array_ref_1(temp_2_a, _for_loop_variables_r1[0]) = i_v + 5 + (_for_loop_variables_r1[0] - 1);
    47444666        }
    47454667        out_v = func_CCodeGenTests_CArrayInput6_f2_exp1(temp_2_a);
     
    47494671        }
    47504672        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_3_a, JMI_MAX_EQUATION(floor(8.0 - (i_v + 7.0)) + 1.0, 0.0), 1, JMI_MAX_EQUATION(floor(8.0 - (i_v + 7.0)) + 1.0, 0.0))
    4751         jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4752         jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((JMI_MAX_EQUATION(floor(8.0 - (i_v + 7.0)) + 1.0, 0.0)) - (1));
    4753         for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4754             jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = i_v + 7 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1);
     4673        _for_loop_variables_i2[0] = 0;
     4674        _for_loop_variables_i1[0] = floor((JMI_MAX_EQUATION(floor(8.0 - (i_v + 7.0)) + 1.0, 0.0)) - (1));
     4675        for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4676            jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = i_v + 7 + (_for_loop_variables_r1[0] - 1);
    47554677        }
    47564678        out_v = func_CCodeGenTests_CArrayInput6_f2_exp1(temp_3_a);
     
    47714693    JMI_DEF(REA, out_v)
    47724694    JMI_DEF(REA, temp_1_v)
    4773     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4774     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4775     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4776     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4777     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4778     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4695     jmi_real_t _for_loop_variables_r1[1];
     4696     jmi_int_t _for_loop_variables_i1[1];
     4697     jmi_int_t _for_loop_variables_i2[1];
    47794698    temp_1_v = 0.0;
    4780     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4781     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    4782     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4783         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4699    _for_loop_variables_i2[0] = 0;
     4700    _for_loop_variables_i1[0] = floor((2) - (1));
     4701    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4702        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    47844703    }
    47854704    out_v = temp_1_v;
     
    48374756    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1)
    48384757    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_2_a, 3, 1)
    4839     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4840     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4841     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4842     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4843     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4844     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4758     jmi_real_t _for_loop_variables_r1[1];
     4759     jmi_int_t _for_loop_variables_i1[1];
     4760     jmi_int_t _for_loop_variables_i2[1];
    48454761    out_v = 1.0;
    48464762    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
    4847     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4848     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4849     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4850         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     4763    _for_loop_variables_i2[0] = 0;
     4764    _for_loop_variables_i1[0] = floor((3) - (1));
     4765    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4766        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    48514767    }
    48524768    while (COND_EXP_LT(func_CCodeGenTests_CArrayInput7_f2_exp1(temp_1_a), 2, JMI_TRUE, JMI_FALSE)) {
    48534769        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_2_a, 3, 1, 3)
    4854         jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4855         jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4856         for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4857             jmi_array_ref_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 4 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1);
     4770        _for_loop_variables_i2[0] = 0;
     4771        _for_loop_variables_i1[0] = floor((3) - (1));
     4772        for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4773            jmi_array_ref_1(temp_2_a, _for_loop_variables_r1[0]) = 4 + (_for_loop_variables_r1[0] - 1);
    48584774        }
    48594775        out_v = func_CCodeGenTests_CArrayInput7_f2_exp1(temp_2_a);
    48604776        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 3, 1, 3)
    4861         jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4862         jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4863         for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4864             jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     4777        _for_loop_variables_i2[0] = 0;
     4778        _for_loop_variables_i1[0] = floor((3) - (1));
     4779        for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4780            jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    48654781        }
    48664782    }
     
    48804796    JMI_DEF(REA, out_v)
    48814797    JMI_DEF(REA, temp_1_v)
    4882     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4883     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4884     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    4885     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    4886     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    4887     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4798     jmi_real_t _for_loop_variables_r1[1];
     4799     jmi_int_t _for_loop_variables_i1[1];
     4800     jmi_int_t _for_loop_variables_i2[1];
    48884801    temp_1_v = 0.0;
    4889     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4890     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4891     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4892         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4802    _for_loop_variables_i2[0] = 0;
     4803    _for_loop_variables_i1[0] = floor((3) - (1));
     4804    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4805        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    48934806    }
    48944807    out_v = temp_1_v;
     
    49484861    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_3_a, 3, 1)
    49494862    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_4_a, 3, 1)
    4950     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    4951     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    4952     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    4953     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    4954     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    4955     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     4863     jmi_real_t _for_loop_variables_r1[2];
     4864     jmi_int_t _for_loop_variables_i1[2];
     4865     jmi_int_t _for_loop_variables_i2[2];
    49564866    out_v = 1.0;
    49574867    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1, 2)
    49584868    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_2_a, 3, 1, 3)
    4959     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4960     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4961     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4962         jmi_array_ref_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     4869    _for_loop_variables_i2[0] = 0;
     4870    _for_loop_variables_i1[0] = floor((3) - (1));
     4871    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4872        jmi_array_ref_1(temp_2_a, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    49634873    }
    49644874    jmi_array_ref_1(temp_1_a, 1) = func_CCodeGenTests_CArrayInput8_f2_exp1(temp_2_a);
    49654875    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_3_a, 3, 1, 3)
    4966     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    4967     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    4968     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    4969         jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 4 + (jmi_array_val_1(_for_loop_variables_r1, 1) - 1);
     4876    _for_loop_variables_i2[0] = 0;
     4877    _for_loop_variables_i1[0] = floor((3) - (1));
     4878    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4879        jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = 4 + (_for_loop_variables_r1[0] - 1);
    49704880    }
    49714881    jmi_array_ref_1(temp_1_a, 2) = func_CCodeGenTests_CArrayInput8_f2_exp1(temp_3_a);
    4972     for (jmi_array_ref_1(_for_loop_variables_i1, 1) = 0; jmi_array_val_1(_for_loop_variables_i1, 1) < jmi_array_size(temp_1_a, 0); (jmi_array_ref_1(_for_loop_variables_i1, 1))++) {
    4973         jmi_array_ref_1(_for_loop_variables_r1, 1) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_i1, 1));
     4882    for (_for_loop_variables_i1[0] = 0; _for_loop_variables_i1[0] < jmi_array_size(temp_1_a, 0); (_for_loop_variables_i1[0])++) {
     4883        _for_loop_variables_r1[0] = jmi_array_val_1(temp_1_a, _for_loop_variables_i1[0]);
    49744884        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_4_a, 3, 1, 3)
    4975         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    4976         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((3) - (1));
    4977         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    4978             jmi_array_ref_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 2)) = 7 + (jmi_array_val_1(_for_loop_variables_r1, 2) - 1);
     4885        _for_loop_variables_i2[1] = 0;
     4886        _for_loop_variables_i1[1] = floor((3) - (1));
     4887        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     4888            jmi_array_ref_1(temp_4_a, _for_loop_variables_r1[0]) = 7 + (_for_loop_variables_r1[0] - 1);
    49794889        }
    49804890        out_v = func_CCodeGenTests_CArrayInput8_f2_exp1(temp_4_a);
     
    49954905    JMI_DEF(REA, out_v)
    49964906    JMI_DEF(REA, temp_1_v)
    4997     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    4998     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    4999     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5000     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5001     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5002     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4907     jmi_real_t _for_loop_variables_r1[1];
     4908     jmi_int_t _for_loop_variables_i1[1];
     4909     jmi_int_t _for_loop_variables_i2[1];
    50034910    temp_1_v = 0.0;
    5004     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5005     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    5006     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5007         temp_1_v = temp_1_v + jmi_array_val_1(inp_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4911    _for_loop_variables_i2[0] = 0;
     4912    _for_loop_variables_i1[0] = floor((3) - (1));
     4913    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4914        temp_1_v = temp_1_v + jmi_array_val_1(inp_a, _for_loop_variables_r1[0]);
    50084915    }
    50094916    out_v = temp_1_v;
     
    50514958    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1)
    50524959    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    5053     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5054     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5055     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5056     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5057     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5058     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     4960     jmi_real_t _for_loop_variables_r1[1];
     4961     jmi_int_t _for_loop_variables_i1[1];
     4962     jmi_int_t _for_loop_variables_i2[1];
    50594963    if (o_a == NULL) {
    50604964        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    50644968    jmi_array_ref_1(temp_1_a, 1) = 1;
    50654969    jmi_array_ref_1(temp_1_a, 2) = 2;
    5066     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5067     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5068     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5069         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     4970    _for_loop_variables_i2[0] = 0;
     4971    _for_loop_variables_i1[0] = floor((2) - (1));
     4972    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     4973        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    50704974    }
    50714975    JMI_DYNAMIC_FREE()
     
    51135017    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1)
    51145018    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    5115     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5116     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5117     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5118     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5119     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5120     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5019     jmi_real_t _for_loop_variables_r1[1];
     5020     jmi_int_t _for_loop_variables_i1[1];
     5021     jmi_int_t _for_loop_variables_i2[1];
    51215022    if (o_a == NULL) {
    51225023        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    51265027    jmi_array_ref_1(temp_1_a, 1) = 1;
    51275028    jmi_array_ref_1(temp_1_a, 2) = 2;
    5128     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5129     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5130     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5131         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5029    _for_loop_variables_i2[0] = 0;
     5030    _for_loop_variables_i1[0] = floor((2) - (1));
     5031    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5032        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    51325033    }
    51335034    JMI_DYNAMIC_FREE()
     
    51875088    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_3_a, 2, 1)
    51885089    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_4_a, 2, 1)
    5189     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5190     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5191     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5192     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5193     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5194     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5090     jmi_real_t _for_loop_variables_r1[1];
     5091     jmi_int_t _for_loop_variables_i1[1];
     5092     jmi_int_t _for_loop_variables_i2[1];
    51955093    o_v = 0;
    51965094    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_3_a, 2, 1, 2)
     
    52005098    jmi_array_ref_1(temp_4_a, 2) = 4;
    52015099    temp_2_v = 0.0;
    5202     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5203     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5204     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5205         temp_2_v = temp_2_v + jmi_array_val_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) * jmi_array_val_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5100    _for_loop_variables_i2[0] = 0;
     5101    _for_loop_variables_i1[0] = floor((2) - (1));
     5102    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5103        temp_2_v = temp_2_v + jmi_array_val_1(temp_3_a, _for_loop_variables_r1[0]) * jmi_array_val_1(temp_4_a, _for_loop_variables_r1[0]);
    52065104    }
    52075105    temp_1_v = temp_2_v;
     
    52225120    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1)
    52235121    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    5224     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5225     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5226     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5227     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5228     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5229     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5122     jmi_real_t _for_loop_variables_r1[1];
     5123     jmi_int_t _for_loop_variables_i1[1];
     5124     jmi_int_t _for_loop_variables_i2[1];
    52305125    if (o_a == NULL) {
    52315126        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o_an, 2, 1, 2)
     
    52355130    jmi_array_ref_1(temp_1_a, 1) = 1;
    52365131    jmi_array_ref_1(temp_1_a, 2) = 2;
    5237     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5238     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5239     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5240         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5132    _for_loop_variables_i2[0] = 0;
     5133    _for_loop_variables_i1[0] = floor((2) - (1));
     5134    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5135        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    52415136    }
    52425137    JMI_DYNAMIC_FREE()
     
    53095204    JMI_DEF(REA, o2_v)
    53105205    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    5311     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5312     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5313     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5314     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5315     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5316     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5206     jmi_real_t _for_loop_variables_r1[1];
     5207     jmi_int_t _for_loop_variables_i1[1];
     5208     jmi_int_t _for_loop_variables_i2[1];
    53175209    if (o1_a == NULL) {
    53185210        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o1_an, 2, 1, 2)
     
    53225214    jmi_array_ref_1(temp_1_a, 1) = 1;
    53235215    jmi_array_ref_1(temp_1_a, 2) = 2;
    5324     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5325     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5326     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5327         jmi_array_ref_1(o1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5216    _for_loop_variables_i2[0] = 0;
     5217    _for_loop_variables_i1[0] = floor((2) - (1));
     5218    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5219        jmi_array_ref_1(o1_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    53285220    }
    53295221    o2_v = 3;
     
    53995291    JMI_ARR(STACK, jmi_real_t, jmi_array_t, o1_an, 2, 1)
    54005292    JMI_DEF(REA, o2_v)
    5401     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5402     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5403     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5404     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5405     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5406     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5293     jmi_real_t _for_loop_variables_r1[1];
     5294     jmi_int_t _for_loop_variables_i1[1];
     5295     jmi_int_t _for_loop_variables_i2[1];
    54075296    if (o1_a == NULL) {
    54085297        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, o1_an, 2, 1, 2)
    54095298        o1_a = o1_an;
    54105299    }
    5411     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5412     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5413     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5414         jmi_array_ref_1(o1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(i_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5300    _for_loop_variables_i2[0] = 0;
     5301    _for_loop_variables_i1[0] = floor((2) - (1));
     5302    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5303        jmi_array_ref_1(o1_a, _for_loop_variables_r1[0]) = jmi_array_val_1(i_a, _for_loop_variables_r1[0]);
    54155304    }
    54165305    o2_v = 3;
     
    54725361    JMI_DYNAMIC_INIT()
    54735362    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, o_an, -1, 1)
    5474     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5475     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5476     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5477     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5478     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5479     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5363     jmi_real_t _for_loop_variables_r1[1];
     5364     jmi_int_t _for_loop_variables_i1[1];
     5365     jmi_int_t _for_loop_variables_i2[1];
    54805366    if (o_a == NULL) {
    54815367        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(a_a, 0), 1, jmi_array_size(a_a, 0))
    54825368        o_a = o_an;
    54835369    }
    5484     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5485     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(a_a, 0)) - (1));
    5486     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5487         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(a_a, jmi_array_val_1(_for_loop_variables_r1, 1)) + jmi_array_val_1(b_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5370    _for_loop_variables_i2[0] = 0;
     5371    _for_loop_variables_i1[0] = floor((jmi_array_size(a_a, 0)) - (1));
     5372    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5373        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(a_a, _for_loop_variables_r1[0]) + jmi_array_val_1(b_a, _for_loop_variables_r1[0]);
    54885374    }
    54895375    JMI_DYNAMIC_FREE()
     
    55215407    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_4_a, 2, 1)
    55225408    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_5_a, 2, 1)
    5523     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1)
    5524     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1)
    5525     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1)
    5526     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 3, 1, 3)
    5527     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 3, 1, 3)
    5528     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 3, 1, 3)
     5409     jmi_real_t _for_loop_variables_r1[3];
     5410     jmi_int_t _for_loop_variables_i1[3];
     5411     jmi_int_t _for_loop_variables_i2[3];
    55295412    if (y_a == NULL) {
    55305413        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(x_a, 0) * 2, 2, jmi_array_size(x_a, 0), 2)
     
    55365419    jmi_array_ref_1(temp_4_a, 1) = 1;
    55375420    jmi_array_ref_1(temp_4_a, 2) = 2;
    5538     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5539     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5540     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5541         jmi_array_ref_2(temp_3_a, 1, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5421    _for_loop_variables_i2[0] = 0;
     5422    _for_loop_variables_i1[0] = floor((2) - (1));
     5423    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5424        jmi_array_ref_2(temp_3_a, 1, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_4_a, _for_loop_variables_r1[0]);
    55425425    }
    55435426    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_5_a, 2, 1, 2)
    55445427    jmi_array_ref_1(temp_5_a, 1) = 3;
    55455428    jmi_array_ref_1(temp_5_a, 2) = 4;
    5546     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5547     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    5548     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5549         jmi_array_ref_2(temp_3_a, 2, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_5_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    5550     }
    5551     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5552     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    5553     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5554         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5555         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((2) - (1));
    5556         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
     5429    _for_loop_variables_i2[0] = 0;
     5430    _for_loop_variables_i1[0] = floor((2) - (1));
     5431    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5432        jmi_array_ref_2(temp_3_a, 2, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_5_a, _for_loop_variables_r1[0]);
     5433    }
     5434    _for_loop_variables_i2[0] = 0;
     5435    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     5436    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5437        _for_loop_variables_i2[1] = 0;
     5438        _for_loop_variables_i1[1] = floor((2) - (1));
     5439        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
    55575440            temp_2_v = 0.0;
    5558             jmi_array_ref_1(_for_loop_variables_i2, 3) = 0;
    5559             jmi_array_ref_1(_for_loop_variables_i1, 3) = floor((2) - (1));
    5560             for (jmi_array_ref_1(_for_loop_variables_r1, 3) = 1; jmi_array_val_1(_for_loop_variables_i2, 3) <= jmi_array_val_1(_for_loop_variables_i1, 3); jmi_array_ref_1(_for_loop_variables_r1, 3) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 3)))) {
    5561                 temp_2_v = temp_2_v + jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 3), jmi_array_val_1(_for_loop_variables_r1, 3)) * jmi_array_val_2(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 3), jmi_array_val_1(_for_loop_variables_r1, 3));
     5441            _for_loop_variables_i2[2] = 0;
     5442            _for_loop_variables_i1[2] = floor((2) - (1));
     5443            for (_for_loop_variables_r1[2] = 1; _for_loop_variables_i2[2] <= _for_loop_variables_i1[2]; _for_loop_variables_r1[2] = 1 + (++(_for_loop_variables_i2[2]))) {
     5444                temp_2_v = temp_2_v + jmi_array_val_2(x_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) * jmi_array_val_2(temp_3_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    55625445            }
    5563             jmi_array_ref_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 3), jmi_array_val_1(_for_loop_variables_r1, 3)) = temp_2_v;
    5564         }
    5565     }
    5566     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5567     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    5568     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5569         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5570         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((2) - (1));
    5571         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5572             jmi_array_ref_2(y_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     5446            jmi_array_ref_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = temp_2_v;
     5447        }
     5448    }
     5449    _for_loop_variables_i2[0] = 0;
     5450    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     5451    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5452        _for_loop_variables_i2[1] = 0;
     5453        _for_loop_variables_i1[1] = floor((2) - (1));
     5454        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5455            jmi_array_ref_2(y_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    55735456        }
    55745457    }
     
    56365519    JMI_DEF(REA, y3_v)
    56375520    JMI_DEF(REA, temp_1_v)
    5638     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5639     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5640     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5641     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5642     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5643     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5521     jmi_real_t _for_loop_variables_r1[1];
     5522     jmi_int_t _for_loop_variables_i1[1];
     5523     jmi_int_t _for_loop_variables_i2[1];
    56445524    temp_1_v = 0.0;
    5645     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5646     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x3_a, 0)) - (1));
    5647     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5648         temp_1_v = temp_1_v + jmi_array_val_1(x3_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5525    _for_loop_variables_i2[0] = 0;
     5526    _for_loop_variables_i1[0] = floor((jmi_array_size(x3_a, 0)) - (1));
     5527    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5528        temp_1_v = temp_1_v + jmi_array_val_1(x3_a, _for_loop_variables_r1[0]);
    56495529    }
    56505530    y3_v = temp_1_v;
     
    56635543    JMI_DYNAMIC_INIT()
    56645544    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, y2_an, -1, 1)
    5665     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5666     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5667     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5668     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5669     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5670     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5545     jmi_real_t _for_loop_variables_r1[1];
     5546     jmi_int_t _for_loop_variables_i1[1];
     5547     jmi_int_t _for_loop_variables_i2[1];
    56715548    if (y2_a == NULL) {
    56725549        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y2_an, jmi_array_size(x2_a, 0), 1, jmi_array_size(x2_a, 0))
    56735550        y2_a = y2_an;
    56745551    }
    5675     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5676     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x2_a, 0)) - (1));
    5677     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5678         jmi_array_ref_1(y2_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(x2_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5552    _for_loop_variables_i2[0] = 0;
     5553    _for_loop_variables_i1[0] = floor((jmi_array_size(x2_a, 0)) - (1));
     5554    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5555        jmi_array_ref_1(y2_a, _for_loop_variables_r1[0]) = jmi_array_val_1(x2_a, _for_loop_variables_r1[0]);
    56795556    }
    56805557    JMI_DYNAMIC_FREE()
     
    57235600    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_3_a, -1, 1)
    57245601    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_4_a, -1, 1)
    5725     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5726     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5727     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5728     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5729     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5730     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5602     jmi_real_t _for_loop_variables_r1[1];
     5603     jmi_int_t _for_loop_variables_i1[1];
     5604     jmi_int_t _for_loop_variables_i2[1];
    57315605    if (o_a == NULL) {
    57325606        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
     
    57425616    jmi_array_ref_1(temp_2_a, 2) = 1;
    57435617    jmi_array_ref_1(temp_2_a, 3) = 1;
    5744     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5745     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    5746     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5747         jmi_array_ref_1(o_a, jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))) = jmi_array_val_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5618    _for_loop_variables_i2[0] = 0;
     5619    _for_loop_variables_i1[0] = floor((3) - (1));
     5620    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5621        jmi_array_ref_1(o_a, jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0])) = jmi_array_val_1(temp_2_a, _for_loop_variables_r1[0]);
    57485622    }
    57495623    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_3_a, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
    5750     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5751     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i_a, 0)) - (1));
    5752     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5753         jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(o_a, jmi_array_val_1(i_a, jmi_array_val_1(_for_loop_variables_r1, 1)));
     5624    _for_loop_variables_i2[0] = 0;
     5625    _for_loop_variables_i1[0] = floor((jmi_array_size(i_a, 0)) - (1));
     5626    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5627        jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = jmi_array_val_1(o_a, jmi_array_val_1(i_a, _for_loop_variables_r1[0]));
    57545628    }
    57555629    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_4_a, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
    57565630    func_CCodeGenTests_CUnknownArray4_f_def1(temp_3_a, temp_4_a, NULL);
    5757     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5758     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i_a, 0)) - (1));
    5759     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5760         jmi_array_ref_1(o_a, jmi_array_ref_1(i_a, jmi_array_val_1(_for_loop_variables_r1, 1))) = jmi_array_val_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5631    _for_loop_variables_i2[0] = 0;
     5632    _for_loop_variables_i1[0] = floor((jmi_array_size(i_a, 0)) - (1));
     5633    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5634        jmi_array_ref_1(o_a, jmi_array_ref_1(i_a, _for_loop_variables_r1[0])) = jmi_array_val_1(temp_4_a, _for_loop_variables_r1[0]);
    57615635    }
    57625636    JMI_RET(GEN, dummy_o, dummy_v)
     
    57695643    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, o_an, -1, 1)
    57705644    JMI_DEF(REA, dummy_v)
    5771     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    5772     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    5773     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    5774     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    5775     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    5776     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5645     jmi_real_t _for_loop_variables_r1[1];
     5646     jmi_int_t _for_loop_variables_i1[1];
     5647     jmi_int_t _for_loop_variables_i2[1];
    57775648    if (o_a == NULL) {
    57785649        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, o_an, jmi_array_size(i_a, 0), 1, jmi_array_size(i_a, 0))
     
    57805651    }
    57815652    dummy_v = 1;
    5782     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5783     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i_a, 0)) - (1));
    5784     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5785         jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(i_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5653    _for_loop_variables_i2[0] = 0;
     5654    _for_loop_variables_i1[0] = floor((jmi_array_size(i_a, 0)) - (1));
     5655    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5656        jmi_array_ref_1(o_a, _for_loop_variables_r1[0]) = jmi_array_val_1(i_a, _for_loop_variables_r1[0]);
    57865657    }
    57875658    JMI_RET(GEN, dummy_o, dummy_v)
     
    58185689    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_1_a, -1, 2)
    58195690    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_2_a, -1, 2)
    5820     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    5821     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    5822     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    5823     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    5824     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    5825     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     5691     jmi_real_t _for_loop_variables_r1[2];
     5692     jmi_int_t _for_loop_variables_i1[2];
     5693     jmi_int_t _for_loop_variables_i2[2];
    58265694    if (y_a == NULL) {
    58275695        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(i1_a, 0) * jmi_array_size(i1_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i1_a, 0))
     
    58305698    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, temp_1_a, jmi_array_size(i1_a, 0) * jmi_array_size(i2_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i2_a, 0))
    58315699    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, temp_2_a, jmi_array_size(i1_a, 0) * jmi_array_size(i2_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i2_a, 0))
    5832     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5833     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0)) - (1));
    5834     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5835         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5836         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i2_a, 0)) - (1));
    5837         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5838             jmi_array_ref_2(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(x_a, jmi_array_val_1(i1_a, jmi_array_val_1(_for_loop_variables_r1, 2)), jmi_array_val_1(i2_a, jmi_array_val_1(_for_loop_variables_r1, 2)));
    5839         }
    5840     }
    5841     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5842     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0)) - (1));
    5843     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5844         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5845         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i2_a, 0)) - (1));
    5846         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5847             jmi_array_ref_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
    5848         }
    5849     }
    5850     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5851     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0)) - (1));
    5852     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5853         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5854         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i1_a, 0)) - (1));
    5855         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5856             jmi_array_ref_2(y_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     5700    _for_loop_variables_i2[0] = 0;
     5701    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0)) - (1));
     5702    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5703        _for_loop_variables_i2[1] = 0;
     5704        _for_loop_variables_i1[1] = floor((jmi_array_size(i2_a, 0)) - (1));
     5705        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5706            jmi_array_ref_2(temp_2_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, jmi_array_val_1(i1_a, _for_loop_variables_r1[0]), jmi_array_val_1(i2_a, _for_loop_variables_r1[0]));
     5707        }
     5708    }
     5709    _for_loop_variables_i2[0] = 0;
     5710    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0)) - (1));
     5711    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5712        _for_loop_variables_i2[1] = 0;
     5713        _for_loop_variables_i1[1] = floor((jmi_array_size(i2_a, 0)) - (1));
     5714        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5715            jmi_array_ref_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_2_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
     5716        }
     5717    }
     5718    _for_loop_variables_i2[0] = 0;
     5719    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0)) - (1));
     5720    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5721        _for_loop_variables_i2[1] = 0;
     5722        _for_loop_variables_i1[1] = floor((jmi_array_size(i1_a, 0)) - (1));
     5723        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5724            jmi_array_ref_2(y_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    58575725        }
    58585726    }
     
    58895757    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_1_a, -1, 2)
    58905758    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_2_a, -1, 2)
    5891     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    5892     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    5893     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    5894     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    5895     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    5896     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     5759     jmi_real_t _for_loop_variables_r1[2];
     5760     jmi_int_t _for_loop_variables_i1[2];
     5761     jmi_int_t _for_loop_variables_i2[2];
    58975762    if (y_a == NULL) {
    58985763        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, y_an, (jmi_array_size(i1_a, 0) * 2 - 2) * jmi_array_size(i1_a, 0), 2, jmi_array_size(i1_a, 0) * 2 - 2, jmi_array_size(i1_a, 0))
     
    59015766    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, temp_1_a, jmi_array_size(i1_a, 0) * jmi_array_size(i2_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i2_a, 0))
    59025767    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, temp_2_a, jmi_array_size(i1_a, 0) * jmi_array_size(i2_a, 0), 2, jmi_array_size(i1_a, 0), jmi_array_size(i2_a, 0))
    5903     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5904     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0)) - (1));
    5905     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5906         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5907         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i2_a, 0)) - (1));
    5908         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5909             jmi_array_ref_2(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(x_a, jmi_array_val_1(i1_a, jmi_array_val_1(_for_loop_variables_r1, 2)), jmi_array_val_1(i2_a, jmi_array_val_1(_for_loop_variables_r1, 2)));
    5910         }
    5911     }
    5912     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5913     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0)) - (1));
    5914     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5915         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5916         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i2_a, 0)) - (1));
    5917         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5918             jmi_array_ref_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
    5919         }
    5920     }
    5921     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5922     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(i1_a, 0) * 2 - 2) - (1));
    5923     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    5924         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5925         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(i1_a, 0)) - (1));
    5926         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    5927             jmi_array_ref_2(y_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     5768    _for_loop_variables_i2[0] = 0;
     5769    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0)) - (1));
     5770    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5771        _for_loop_variables_i2[1] = 0;
     5772        _for_loop_variables_i1[1] = floor((jmi_array_size(i2_a, 0)) - (1));
     5773        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5774            jmi_array_ref_2(temp_2_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, jmi_array_val_1(i1_a, _for_loop_variables_r1[0]), jmi_array_val_1(i2_a, _for_loop_variables_r1[0]));
     5775        }
     5776    }
     5777    _for_loop_variables_i2[0] = 0;
     5778    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0)) - (1));
     5779    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5780        _for_loop_variables_i2[1] = 0;
     5781        _for_loop_variables_i1[1] = floor((jmi_array_size(i2_a, 0)) - (1));
     5782        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5783            jmi_array_ref_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_2_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
     5784        }
     5785    }
     5786    _for_loop_variables_i2[0] = 0;
     5787    _for_loop_variables_i1[0] = floor((jmi_array_size(i1_a, 0) * 2 - 2) - (1));
     5788    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5789        _for_loop_variables_i2[1] = 0;
     5790        _for_loop_variables_i1[1] = floor((jmi_array_size(i1_a, 0)) - (1));
     5791        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5792            jmi_array_ref_2(y_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(temp_1_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    59285793        }
    59295794    }
     
    59715836    JMI_ARR(STACK, R2_0_r, R2_0_ra, temp_2_a, 1, 1)
    59725837    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_3_a, 1, 1)
    5973     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 4, 1)
    5974     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 4, 1)
    5975     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 4, 1)
    5976     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 4, 1, 4)
    5977     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 4, 1, 4)
    5978     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 4, 1, 4)
     5838     jmi_real_t _for_loop_variables_r1[4];
     5839     jmi_int_t _for_loop_variables_i1[4];
     5840     jmi_int_t _for_loop_variables_i2[4];
    59795841    if (o_a == NULL) {
    59805842        JMI_ARRAY_INIT_2(HEAP, R1_1_r, R1_1_ra, o_an, m_v * m_v, 2, m_v, m_v)
     
    59895851        o_a = o_an;
    59905852    }
    5991     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    5992     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((m_v) - (1));
    5993     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
     5853    _for_loop_variables_i2[0] = 0;
     5854    _for_loop_variables_i1[0] = floor((m_v) - (1));
     5855    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
    59945856        JMI_ARRAY_INIT_1(HEAP, R1_1_r, R1_1_ra, temp_1_a, JMI_MAX_EQUATION(m_v, 0.0), 1, JMI_MAX_EQUATION(m_v, 0.0))
    5995         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    5996         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((JMI_MAX_EQUATION(m_v, 0.0)) - (1));
    5997         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
     5857        _for_loop_variables_i2[1] = 0;
     5858        _for_loop_variables_i1[1] = floor((JMI_MAX_EQUATION(m_v, 0.0)) - (1));
     5859        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
    59985860            JMI_ARRAY_INIT_1(STACK, R2_0_r, R2_0_ra, temp_2_a, 1, 1, 1)
    59995861            JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, temp_3_a, 1, 1, 1)
    6000             jmi_array_ref_1(temp_3_a, 1) = jmi_array_val_1(_for_loop_variables_r1, 2) * jmi_array_val_1(_for_loop_variables_r1, 2);
     5862            jmi_array_ref_1(temp_3_a, 1) = _for_loop_variables_r1[0] * _for_loop_variables_r1[0];
    60015863            JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, jmi_array_rec_1(temp_2_a, 1)->y, 1, 1, 1)
    6002             jmi_array_ref_1(_for_loop_variables_i2, 3) = 0;
    6003             jmi_array_ref_1(_for_loop_variables_i1, 3) = floor((1) - (1));
    6004             for (jmi_array_ref_1(_for_loop_variables_r1, 3) = 1; jmi_array_val_1(_for_loop_variables_i2, 3) <= jmi_array_val_1(_for_loop_variables_i1, 3); jmi_array_ref_1(_for_loop_variables_r1, 3) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 3)))) {
    6005                 jmi_array_ref_1(jmi_array_rec_1(temp_2_a, 1)->y, jmi_array_val_1(_for_loop_variables_r1, 3)) = jmi_array_val_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 3));
     5864            _for_loop_variables_i2[2] = 0;
     5865            _for_loop_variables_i1[2] = floor((1) - (1));
     5866            for (_for_loop_variables_r1[2] = 1; _for_loop_variables_i2[2] <= _for_loop_variables_i1[2]; _for_loop_variables_r1[2] = 1 + (++(_for_loop_variables_i2[2]))) {
     5867                jmi_array_ref_1(jmi_array_rec_1(temp_2_a, 1)->y, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_3_a, _for_loop_variables_r1[0]);
    60065868            }
    6007             JMI_ARRAY_INIT_1(HEAP, R2_0_r, R2_0_ra, jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, 1, 1, 1)
    6008             jmi_array_ref_1(_for_loop_variables_i2, 3) = 0;
    6009             jmi_array_ref_1(_for_loop_variables_i1, 3) = floor((1) - (1));
    6010             for (jmi_array_ref_1(_for_loop_variables_r1, 3) = 1; jmi_array_val_1(_for_loop_variables_i2, 3) <= jmi_array_val_1(_for_loop_variables_i1, 3); jmi_array_ref_1(_for_loop_variables_r1, 3) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 3)))) {
    6011                 JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 3))->y, 1, 1, 1)
    6012                 jmi_array_ref_1(_for_loop_variables_i2, 4) = 0;
    6013                 jmi_array_ref_1(_for_loop_variables_i1, 4) = floor((1) - (1));
    6014                 for (jmi_array_ref_1(_for_loop_variables_r1, 4) = 1; jmi_array_val_1(_for_loop_variables_i2, 4) <= jmi_array_val_1(_for_loop_variables_i1, 4); jmi_array_ref_1(_for_loop_variables_r1, 4) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 4)))) {
    6015                     jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 3))->y, jmi_array_val_1(_for_loop_variables_r1, 4)) = jmi_array_val_1(jmi_array_rec_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 3))->y, jmi_array_val_1(_for_loop_variables_r1, 4));
     5869            JMI_ARRAY_INIT_1(HEAP, R2_0_r, R2_0_ra, jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, 1, 1, 1)
     5870            _for_loop_variables_i2[2] = 0;
     5871            _for_loop_variables_i1[2] = floor((1) - (1));
     5872            for (_for_loop_variables_r1[2] = 1; _for_loop_variables_i2[2] <= _for_loop_variables_i1[2]; _for_loop_variables_r1[2] = 1 + (++(_for_loop_variables_i2[2]))) {
     5873                JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0])->y, 1, 1, 1)
     5874                _for_loop_variables_i2[3] = 0;
     5875                _for_loop_variables_i1[3] = floor((1) - (1));
     5876                for (_for_loop_variables_r1[3] = 1; _for_loop_variables_i2[3] <= _for_loop_variables_i1[3]; _for_loop_variables_r1[3] = 1 + (++(_for_loop_variables_i2[3]))) {
     5877                    jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0])->y, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_2_a, _for_loop_variables_r1[0])->y, _for_loop_variables_r1[0]);
    60165878                }
    60175879            }
    60185880        }
    6019         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    6020         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((m_v) - (1));
    6021         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    6022             jmi_array_ref_1(_for_loop_variables_i2, 3) = 0;
    6023             jmi_array_ref_1(_for_loop_variables_i1, 3) = floor((1) - (1));
    6024             for (jmi_array_ref_1(_for_loop_variables_r1, 3) = 1; jmi_array_val_1(_for_loop_variables_i2, 3) <= jmi_array_val_1(_for_loop_variables_i1, 3); jmi_array_ref_1(_for_loop_variables_r1, 3) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 3)))) {
    6025                 jmi_array_ref_1(_for_loop_variables_i2, 4) = 0;
    6026                 jmi_array_ref_1(_for_loop_variables_i1, 4) = floor((1) - (1));
    6027                 for (jmi_array_ref_1(_for_loop_variables_r1, 4) = 1; jmi_array_val_1(_for_loop_variables_i2, 4) <= jmi_array_val_1(_for_loop_variables_i1, 4); jmi_array_ref_1(_for_loop_variables_r1, 4) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 4)))) {
    6028                     jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_2(o_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 4))->x, jmi_array_val_1(_for_loop_variables_r1, 4))->y, jmi_array_val_1(_for_loop_variables_r1, 4)) = jmi_array_val_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 4))->x, jmi_array_val_1(_for_loop_variables_r1, 4))->y, jmi_array_val_1(_for_loop_variables_r1, 4));
     5881        _for_loop_variables_i2[1] = 0;
     5882        _for_loop_variables_i1[1] = floor((m_v) - (1));
     5883        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     5884            _for_loop_variables_i2[2] = 0;
     5885            _for_loop_variables_i1[2] = floor((1) - (1));
     5886            for (_for_loop_variables_r1[2] = 1; _for_loop_variables_i2[2] <= _for_loop_variables_i1[2]; _for_loop_variables_r1[2] = 1 + (++(_for_loop_variables_i2[2]))) {
     5887                _for_loop_variables_i2[3] = 0;
     5888                _for_loop_variables_i1[3] = floor((1) - (1));
     5889                for (_for_loop_variables_r1[3] = 1; _for_loop_variables_i2[3] <= _for_loop_variables_i1[3]; _for_loop_variables_r1[3] = 1 + (++(_for_loop_variables_i2[3]))) {
     5890                    jmi_array_ref_1(jmi_array_rec_1(jmi_array_rec_2(o_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0])->y, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0])->y, _for_loop_variables_r1[0]);
    60295891                }
    60305892            }
     
    60655927    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, u_an, -1, 1)
    60665928    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_1_a, -1, 1)
    6067     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6068     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6069     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6070     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6071     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6072     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5929     jmi_real_t _for_loop_variables_r1[1];
     5930     jmi_int_t _for_loop_variables_i1[1];
     5931     jmi_int_t _for_loop_variables_i2[1];
    60735932    if (u_a == NULL) {
    60745933        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, u_an, jmi_array_size(a_a, 0), 1, jmi_array_size(a_a, 0))
     
    60765935    }
    60775936    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, jmi_array_size(a_a, 0), 1, jmi_array_size(a_a, 0))
    6078     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6079     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(a_a, 0)) - (1));
    6080     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6081         jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(a_a, jmi_array_val_1(_for_loop_variables_r1, 1)) + jmi_array_val_1(b_a, jmi_array_val_1(_for_loop_variables_r1, 1));
    6082     }
    6083     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6084     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(a_a, 0)) - (1));
    6085     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6086         jmi_array_ref_1(u_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(a_a, jmi_array_val_1(_for_loop_variables_r1, 1)) * func_CCodeGenTests_CUnknownArray8_l_exp1(temp_1_a);
     5937    _for_loop_variables_i2[0] = 0;
     5938    _for_loop_variables_i1[0] = floor((jmi_array_size(a_a, 0)) - (1));
     5939    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5940        jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = jmi_array_val_1(a_a, _for_loop_variables_r1[0]) + jmi_array_val_1(b_a, _for_loop_variables_r1[0]);
     5941    }
     5942    _for_loop_variables_i2[0] = 0;
     5943    _for_loop_variables_i1[0] = floor((jmi_array_size(a_a, 0)) - (1));
     5944    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5945        jmi_array_ref_1(u_a, _for_loop_variables_r1[0]) = jmi_array_val_1(a_a, _for_loop_variables_r1[0]) * func_CCodeGenTests_CUnknownArray8_l_exp1(temp_1_a);
    60875946    }
    60885947    JMI_DYNAMIC_FREE()
     
    60945953    JMI_DEF(REA, y_v)
    60955954    JMI_DEF(REA, temp_1_v)
    6096     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6097     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6098     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6099     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6100     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6101     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     5955     jmi_real_t _for_loop_variables_r1[1];
     5956     jmi_int_t _for_loop_variables_i1[1];
     5957     jmi_int_t _for_loop_variables_i2[1];
    61025958    temp_1_v = 0.0;
    6103     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6104     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    6105     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6106         temp_1_v = temp_1_v + jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     5959    _for_loop_variables_i2[0] = 0;
     5960    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     5961    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     5962        temp_1_v = temp_1_v + jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    61075963    }
    61085964    y_v = temp_1_v;
     
    61425998    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, ab_an, -1, 1)
    61435999    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, ba_an, -1, 1)
    6144     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6145     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6146     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6147     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6148     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6149     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6000     jmi_real_t _for_loop_variables_r1[1];
     6001     jmi_int_t _for_loop_variables_i1[1];
     6002     jmi_int_t _for_loop_variables_i2[1];
    61506003    if (ba_a == NULL) {
    61516004        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, ba_an, n_v, 1, n_v)
     
    61566009        ab_a = ab_an;
    61576010    }
    6158     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6159     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    6160     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6161         jmi_array_ref_1(ba_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 1;
    6162     }
    6163     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6164     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(ba_a, 0)) - (1));
    6165     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6166         jmi_array_ref_1(ab_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(ba_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     6011    _for_loop_variables_i2[0] = 0;
     6012    _for_loop_variables_i1[0] = floor((n_v) - (1));
     6013    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6014        jmi_array_ref_1(ba_a, _for_loop_variables_r1[0]) = 1;
     6015    }
     6016    _for_loop_variables_i2[0] = 0;
     6017    _for_loop_variables_i1[0] = floor((jmi_array_size(ba_a, 0)) - (1));
     6018    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6019        jmi_array_ref_1(ab_a, _for_loop_variables_r1[0]) = jmi_array_val_1(ba_a, _for_loop_variables_r1[0]);
    61676020    }
    61686021    JMI_DYNAMIC_FREE()
     
    62446097    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    62456098    JMI_DEF(REA, x_v)
    6246     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6247     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6248     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6249     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6250     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6251     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6099     jmi_real_t _for_loop_variables_r1[1];
     6100     jmi_int_t _for_loop_variables_i1[1];
     6101     jmi_int_t _for_loop_variables_i2[1];
    62526102    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
    62536103    r_v->x = tmp_1;
    6254     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6255     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    6256     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6257         jmi_array_ref_1(r_v->x, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(_for_loop_variables_r1, 1);
     6104    _for_loop_variables_i2[0] = 0;
     6105    _for_loop_variables_i1[0] = floor((2) - (1));
     6106    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6107        jmi_array_ref_1(r_v->x, _for_loop_variables_r1[0]) = _for_loop_variables_r1[0];
    62586108    }
    62596109    x_v = jmi_array_val_1(r_v->x, 1);
     
    62976147    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, y_an, -1, 1)
    62986148    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_1_a, -1, 1)
    6299     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    6300     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    6301     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    6302     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    6303     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    6304     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     6149     jmi_real_t _for_loop_variables_r1[2];
     6150     jmi_int_t _for_loop_variables_i1[2];
     6151     jmi_int_t _for_loop_variables_i2[2];
    63056152    if (y_a == NULL) {
    63066153        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y_an, jmi_array_size(x_a, 0) * 2, 1, jmi_array_size(x_a, 0) * 2)
    63076154        y_a = y_an;
    63086155    }
    6309     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6310     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    6311     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6312         JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, (jmi_array_size(x_a, 0) + JMI_MAX_EQUATION(jmi_array_val_1(_for_loop_variables_r1, 1), 0.0)), 1, jmi_array_size(x_a, 0) + JMI_MAX_EQUATION(jmi_array_val_1(_for_loop_variables_r1, 1), 0.0))
    6313         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    6314         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(x_a, 0)) - (1));
    6315         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    6316             jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 2));
    6317         }
    6318         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    6319         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((JMI_MAX_EQUATION(jmi_array_val_1(_for_loop_variables_r1, 1), 0.0)) - (1));
    6320         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    6321             jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2) + jmi_array_size(x_a, 0)) = jmi_array_val_1(_for_loop_variables_r1, 2);
    6322         }
    6323         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    6324         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(x_a, 0) * 2) - (1));
    6325         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    6326             jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2));
     6156    _for_loop_variables_i2[0] = 0;
     6157    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     6158    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6159        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_1_a, (jmi_array_size(x_a, 0) + JMI_MAX_EQUATION(_for_loop_variables_r1[0], 0.0)), 1, jmi_array_size(x_a, 0) + JMI_MAX_EQUATION(_for_loop_variables_r1[0], 0.0))
     6160        _for_loop_variables_i2[1] = 0;
     6161        _for_loop_variables_i1[1] = floor((jmi_array_size(x_a, 0)) - (1));
     6162        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     6163            jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]) = jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
     6164        }
     6165        _for_loop_variables_i2[1] = 0;
     6166        _for_loop_variables_i1[1] = floor((JMI_MAX_EQUATION(_for_loop_variables_r1[0], 0.0)) - (1));
     6167        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     6168            jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0] + jmi_array_size(x_a, 0)) = _for_loop_variables_r1[0];
     6169        }
     6170        _for_loop_variables_i2[1] = 0;
     6171        _for_loop_variables_i1[1] = floor((jmi_array_size(x_a, 0) * 2) - (1));
     6172        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     6173            jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    63276174        }
    63286175    }
     
    66466493    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    66476494    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    6648     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6649     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6650     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6651     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6652     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6653     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6495     jmi_real_t _for_loop_variables_r1[1];
     6496     jmi_int_t _for_loop_variables_i1[1];
     6497     jmi_int_t _for_loop_variables_i2[1];
    66546498    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
    66556499    x_v->a = tmp_1;
     
    66576501    jmi_array_ref_1(temp_1_a, 1) = 1;
    66586502    jmi_array_ref_1(temp_1_a, 2) = 2;
    6659     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6660     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    6661     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6662         jmi_array_ref_1(x_v->a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     6503    _for_loop_variables_i2[0] = 0;
     6504    _for_loop_variables_i1[0] = floor((2) - (1));
     6505    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6506        jmi_array_ref_1(x_v->a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    66636507    }
    66646508    o_v = jmi_array_val_1(x_v->a, 1);
     
    67186562    JMI_ARR(STACK, B_0_r, B_0_ra, temp_3_a, 2, 1)
    67196563    JMI_ARR(STACK, B_0_r, B_0_ra, temp_4_a, 2, 1)
    6720     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    6721     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    6722     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    6723     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    6724     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    6725     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     6564     jmi_real_t _for_loop_variables_r1[2];
     6565     jmi_int_t _for_loop_variables_i1[2];
     6566     jmi_int_t _for_loop_variables_i2[2];
    67266567    JMI_ARRAY_INIT_1(STACK, A_1_r, A_1_ra, x_a, 3, 1, 3)
    67276568    JMI_ARRAY_INIT_1(STACK, B_0_r, B_0_ra, tmp_1, 2, 1, 2)
     
    67476588    jmi_array_rec_1(temp_1_a, 3)->a = 7;
    67486589    jmi_array_rec_1(temp_1_a, 3)->b = temp_4_a;
    6749     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6750     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    6751     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6752         jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->a = jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))->a;
    6753         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    6754         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((2) - (1));
    6755         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    6756             jmi_array_rec_1(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->b, jmi_array_val_1(_for_loop_variables_r1, 2))->c = jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))->b, jmi_array_val_1(_for_loop_variables_r1, 2))->c;
     6590    _for_loop_variables_i2[0] = 0;
     6591    _for_loop_variables_i1[0] = floor((3) - (1));
     6592    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6593        jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->a = jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->a;
     6594        _for_loop_variables_i2[1] = 0;
     6595        _for_loop_variables_i1[1] = floor((2) - (1));
     6596        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     6597            jmi_array_rec_1(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->b, _for_loop_variables_r1[0])->c = jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->b, _for_loop_variables_r1[0])->c;
    67576598        }
    67586599    }
     
    69146755    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1)
    69156756    JMI_ARR(STACK, jmi_real_t, jmi_array_t, temp_1_a, 2, 1)
    6916     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    6917     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    6918     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    6919     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    6920     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    6921     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     6757     jmi_real_t _for_loop_variables_r1[1];
     6758     jmi_int_t _for_loop_variables_i1[1];
     6759     jmi_int_t _for_loop_variables_i2[1];
    69226760    if (x_v == NULL) {
    69236761        JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 2, 1, 2)
     
    69286766    jmi_array_ref_1(temp_1_a, 1) = 1;
    69296767    jmi_array_ref_1(temp_1_a, 2) = 2;
    6930     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    6931     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    6932     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    6933         jmi_array_ref_1(x_v->a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     6768    _for_loop_variables_i2[0] = 0;
     6769    _for_loop_variables_i1[0] = floor((2) - (1));
     6770    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6771        jmi_array_ref_1(x_v->a, _for_loop_variables_r1[0]) = jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]);
    69346772    }
    69356773    JMI_DYNAMIC_FREE()
     
    69926830    JMI_ARR(STACK, B_0_r, B_0_ra, temp_3_a, 2, 1)
    69936831    JMI_ARR(STACK, B_0_r, B_0_ra, temp_4_a, 2, 1)
    6994     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    6995     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    6996     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    6997     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    6998     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    6999     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     6832     jmi_real_t _for_loop_variables_r1[2];
     6833     jmi_int_t _for_loop_variables_i1[2];
     6834     jmi_int_t _for_loop_variables_i2[2];
    70006835    if (x_a == NULL) {
    70016836        JMI_ARRAY_INIT_1(STACK, A_1_r, A_1_ra, x_an, 3, 1, 3)
     
    70246859    jmi_array_rec_1(temp_1_a, 3)->a = 7;
    70256860    jmi_array_rec_1(temp_1_a, 3)->b = temp_4_a;
    7026     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    7027     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    7028     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    7029         jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->a = jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))->a;
    7030         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    7031         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((2) - (1));
    7032         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    7033             jmi_array_rec_1(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->b, jmi_array_val_1(_for_loop_variables_r1, 2))->c = jmi_array_rec_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1))->b, jmi_array_val_1(_for_loop_variables_r1, 2))->c;
     6861    _for_loop_variables_i2[0] = 0;
     6862    _for_loop_variables_i1[0] = floor((3) - (1));
     6863    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     6864        jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->a = jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->a;
     6865        _for_loop_variables_i2[1] = 0;
     6866        _for_loop_variables_i1[1] = floor((2) - (1));
     6867        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     6868            jmi_array_rec_1(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->b, _for_loop_variables_r1[0])->c = jmi_array_rec_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->b, _for_loop_variables_r1[0])->c;
    70346869        }
    70356870    }
     
    72797114    JMI_DYNAMIC_INIT()
    72807115    JMI_DEF(REA, o_v)
    7281     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    7282     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    7283     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    7284     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    7285     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    7286     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
    7287     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    7288     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((3) - (1));
    7289     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    7290         if (COND_EXP_EQ(2.0, jmi_array_size(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->b, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     7116     jmi_real_t _for_loop_variables_r1[1];
     7117     jmi_int_t _for_loop_variables_i1[1];
     7118     jmi_int_t _for_loop_variables_i2[1];
     7119    _for_loop_variables_i2[0] = 0;
     7120    _for_loop_variables_i1[0] = floor((3) - (1));
     7121    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     7122        if (COND_EXP_EQ(2.0, jmi_array_size(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->b, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
    72917123            jmi_assert_failed(\"Mismatching sizes in function 'CCodeGenTests.CRecordDecl16.f', component 'x[i1].b', dimension '1'\", JMI_ASSERT_ERROR);
    72927124        }
     
    1392613758    JMI_DEF(INT_EXT, tmp_6)
    1392713759    extern void dgesv_(int*, int*, double*, int*, int*, double*, int*, int*);
    13928     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    13929     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    13930     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    13931     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    13932     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    13933     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     13760     jmi_real_t _for_loop_variables_r1[2];
     13761     jmi_int_t _for_loop_variables_i1[2];
     13762     jmi_int_t _for_loop_variables_i2[2];
    1393413763    if (x_a == NULL) {
    1393513764        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, x_an, jmi_array_size(A_a, 0), 1, jmi_array_size(A_a, 0))
    1393613765        x_a = x_an;
    1393713766    }
    13938     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    13939     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(A_a, 0)) - (1));
    13940     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    13941         jmi_array_ref_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_1(b_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     13767    _for_loop_variables_i2[0] = 0;
     13768    _for_loop_variables_i1[0] = floor((jmi_array_size(A_a, 0)) - (1));
     13769    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     13770        jmi_array_ref_1(x_a, _for_loop_variables_r1[0]) = jmi_array_val_1(b_a, _for_loop_variables_r1[0]);
    1394213771    }
    1394313772    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, Awork_a, jmi_array_size(A_a, 0) * jmi_array_size(A_a, 0), 2, jmi_array_size(A_a, 0), jmi_array_size(A_a, 0))
    13944     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    13945     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(A_a, 0)) - (1));
    13946     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    13947         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    13948         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(A_a, 0)) - (1));
    13949         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    13950             jmi_array_ref_2(Awork_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(A_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     13773    _for_loop_variables_i2[0] = 0;
     13774    _for_loop_variables_i1[0] = floor((jmi_array_size(A_a, 0)) - (1));
     13775    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     13776        _for_loop_variables_i2[1] = 0;
     13777        _for_loop_variables_i1[1] = floor((jmi_array_size(A_a, 0)) - (1));
     13778        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     13779            jmi_array_ref_2(Awork_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(A_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    1395113780        }
    1395213781    }
     
    1402513854    JMI_DEF(INT_EXT, tmp_6)
    1402613855    extern void dgesv_(int*, int*, double*, int*, int*, double*, int*, int*);
    14027     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    14028     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    14029     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    14030     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    14031     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    14032     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     13856     jmi_real_t _for_loop_variables_r1[2];
     13857     jmi_int_t _for_loop_variables_i1[2];
     13858     jmi_int_t _for_loop_variables_i2[2];
    1403313859    if (X_a == NULL) {
    1403413860        JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, X_an, jmi_array_size(A_a, 0) * jmi_array_size(B_a, 1), 2, jmi_array_size(A_a, 0), jmi_array_size(B_a, 1))
    1403513861        X_a = X_an;
    1403613862    }
    14037     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    14038     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(A_a, 0)) - (1));
    14039     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    14040         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    14041         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(B_a, 1)) - (1));
    14042         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    14043             jmi_array_ref_2(X_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(B_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     13863    _for_loop_variables_i2[0] = 0;
     13864    _for_loop_variables_i1[0] = floor((jmi_array_size(A_a, 0)) - (1));
     13865    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     13866        _for_loop_variables_i2[1] = 0;
     13867        _for_loop_variables_i1[1] = floor((jmi_array_size(B_a, 1)) - (1));
     13868        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     13869            jmi_array_ref_2(X_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(B_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    1404413870        }
    1404513871    }
    1404613872    JMI_ARRAY_INIT_2(HEAP, jmi_real_t, jmi_array_t, Awork_a, jmi_array_size(A_a, 0) * jmi_array_size(A_a, 0), 2, jmi_array_size(A_a, 0), jmi_array_size(A_a, 0))
    14047     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    14048     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(A_a, 0)) - (1));
    14049     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    14050         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    14051         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((jmi_array_size(A_a, 0)) - (1));
    14052         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    14053             jmi_array_ref_2(Awork_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_2(A_a, jmi_array_val_1(_for_loop_variables_r1, 2), jmi_array_val_1(_for_loop_variables_r1, 2));
     13873    _for_loop_variables_i2[0] = 0;
     13874    _for_loop_variables_i1[0] = floor((jmi_array_size(A_a, 0)) - (1));
     13875    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     13876        _for_loop_variables_i2[1] = 0;
     13877        _for_loop_variables_i1[1] = floor((jmi_array_size(A_a, 0)) - (1));
     13878        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     13879            jmi_array_ref_2(Awork_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]) = jmi_array_val_2(A_a, _for_loop_variables_r1[0], _for_loop_variables_r1[0]);
    1405413880        }
    1405513881    }
     
    1635816184    JMI_ARR(STACK, jmi_string_t, jmi_string_array_t, temp_1_a, 2, 1)
    1635916185    JMI_ARR(STACK, jmi_string_t, jmi_string_array_t, tmp_1, 2, 1)
    16360     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    16361     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    16362     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    16363     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    16364     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    16365     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     16186     jmi_real_t _for_loop_variables_r1[1];
     16187     jmi_int_t _for_loop_variables_i1[1];
     16188     jmi_int_t _for_loop_variables_i2[1];
    1636616189    JMI_ARRAY_INIT_1(STACK, jmi_string_t, jmi_string_array_t, s_a, 2, 1, 2)
    1636716190    y_v = x_v;
     
    1636916192    JMI_ASG(STR, jmi_array_ref_1(temp_1_a, 1), \"str\")
    1637016193    JMI_ASG(STR, jmi_array_ref_1(temp_1_a, 2), \"str\")
    16371     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    16372     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((2) - (1));
    16373     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    16374         JMI_ASG(STR, jmi_array_ref_1(s_a, jmi_array_val_1(_for_loop_variables_r1, 1)), jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)))
     16194    _for_loop_variables_i2[0] = 0;
     16195    _for_loop_variables_i1[0] = floor((2) - (1));
     16196    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     16197        JMI_ASG(STR, jmi_array_ref_1(s_a, _for_loop_variables_r1[0]), jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]))
    1637516198    }
    1637616199    JMI_ARRAY_INIT_1(STACK, jmi_string_t, jmi_string_array_t, tmp_1, 2, 1, 2)
     
    1639016213    JMI_DYNAMIC_INIT()
    1639116214    JMI_ARR(HEAP, jmi_string_t, jmi_string_array_t, o_a, -1, 1)
    16392     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    16393     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    16394     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    16395     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    16396     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    16397     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     16215     jmi_real_t _for_loop_variables_r1[1];
     16216     jmi_int_t _for_loop_variables_i1[1];
     16217     jmi_int_t _for_loop_variables_i2[1];
    1639816218    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, o_a, jmi_array_size(s_a, 0), 1, jmi_array_size(s_a, 0))
    16399     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    16400     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(s_a, 0)) - (1));
    16401     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    16402         JMI_ASG(STR, jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)), jmi_array_val_1(s_a, jmi_array_val_1(_for_loop_variables_r1, 1)))
     16219    _for_loop_variables_i2[0] = 0;
     16220    _for_loop_variables_i1[0] = floor((jmi_array_size(s_a, 0)) - (1));
     16221    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     16222        JMI_ASG(STR, jmi_array_ref_1(o_a, _for_loop_variables_r1[0]), jmi_array_val_1(s_a, _for_loop_variables_r1[0]))
    1640316223    }
    1640416224    JMI_RET(STR_ARR, o_o, o_a)
     
    1644516265    JMI_ARR(HEAP, jmi_string_t, jmi_string_array_t, temp_1_a, -1, 1)
    1644616266    JMI_ARR(HEAP, jmi_string_t, jmi_string_array_t, tmp_1, -1, 1)
    16447     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    16448     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    16449     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    16450     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    16451     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    16452     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     16267     jmi_real_t _for_loop_variables_r1[1];
     16268     jmi_int_t _for_loop_variables_i1[1];
     16269     jmi_int_t _for_loop_variables_i2[1];
    1645316270    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, s_a, n_v, 1, n_v)
    1645416271    y_v = x_v;
    1645516272    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, temp_1_a, JMI_MAX_EQUATION(n_v, 0.0), 1, JMI_MAX_EQUATION(n_v, 0.0))
    16456     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    16457     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((JMI_MAX_EQUATION(n_v, 0.0)) - (1));
    16458     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    16459         JMI_ASG(STR, jmi_array_ref_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)), \"str\")
    16460     }
    16461     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    16462     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((n_v) - (1));
    16463     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    16464         JMI_ASG(STR, jmi_array_ref_1(s_a, jmi_array_val_1(_for_loop_variables_r1, 1)), jmi_array_val_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 1)))
     16273    _for_loop_variables_i2[0] = 0;
     16274    _for_loop_variables_i1[0] = floor((JMI_MAX_EQUATION(n_v, 0.0)) - (1));
     16275    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     16276        JMI_ASG(STR, jmi_array_ref_1(temp_1_a, _for_loop_variables_r1[0]), \"str\")
     16277    }
     16278    _for_loop_variables_i2[0] = 0;
     16279    _for_loop_variables_i1[0] = floor((n_v) - (1));
     16280    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     16281        JMI_ASG(STR, jmi_array_ref_1(s_a, _for_loop_variables_r1[0]), jmi_array_val_1(temp_1_a, _for_loop_variables_r1[0]))
    1646516282    }
    1646616283    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, tmp_1, n_v, 1, n_v)
     
    1648016297    JMI_DYNAMIC_INIT()
    1648116298    JMI_ARR(HEAP, jmi_string_t, jmi_string_array_t, o_a, -1, 1)
    16482     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    16483     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    16484     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    16485     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    16486     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    16487     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     16299     jmi_real_t _for_loop_variables_r1[1];
     16300     jmi_int_t _for_loop_variables_i1[1];
     16301     jmi_int_t _for_loop_variables_i2[1];
    1648816302    JMI_ARRAY_INIT_1(HEAP, jmi_string_t, jmi_string_array_t, o_a, jmi_array_size(s_a, 0), 1, jmi_array_size(s_a, 0))
    16489     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    16490     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(s_a, 0)) - (1));
    16491     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    16492         JMI_ASG(STR, jmi_array_ref_1(o_a, jmi_array_val_1(_for_loop_variables_r1, 1)), jmi_array_val_1(s_a, jmi_array_val_1(_for_loop_variables_r1, 1)))
     16303    _for_loop_variables_i2[0] = 0;
     16304    _for_loop_variables_i1[0] = floor((jmi_array_size(s_a, 0)) - (1));
     16305    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     16306        JMI_ASG(STR, jmi_array_ref_1(o_a, _for_loop_variables_r1[0]), jmi_array_val_1(s_a, _for_loop_variables_r1[0]))
    1649316307    }
    1649416308    JMI_RET(STR_ARR, o_o, o_a)
     
    1825818072    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_3_a, -1, 1)
    1825918073    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, temp_4_a, -1, 1)
    18260     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    18261     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    18262     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    18263     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    18264     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    18265     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     18074     jmi_real_t _for_loop_variables_r1[1];
     18075     jmi_int_t _for_loop_variables_i1[1];
     18076     jmi_int_t _for_loop_variables_i2[1];
    1826618077    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_2_a, jmi_array_size(x_a, 0), 1, jmi_array_size(x_a, 0))
    18267     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18268     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    18269     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18270         jmi_array_ref_1(temp_2_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 1), 1);
     18078    _for_loop_variables_i2[0] = 0;
     18079    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     18080    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18081        jmi_array_ref_1(temp_2_a, _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, _for_loop_variables_r1[0], 1);
    1827118082    }
    1827218083    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_3_a, jmi_array_size(x_a, 0), 1, jmi_array_size(x_a, 0))
    18273     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18274     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    18275     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18276         jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 1), 1);
     18084    _for_loop_variables_i2[0] = 0;
     18085    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     18086    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18087        jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, _for_loop_variables_r1[0], 1);
    1827718088    }
    1827818089    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_3_a, jmi_array_size(x_a, 0), 1, jmi_array_size(x_a, 0))
    18279     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18280     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    18281     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18282         jmi_array_ref_1(temp_3_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = jmi_array_val_2(x_a, jmi_array_val_1(_for_loop_variables_r1, 1), 1);
     18090    _for_loop_variables_i2[0] = 0;
     18091    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     18092    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18093        jmi_array_ref_1(temp_3_a, _for_loop_variables_r1[0]) = jmi_array_val_2(x_a, _for_loop_variables_r1[0], 1);
    1828318094    }
    1828418095    JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, temp_4_a, func_CCodeGenTests_FuncInitOrder_g_exp2(temp_3_a), 1, func_CCodeGenTests_FuncInitOrder_g_exp2(temp_3_a))
    1828518096    func_CCodeGenTests_FuncInitOrder_f_def1(temp_2_a, temp_4_a);
    1828618097    temp_1_v = 0.0;
    18287     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18288     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((func_CCodeGenTests_FuncInitOrder_g_exp2(temp_3_a)) - (1));
    18289     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18290         temp_1_v = temp_1_v + jmi_array_val_1(temp_4_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     18098    _for_loop_variables_i2[0] = 0;
     18099    _for_loop_variables_i1[0] = floor((func_CCodeGenTests_FuncInitOrder_g_exp2(temp_3_a)) - (1));
     18100    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18101        temp_1_v = temp_1_v + jmi_array_val_1(temp_4_a, _for_loop_variables_r1[0]);
    1829118102    }
    1829218103    y_v = temp_1_v;
     
    1830518116    JMI_DYNAMIC_INIT()
    1830618117    JMI_ARR(HEAP, jmi_real_t, jmi_array_t, y_an, -1, 1)
    18307     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    18308     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    18309     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    18310     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    18311     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    18312     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     18118     jmi_real_t _for_loop_variables_r1[1];
     18119     jmi_int_t _for_loop_variables_i1[1];
     18120     jmi_int_t _for_loop_variables_i2[1];
    1831318121    if (y_a == NULL) {
    1831418122        JMI_ARRAY_INIT_1(HEAP, jmi_real_t, jmi_array_t, y_an, func_CCodeGenTests_FuncInitOrder_g_exp2(x_a), 1, func_CCodeGenTests_FuncInitOrder_g_exp2(x_a))
     
    1831818126        jmi_assert_failed(\"Mismatching sizes in CCodeGenTests.FuncInitOrder.f\", JMI_ASSERT_ERROR);
    1831918127    }
    18320     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18321     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((func_CCodeGenTests_FuncInitOrder_g_exp2(x_a)) - (1));
    18322     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18323         jmi_array_ref_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1)) = 0;
     18128    _for_loop_variables_i2[0] = 0;
     18129    _for_loop_variables_i1[0] = floor((func_CCodeGenTests_FuncInitOrder_g_exp2(x_a)) - (1));
     18130    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18131        jmi_array_ref_1(y_a, _for_loop_variables_r1[0]) = 0;
    1832418132    }
    1832518133    JMI_DYNAMIC_FREE()
     
    1833118139    JMI_DEF(INT, y_v)
    1833218140    JMI_DEF(REA, temp_1_v)
    18333     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    18334     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    18335     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    18336     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    18337     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    18338     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     18141     jmi_real_t _for_loop_variables_r1[1];
     18142     jmi_int_t _for_loop_variables_i1[1];
     18143     jmi_int_t _for_loop_variables_i2[1];
    1833918144    temp_1_v = 0.0;
    18340     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    18341     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(x_a, 0)) - (1));
    18342     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    18343         temp_1_v = temp_1_v + jmi_array_val_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1));
     18145    _for_loop_variables_i2[0] = 0;
     18146    _for_loop_variables_i1[0] = floor((jmi_array_size(x_a, 0)) - (1));
     18147    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     18148        temp_1_v = temp_1_v + jmi_array_val_1(x_a, _for_loop_variables_r1[0]);
    1834418149    }
    1834518150    y_v = floor(temp_1_v);
  • branches/dev-cw-2719/Compiler/ModelicaMiddleEnd/test/modelica/Differentiation.mo

    r14203 r14218  
    31113111    JMI_DYNAMIC_INIT()
    31123112    JMI_ARR(STACK, R_0_r, R_0_ra, y_an, 1, 1)
    3113     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3114     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3115     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3116     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3117     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3118     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3113     jmi_real_t _for_loop_variables_r1[1];
     3114     jmi_int_t _for_loop_variables_i1[1];
     3115     jmi_int_t _for_loop_variables_i2[1];
    31193116    if (y_a == NULL) {
    31203117        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 1, 1, 1)
    31213118        y_a = y_an;
    31223119    }
    3123     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3124     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3125     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3126         jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x = jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x;
     3120    _for_loop_variables_i2[0] = 0;
     3121    _for_loop_variables_i1[0] = floor((1) - (1));
     3122    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3123        jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x = jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x;
    31273124    }
    31283125    JMI_DYNAMIC_FREE()
     
    31343131    JMI_ARR(STACK, R_0_r, R_0_ra, _der_y_an, 1, 1)
    31353132    JMI_ARR(STACK, R_0_r, R_0_ra, y_a, 1, 1)
    3136     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1)
    3137     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1)
    3138     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1)
    3139     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 1, 1, 1)
    3140     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 1, 1, 1)
    3141     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 1, 1, 1)
     3133     jmi_real_t _for_loop_variables_r1[1];
     3134     jmi_int_t _for_loop_variables_i1[1];
     3135     jmi_int_t _for_loop_variables_i2[1];
    31423136    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_a, 1, 1, 1)
    31433137    if (_der_y_a == NULL) {
     
    31453139        _der_y_a = _der_y_an;
    31463140    }
    3147     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3148     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3149     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3150         jmi_array_rec_1(_der_y_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x = jmi_array_rec_1(_der_x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x;
    3151         jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x = jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x;
     3141    _for_loop_variables_i2[0] = 0;
     3142    _for_loop_variables_i1[0] = floor((1) - (1));
     3143    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3144        jmi_array_rec_1(_der_y_a, _for_loop_variables_r1[0])->x = jmi_array_rec_1(_der_x_a, _for_loop_variables_r1[0])->x;
     3145        jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x = jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x;
    31523146    }
    31533147    JMI_DYNAMIC_FREE()
     
    31973191    JMI_DEF(REA, y_v)
    31983192    JMI_ARR(STACK, R_0_r, R_0_ra, temp_1_a, 1, 1)
    3199     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    3200     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    3201     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    3202     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    3203     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    3204     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     3193     jmi_real_t _for_loop_variables_r1[2];
     3194     jmi_int_t _for_loop_variables_i1[2];
     3195     jmi_int_t _for_loop_variables_i2[2];
    32053196    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, rt_a, 1, 1, 1)
    32063197    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1, 1)
     
    32083199    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, temp_1_a, 1, 1, 1)
    32093200    *jmi_array_rec_1(temp_1_a, 1) = *jmi_array_rec_1(r_a, 1);
    3210     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3211     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3212     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3213         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    3214         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    3215         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    3216             jmi_array_ref_1(jmi_array_rec_1(rt_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     3201    _for_loop_variables_i2[0] = 0;
     3202    _for_loop_variables_i1[0] = floor((1) - (1));
     3203    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3204        _for_loop_variables_i2[1] = 0;
     3205        _for_loop_variables_i1[1] = floor((1) - (1));
     3206        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     3207            jmi_array_ref_1(jmi_array_rec_1(rt_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    32173208        }
    32183209    }
    32193210    y_v = jmi_array_val_1(jmi_array_rec_1(rt_a, 1)->x, 1);
    3220     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3221     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(r_a, 0)) - (1));
    3222     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3223         if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(r_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     3211    _for_loop_variables_i2[0] = 0;
     3212    _for_loop_variables_i1[0] = floor((jmi_array_size(r_a, 0)) - (1));
     3213    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3214        if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(r_a, _for_loop_variables_r1[0])->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
    32243215            jmi_assert_failed(\"Mismatching sizes in function 'Differentiation.AlgorithmDifferentiation.RecordArrayTemp1.e', component 'r[i1].x', dimension '1'\", JMI_ASSERT_ERROR);
    32253216        }
     
    32403231    JMI_ARR(STACK, R_0_r, R_0_ra, y_an, 1, 1)
    32413232    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1)
    3242     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    3243     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    3244     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    3245     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    3246     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    3247     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     3233     jmi_real_t _for_loop_variables_r1[2];
     3234     jmi_int_t _for_loop_variables_i1[2];
     3235     jmi_int_t _for_loop_variables_i2[2];
    32483236    if (y_a == NULL) {
    32493237        JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_an, 1, 1, 1)
     
    32523240        y_a = y_an;
    32533241    }
    3254     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3255     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3256     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3257         if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     3242    _for_loop_variables_i2[0] = 0;
     3243    _for_loop_variables_i1[0] = floor((1) - (1));
     3244    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3245        if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
    32583246            jmi_assert_failed(\"Mismatching sizes in function 'Differentiation.AlgorithmDifferentiation.RecordArrayTemp1.F', component 'x[i1].x', dimension '1'\", JMI_ASSERT_ERROR);
    32593247        }
    32603248    }
    3261     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3262     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3263     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3264         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    3265         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    3266         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    3267             jmi_array_ref_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     3249    _for_loop_variables_i2[0] = 0;
     3250    _for_loop_variables_i1[0] = floor((1) - (1));
     3251    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3252        _for_loop_variables_i2[1] = 0;
     3253        _for_loop_variables_i1[1] = floor((1) - (1));
     3254        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     3255            jmi_array_ref_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    32683256        }
    32693257    }
     
    32823270    JMI_ARR(STACK, R_0_r, R_0_ra, temp_1_a, 1, 1)
    32833271    JMI_ARR(STACK, R_0_r, R_0_ra, _der_temp_1_a, 1, 1)
    3284     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    3285     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    3286     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    3287     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    3288     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    3289     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     3272     jmi_real_t _for_loop_variables_r1[2];
     3273     jmi_int_t _for_loop_variables_i1[2];
     3274     jmi_int_t _for_loop_variables_i2[2];
    32903275    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, rt_a, 1, 1, 1)
    32913276    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_1, 1, 1, 1)
     
    32983283    *jmi_array_rec_1(_der_temp_1_a, 1) = *jmi_array_rec_1(_der_r_a, 1);
    32993284    *jmi_array_rec_1(temp_1_a, 1) = *jmi_array_rec_1(r_a, 1);
    3300     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3301     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3302     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3303         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    3304         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    3305         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    3306             jmi_array_ref_1(jmi_array_rec_1(_der_rt_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(_der_temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
    3307             jmi_array_ref_1(jmi_array_rec_1(rt_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     3285    _for_loop_variables_i2[0] = 0;
     3286    _for_loop_variables_i1[0] = floor((1) - (1));
     3287    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3288        _for_loop_variables_i2[1] = 0;
     3289        _for_loop_variables_i1[1] = floor((1) - (1));
     3290        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     3291            jmi_array_ref_1(jmi_array_rec_1(_der_rt_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(_der_temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
     3292            jmi_array_ref_1(jmi_array_rec_1(rt_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(temp_1_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    33083293        }
    33093294    }
    33103295    _der_y_v = jmi_array_val_1(jmi_array_rec_1(_der_rt_a, 1)->x, 1);
    33113296    y_v = jmi_array_val_1(jmi_array_rec_1(rt_a, 1)->x, 1);
    3312     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3313     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((jmi_array_size(r_a, 0)) - (1));
    3314     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3315         if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(r_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     3297    _for_loop_variables_i2[0] = 0;
     3298    _for_loop_variables_i1[0] = floor((jmi_array_size(r_a, 0)) - (1));
     3299    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3300        if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(r_a, _for_loop_variables_r1[0])->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
    33163301            jmi_assert_failed(\"Mismatching sizes in function 'Differentiation.AlgorithmDifferentiation.RecordArrayTemp1.e', component 'r[i1].x', dimension '1'\", JMI_ASSERT_ERROR);
    33173302        }
     
    33343319    JMI_ARR(STACK, R_0_r, R_0_ra, y_a, 1, 1)
    33353320    JMI_ARR(STACK, jmi_real_t, jmi_array_t, tmp_2, 1, 1)
    3336     JMI_ARR(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1)
    3337     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1)
    3338     JMI_ARR(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1)
    3339     JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, _for_loop_variables_r1, 2, 1, 2)
    3340     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i1, 2, 1, 2)
    3341     JMI_ARRAY_INIT_1(STACK, jmi_int_t, jmi_int_array_t, _for_loop_variables_i2, 2, 1, 2)
     3321     jmi_real_t _for_loop_variables_r1[2];
     3322     jmi_int_t _for_loop_variables_i1[2];
     3323     jmi_int_t _for_loop_variables_i2[2];
    33423324    JMI_ARRAY_INIT_1(STACK, R_0_r, R_0_ra, y_a, 1, 1, 1)
    33433325    JMI_ARRAY_INIT_1(STACK, jmi_real_t, jmi_array_t, tmp_2, 1, 1, 1)
     
    33493331        _der_y_a = _der_y_an;
    33503332    }
    3351     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3352     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3353     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3354         if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 1))->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
     3333    _for_loop_variables_i2[0] = 0;
     3334    _for_loop_variables_i1[0] = floor((1) - (1));
     3335    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3336        if (COND_EXP_EQ(1.0, jmi_array_size(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x, 0), JMI_TRUE, JMI_FALSE) == JMI_FALSE) {
    33553337            jmi_assert_failed(\"Mismatching sizes in function 'Differentiation.AlgorithmDifferentiation.RecordArrayTemp1.F', component 'x[i1].x', dimension '1'\", JMI_ASSERT_ERROR);
    33563338        }
    33573339    }
    3358     jmi_array_ref_1(_for_loop_variables_i2, 1) = 0;
    3359     jmi_array_ref_1(_for_loop_variables_i1, 1) = floor((1) - (1));
    3360     for (jmi_array_ref_1(_for_loop_variables_r1, 1) = 1; jmi_array_val_1(_for_loop_variables_i2, 1) <= jmi_array_val_1(_for_loop_variables_i1, 1); jmi_array_ref_1(_for_loop_variables_r1, 1) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 1)))) {
    3361         jmi_array_ref_1(_for_loop_variables_i2, 2) = 0;
    3362         jmi_array_ref_1(_for_loop_variables_i1, 2) = floor((1) - (1));
    3363         for (jmi_array_ref_1(_for_loop_variables_r1, 2) = 1; jmi_array_val_1(_for_loop_variables_i2, 2) <= jmi_array_val_1(_for_loop_variables_i1, 2); jmi_array_ref_1(_for_loop_variables_r1, 2) = 1 + (++(jmi_array_ref_1(_for_loop_variables_i2, 2)))) {
    3364             jmi_array_ref_1(jmi_array_rec_1(_der_y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(_der_x_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
    3365             jmi_array_ref_1(jmi_array_rec_1(y_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2)) = jmi_array_val_1(jmi_array_rec_1(x_a, jmi_array_val_1(_for_loop_variables_r1, 2))->x, jmi_array_val_1(_for_loop_variables_r1, 2));
     3340    _for_loop_variables_i2[0] = 0;
     3341    _for_loop_variables_i1[0] = floor((1) - (1));
     3342    for (_for_loop_variables_r1[0] = 1; _for_loop_variables_i2[0] <= _for_loop_variables_i1[0]; _for_loop_variables_r1[0] = 1 + (++(_for_loop_variables_i2[0]))) {
     3343        _for_loop_variables_i2[1] = 0;
     3344        _for_loop_variables_i1[1] = floor((1) - (1));
     3345        for (_for_loop_variables_r1[1] = 1; _for_loop_variables_i2[1] <= _for_loop_variables_i1[1]; _for_loop_variables_r1[1] = 1 + (++(_for_loop_variables_i2[1]))) {
     3346            jmi_array_ref_1(jmi_array_rec_1(_der_y_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(_der_x_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
     3347            jmi_array_ref_1(jmi_array_rec_1(y_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]) = jmi_array_val_1(jmi_array_rec_1(x_a, _for_loop_variables_r1[0])->x, _for_loop_variables_r1[0]);
    33663348        }
    33673349    }
Note: See TracChangeset for help on using the changeset viewer.