Bug Summary

File:OMCompiler/Compiler/boot/build/CodegenOMSIC_Equations.c
Warning:line 1122, column 3
Value stored to '_l_preExp' is never read

Annotated Source Code

[?] Use j/k keys for keyboard navigation

1#ifdef OMC_BASE_FILE
2 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c" OMC_BASE_FILE
3#else
4 #define OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c" "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
5#endif
6#include "omc_simulation_settings.h"
7#include "CodegenOMSIC_Equations.h"
8static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT0,3,3)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT0
= { (((3) << 10) + (((3) & 255) << 2)),
{&Tpl_Text_MEM__TEXT__desc,MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
9#define _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT0)((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3))
10static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT1,1,3)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT1
= { (((1) << 10) + (((3) & 255) << 2)),
{&Tpl_StringToken_ST__NEW__LINE__desc,}};
11#define _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT1)((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))
12static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT2,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT2
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
13#define _OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT2)((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3))
14static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT3,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT3
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT2((void*)((char*)(&(_OMC_LIT_STRUCT2).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
15#define _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT3)((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3))
16#define _OMC_LIT4_data"if(" "if("
17static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT4,3,_OMC_LIT4_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT4
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "if("
}
;
18#define _OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT4)((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))
19static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT5,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT5
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT4((void*)((char*)(&(_OMC_LIT_STRUCT4).header) + 3))}};
20#define _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT5)((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3))
21#define _OMC_LIT6_data")\n" ")\n"
22static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT6,2,_OMC_LIT6_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT6
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ")\n"
}
;
23#define _OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT6)((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3))
24#define _OMC_LIT7_data"{\n" "{\n"
25static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT7,2,_OMC_LIT7_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT7
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), "{\n"
}
;
26#define _OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT7)((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3))
27static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT8,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT8
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT7((void*)((char*)(&(_OMC_LIT_STRUCT7).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
28#define _OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT8)((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))
29static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT9,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT9
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT6((void*)((char*)(&(_OMC_LIT_STRUCT6).header) + 3)),_OMC_LIT8((void*)((char*)(&(_OMC_LIT_STRUCT8).header) + 3))}};
30#define _OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT9)((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3))
31static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT10,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT10
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT9((void*)((char*)(&(_OMC_LIT_STRUCT9).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
32#define _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT10)((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3))
33static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT11,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT11
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(2))((void*)(((((mmc_uint_t) (2)) << 1)+0)))}};
34#define _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT11)((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3))
35#define _OMC_LIT12_data"}" "}"
36static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT12,1,_OMC_LIT12_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT12
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "}"
}
;
37#define _OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT12)((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))
38static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT13,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT13
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT12((void*)((char*)(&(_OMC_LIT_STRUCT12).header) + 3))}};
39#define _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT13)((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3))
40#define _OMC_LIT14_data"TODO: Implement elsewhen" "TODO: Implement elsewhen"
41static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT14,24,_OMC_LIT14_data)struct { mmc_uint_t header; const char data[(24)+1]; } _OMC_LIT_STRUCT14
= { ((((mmc_uint_t)24)<<(3))+((1<<(3+3))+5)), "TODO: Implement elsewhen"
}
;
42#define _OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT14)((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))
43static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT15,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT15
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT14((void*)((char*)(&(_OMC_LIT_STRUCT14).header) + 3))}};
44#define _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT15)((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3))
45#define _OMC_LIT16_data" = " " = "
46static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT16,3,_OMC_LIT16_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT16
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), " = "
}
;
47#define _OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT16)((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))
48static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT17,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT17
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT16((void*)((char*)(&(_OMC_LIT_STRUCT16).header) + 3))}};
49#define _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT17)((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3))
50#define _OMC_LIT18_data";" ";"
51static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT18,1,_OMC_LIT18_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT18
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), ";"
}
;
52#define _OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT18)((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))
53static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT19,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT19
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT18((void*)((char*)(&(_OMC_LIT_STRUCT18).header) + 3))}};
54#define _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT19)((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3))
55#define _OMC_LIT20_data"/* ToDo: Add some info that variable was reinitialized */" "/* ToDo: Add some info that variable was reinitialized */"
56static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT20,57,_OMC_LIT20_data)struct { mmc_uint_t header; const char data[(57)+1]; } _OMC_LIT_STRUCT20
= { ((((mmc_uint_t)57)<<(3))+((1<<(3+3))+5)), "/* ToDo: Add some info that variable was reinitialized */"
}
;
57#define _OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT20)((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))
58static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT21,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT21
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT20((void*)((char*)(&(_OMC_LIT_STRUCT20).header) + 3))}};
59#define _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT21)((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3))
60#define _OMC_LIT22_data"TODO: when expression not supported yet" "TODO: when expression not supported yet"
61static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT22,39,_OMC_LIT22_data)struct { mmc_uint_t header; const char data[(39)+1]; } _OMC_LIT_STRUCT22
= { ((((mmc_uint_t)39)<<(3))+((1<<(3+3))+5)), "TODO: when expression not supported yet"
}
;
62#define _OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT22)((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))
63static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT23,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT23
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT22((void*)((char*)(&(_OMC_LIT_STRUCT22).header) + 3))}};
64#define _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT23)((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3))
65#define _OMC_LIT24_data"TODO: Implement for arrays!" "TODO: Implement for arrays!"
66static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT24,27,_OMC_LIT24_data)struct { mmc_uint_t header; const char data[(27)+1]; } _OMC_LIT_STRUCT24
= { ((((mmc_uint_t)27)<<(3))+((1<<(3+3))+5)), "TODO: Implement for arrays!"
}
;
67#define _OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT24)((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))
68static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT25,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT25
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT24((void*)((char*)(&(_OMC_LIT_STRUCT24).header) + 3))}};
69#define _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT25)((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3))
70#define _OMC_LIT26_data" || " " || "
71static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT26,4,_OMC_LIT26_data)struct { mmc_uint_t header; const char data[(4)+1]; } _OMC_LIT_STRUCT26
= { ((((mmc_uint_t)4)<<(3))+((1<<(3+3))+5)), " || "
}
;
72#define _OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT26)((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))
73static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT27,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT27
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT26((void*)((char*)(&(_OMC_LIT_STRUCT26).header) + 3))}};
74#define _OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT27)((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))
75static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT28,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT28
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT27((void*)((char*)(&(_OMC_LIT_STRUCT27).header) + 3))}};
76#define _OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT28)((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3))
77static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT29,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT29
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT28((void*)((char*)(&(_OMC_LIT_STRUCT28).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
78#define _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT29)((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3))
79#define _OMC_LIT30_data"0" "0"
80static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT30,1,_OMC_LIT30_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT30
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "0"
}
;
81#define _OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT30)((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))
82static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT31,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT31
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT30((void*)((char*)(&(_OMC_LIT_STRUCT30).header) + 3))}};
83#define _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT31)((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3))
84#define _OMC_LIT32_data"(" "("
85static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT32,1,_OMC_LIT32_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT32
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "("
}
;
86#define _OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT32)((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))
87static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT33,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT33
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT32((void*)((char*)(&(_OMC_LIT_STRUCT32).header) + 3))}};
88#define _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT33)((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3))
89#define _OMC_LIT34_data" && !" " && !"
90static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT34,5,_OMC_LIT34_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT34
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), " && !"
}
;
91#define _OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT34)((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))
92static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT35,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT35
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT34((void*)((char*)(&(_OMC_LIT_STRUCT34).header) + 3))}};
93#define _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT35)((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3))
94#define _OMC_LIT36_data" /* edge */)" " /* edge */)"
95static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT36,12,_OMC_LIT36_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT36
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), " /* edge */)"
}
;
96#define _OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT36)((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))
97static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT37,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT37
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT36((void*)((char*)(&(_OMC_LIT_STRUCT36).header) + 3))}};
98#define _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT37)((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3))
99#define _OMC_LIT38_data"omsi_status " "omsi_status "
100static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT38,12,_OMC_LIT38_data)struct { mmc_uint_t header; const char data[(12)+1]; } _OMC_LIT_STRUCT38
= { ((((mmc_uint_t)12)<<(3))+((1<<(3+3))+5)), "omsi_status "
}
;
101#define _OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT38)((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))
102static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT39,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT39
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3))}};
103#define _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT39)((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3))
104#define _OMC_LIT40_data"_derivativeMatFunc_" "_derivativeMatFunc_"
105static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT40,19,_OMC_LIT40_data)struct { mmc_uint_t header; const char data[(19)+1]; } _OMC_LIT_STRUCT40
= { ((((mmc_uint_t)19)<<(3))+((1<<(3+3))+5)), "_derivativeMatFunc_"
}
;
106#define _OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT40)((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))
107static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT41,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT41
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT40((void*)((char*)(&(_OMC_LIT_STRUCT40).header) + 3))}};
108#define _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT41)((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3))
109#define _OMC_LIT42_data"(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);" "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);"
110static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT42,87,_OMC_LIT42_data)struct { mmc_uint_t header; const char data[(87)+1]; } _OMC_LIT_STRUCT42
= { ((((mmc_uint_t)87)<<(3))+((1<<(3+3))+5)), "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data);"
}
;
111#define _OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT42)((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))
112static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT43,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT43
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT42((void*)((char*)(&(_OMC_LIT_STRUCT42).header) + 3))}};
113#define _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT43)((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3))
114#define _OMC_LIT44_data"/*\n" "/*\n"
115static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT44,3,_OMC_LIT44_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT44
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "/*\n"
}
;
116#define _OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT44)((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))
117#define _OMC_LIT45_data"Description something\n" "Description something\n"
118static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT45,22,_OMC_LIT45_data)struct { mmc_uint_t header; const char data[(22)+1]; } _OMC_LIT_STRUCT45
= { ((((mmc_uint_t)22)<<(3))+((1<<(3+3))+5)), "Description something\n"
}
;
119#define _OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT45)((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3))
120#define _OMC_LIT46_data"*/\n" "*/\n"
121static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT46,3,_OMC_LIT46_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT46
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "*/\n"
}
;
122#define _OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT46)((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))
123static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT47,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT47
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT38((void*)((char*)(&(_OMC_LIT_STRUCT38).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
124#define _OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT47)((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))
125static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT48,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT48
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3)),_OMC_LIT47((void*)((char*)(&(_OMC_LIT_STRUCT47).header) + 3))}};
126#define _OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT48)((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))
127static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT49,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT49
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT45((void*)((char*)(&(_OMC_LIT_STRUCT45).header) + 3)),_OMC_LIT48((void*)((char*)(&(_OMC_LIT_STRUCT48).header) + 3))}};
128#define _OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT49)((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))
129static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT50,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT50
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3)),_OMC_LIT49((void*)((char*)(&(_OMC_LIT_STRUCT49).header) + 3))}};
130#define _OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT50)((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3))
131static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT51,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT51
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT50((void*)((char*)(&(_OMC_LIT_STRUCT50).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
132#define _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT51)((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3))
133#define _OMC_LIT52_data"(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n" "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n"
134static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT52,88,_OMC_LIT52_data)struct { mmc_uint_t header; const char data[(88)+1]; } _OMC_LIT_STRUCT52
= { ((((mmc_uint_t)88)<<(3))+((1<<(3+3))+5)), "(omsi_function_t* this_function, const omsi_values* model_vars_and_params, void* data){\n"
}
;
135#define _OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT52)((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3))
136#define _OMC_LIT53_data"\n" "\n"
137static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT53,1,_OMC_LIT53_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT53
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "\n"
}
;
138#define _OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT53)((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3))
139static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT54,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT54
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
140#define _OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT54)((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))
141static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT55,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT55
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT52((void*)((char*)(&(_OMC_LIT_STRUCT52).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
142#define _OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT55)((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3))
143static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT56,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT56
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT55((void*)((char*)(&(_OMC_LIT_STRUCT55).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
144#define _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT56)((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3))
145#define _OMC_LIT57_data"return omsi_ok;\n" "return omsi_ok;\n"
146static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT57,16,_OMC_LIT57_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT57
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "return omsi_ok;\n"
}
;
147#define _OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT57)((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3))
148static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT58,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT58
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT57((void*)((char*)(&(_OMC_LIT_STRUCT57).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
149#define _OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT58)((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))
150static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT59,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT59
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT58((void*)((char*)(&(_OMC_LIT_STRUCT58).header) + 3))}};
151#define _OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT59)((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3))
152static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT60,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT60
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT59((void*)((char*)(&(_OMC_LIT_STRUCT59).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
153#define _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT60)((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3))
154#define _OMC_LIT61_data"" ""
155static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT61,0,_OMC_LIT61_data)struct { mmc_uint_t header; const char data[(0)+1]; } _OMC_LIT_STRUCT61
= { ((((mmc_uint_t)0)<<(3))+((1<<(3+3))+5)), "" }
;
156#define _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT61)((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3))
157#define _OMC_LIT62_data"this_function, model_vars_and_params" "this_function, model_vars_and_params"
158static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT62,36,_OMC_LIT62_data)struct { mmc_uint_t header; const char data[(36)+1]; } _OMC_LIT_STRUCT62
= { ((((mmc_uint_t)36)<<(3))+((1<<(3+3))+5)), "this_function, model_vars_and_params"
}
;
159#define _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT62)((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3))
160static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT63,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT63
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT53((void*)((char*)(&(_OMC_LIT_STRUCT53).header) + 3)),_OMC_LIT54((void*)((char*)(&(_OMC_LIT_STRUCT54).header) + 3))}};
161#define _OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT63)((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))
162static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT64,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT64
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
163#define _OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT64)((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))
164static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT65,1,1)struct { mmc_uint_t header; const void *data[1]; } _OMC_LIT_STRUCT65
= { (((1) << 10) + (((1) & 255) << 2)),
{_OMC_LIT64((void*)((char*)(&(_OMC_LIT_STRUCT64).header) + 3))}};
165#define _OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT65)((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3))
166static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT66,9,3)struct { mmc_uint_t header; const void *data[9]; } _OMC_LIT_STRUCT66
= { (((9) << 10) + (((3) & 255) << 2)),
{&Tpl_IterOptions_ITER__OPTIONS__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_REFSTRUCTLIT(mmc_none)((void*)((char*)(&(mmc_none).header) + 3)),_OMC_LIT65((void*)((char*)(&(_OMC_LIT_STRUCT65).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0))),_OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3))}};
167#define _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT66)((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3))
168#define _OMC_LIT67_data"eqFunction" "eqFunction"
169static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT67,10,_OMC_LIT67_data)struct { mmc_uint_t header; const char data[(10)+1]; } _OMC_LIT_STRUCT67
= { ((((mmc_uint_t)10)<<(3))+((1<<(3+3))+5)), "eqFunction"
}
;
170#define _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT67)((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))
171#define _OMC_LIT68_data"_" "_"
172static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT68,1,_OMC_LIT68_data)struct { mmc_uint_t header; const char data[(1)+1]; } _OMC_LIT_STRUCT68
= { ((((mmc_uint_t)1)<<(3))+((1<<(3+3))+5)), "_"
}
;
173#define _OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT68)((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))
174static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT69,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT69
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT68((void*)((char*)(&(_OMC_LIT_STRUCT68).header) + 3))}};
175#define _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT69)((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3))
176#define _OMC_LIT70_data");" ");"
177static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT70,2,_OMC_LIT70_data)struct { mmc_uint_t header; const char data[(2)+1]; } _OMC_LIT_STRUCT70
= { ((((mmc_uint_t)2)<<(3))+((1<<(3+3))+5)), ");"
}
;
178#define _OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT70)((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))
179static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT71,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT71
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT70((void*)((char*)(&(_OMC_LIT_STRUCT70).header) + 3))}};
180#define _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT71)((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3))
181#define _OMC_LIT72_data"resFunction" "resFunction"
182static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT72,11,_OMC_LIT72_data)struct { mmc_uint_t header; const char data[(11)+1]; } _OMC_LIT_STRUCT72
= { ((((mmc_uint_t)11)<<(3))+((1<<(3+3))+5)), "resFunction"
}
;
183#define _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT72)((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))
184#define _OMC_LIT73_data"new_status = " "new_status = "
185static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT73,13,_OMC_LIT73_data)struct { mmc_uint_t header; const char data[(13)+1]; } _OMC_LIT_STRUCT73
= { ((((mmc_uint_t)13)<<(3))+((1<<(3+3))+5)), "new_status = "
}
;
186#define _OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT73)((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))
187static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT74,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT74
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT73((void*)((char*)(&(_OMC_LIT_STRUCT73).header) + 3))}};
188#define _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT74)((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3))
189#define _OMC_LIT75_data"_algSystFunction_" "_algSystFunction_"
190static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT75,17,_OMC_LIT75_data)struct { mmc_uint_t header; const char data[(17)+1]; } _OMC_LIT_STRUCT75
= { ((((mmc_uint_t)17)<<(3))+((1<<(3+3))+5)), "_algSystFunction_"
}
;
191#define _OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT75)((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))
192static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT76,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT76
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT75((void*)((char*)(&(_OMC_LIT_STRUCT75).header) + 3))}};
193#define _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT76)((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3))
194#define _OMC_LIT77_data");\n" ");\n"
195static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT77,3,_OMC_LIT77_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT77
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), ");\n"
}
;
196#define _OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT77)((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3))
197#define _OMC_LIT78_data"status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;" "status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;"
198static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT78,71,_OMC_LIT78_data)struct { mmc_uint_t header; const char data[(71)+1]; } _OMC_LIT_STRUCT78
= { ((((mmc_uint_t)71)<<(3))+((1<<(3+3))+5)), "status = (new_status==omsi_ok && status==omsi_ok) ? omsi_ok:new_status;"
}
;
199#define _OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT78)((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3))
200static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT79,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT79
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT78((void*)((char*)(&(_OMC_LIT_STRUCT78).header) + 3)),MMC_REFSTRUCTLIT(mmc_nil)((void*)((char*)(&(mmc_nil).header) + 3))}};
201#define _OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT79)((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))
202static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT80,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT80
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT77((void*)((char*)(&(_OMC_LIT_STRUCT77).header) + 3)),_OMC_LIT79((void*)((char*)(&(_OMC_LIT_STRUCT79).header) + 3))}};
203#define _OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT80)((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3))
204static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT81,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT81
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT80((void*)((char*)(&(_OMC_LIT_STRUCT80).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(0))((void*)(((((mmc_uint_t) (0)) << 1)+0)))}};
205#define _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT81)((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3))
206#define _OMC_LIT82_data"/* equationCall not implemented yet */" "/* equationCall not implemented yet */"
207static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT82,38,_OMC_LIT82_data)struct { mmc_uint_t header; const char data[(38)+1]; } _OMC_LIT_STRUCT82
= { ((((mmc_uint_t)38)<<(3))+((1<<(3+3))+5)), "/* equationCall not implemented yet */"
}
;
208#define _OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT82)((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))
209static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT83,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT83
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT82((void*)((char*)(&(_OMC_LIT_STRUCT82).header) + 3))}};
210#define _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT83)((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3))
211#define _OMC_LIT84_data"*res = " "*res = "
212static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT84,7,_OMC_LIT84_data)struct { mmc_uint_t header; const char data[(7)+1]; } _OMC_LIT_STRUCT84
= { ((((mmc_uint_t)7)<<(3))+((1<<(3+3))+5)), "*res = "
}
;
213#define _OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT84)((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))
214static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT85,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT85
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT84((void*)((char*)(&(_OMC_LIT_STRUCT84).header) + 3))}};
215#define _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT85)((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3))
216#define _OMC_LIT86_data"NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations" "NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations"
217static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT86,85,_OMC_LIT86_data)struct { mmc_uint_t header; const char data[(85)+1]; } _OMC_LIT_STRUCT86
= { ((((mmc_uint_t)85)<<(3))+((1<<(3+3))+5)), "NOT IMPLEMENTED YET Error in function equationCStr in template CodegenOMSIC_Equations"
}
;
218#define _OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT86)((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))
219static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT87,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT87
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT86((void*)((char*)(&(_OMC_LIT_STRUCT86).header) + 3))}};
220#define _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT87)((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3))
221#define _OMC_LIT88_data"void " "void "
222static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT88,5,_OMC_LIT88_data)struct { mmc_uint_t header; const char data[(5)+1]; } _OMC_LIT_STRUCT88
= { ((((mmc_uint_t)5)<<(3))+((1<<(3+3))+5)), "void "
}
;
223#define _OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT88)((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))
224static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT89,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT89
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT88((void*)((char*)(&(_OMC_LIT_STRUCT88).header) + 3))}};
225#define _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT89)((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3))
226static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT90,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT90
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT44((void*)((char*)(&(_OMC_LIT_STRUCT44).header) + 3))}};
227#define _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT90)((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3))
228static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT91,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT91
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT46((void*)((char*)(&(_OMC_LIT_STRUCT46).header) + 3))}};
229#define _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT91)((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3))
230static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT92,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT92
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_BlockType_BT__INDENT__desc,MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
231#define _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT92)((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3))
232#define _OMC_LIT93_data"){\n" "){\n"
233static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT93,3,_OMC_LIT93_data)struct { mmc_uint_t header; const char data[(3)+1]; } _OMC_LIT_STRUCT93
= { ((((mmc_uint_t)3)<<(3))+((1<<(3+3))+5)), "){\n"
}
;
234#define _OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT93)((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3))
235static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT94,2,1)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT94
= { (((2) << 10) + (((1) & 255) << 2)),
{_OMC_LIT93((void*)((char*)(&(_OMC_LIT_STRUCT93).header) + 3)),_OMC_LIT63((void*)((char*)(&(_OMC_LIT_STRUCT63).header) + 3))}};
236#define _OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT94)((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3))
237static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT95,3,6)struct { mmc_uint_t header; const void *data[3]; } _OMC_LIT_STRUCT95
= { (((3) << 10) + (((6) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__LIST__desc,_OMC_LIT94((void*)((char*)(&(_OMC_LIT_STRUCT94).header) + 3)),MMC_IMMEDIATE(MMC_TAGFIXNUM(1))((void*)(((((mmc_uint_t) (1)) << 1)+0)))}};
238#define _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT95)((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3))
239#define _OMC_LIT96_data"/* Variables */\n" "/* Variables */\n"
240static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT96,16,_OMC_LIT96_data)struct { mmc_uint_t header; const char data[(16)+1]; } _OMC_LIT_STRUCT96
= { ((((mmc_uint_t)16)<<(3))+((1<<(3+3))+5)), "/* Variables */\n"
}
;
241#define _OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT96)((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))
242static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT97,2,5)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT97
= { (((2) << 10) + (((5) & 255) << 2)),
{&Tpl_StringToken_ST__LINE__desc,_OMC_LIT96((void*)((char*)(&(_OMC_LIT_STRUCT96).header) + 3))}};
243#define _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT97)((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3))
244#define _OMC_LIT98_data"omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res" "omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res"
245static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT98,88,_OMC_LIT98_data)struct { mmc_uint_t header; const char data[(88)+1]; } _OMC_LIT_STRUCT98
= { ((((mmc_uint_t)88)<<(3))+((1<<(3+3))+5)), "omsi_function_t* this_function, const omsi_values* model_vars_and_params, omsi_real* res"
}
;
246#define _OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT98)((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))
247static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT99,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT99
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT98((void*)((char*)(&(_OMC_LIT_STRUCT98).header) + 3))}};
248#define _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT99)((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3))
249#define _OMC_LIT100_data"omsi_function_t* this_function, const omsi_values* model_vars_and_params" "omsi_function_t* this_function, const omsi_values* model_vars_and_params"
250static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT100,72,_OMC_LIT100_data)struct { mmc_uint_t header; const char data[(72)+1]; } _OMC_LIT_STRUCT100
= { ((((mmc_uint_t)72)<<(3))+((1<<(3+3))+5)), "omsi_function_t* this_function, const omsi_values* model_vars_and_params"
}
;
251#define _OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT100)((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))
252static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT101,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT101
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT100((void*)((char*)(&(_OMC_LIT_STRUCT100).header) + 3))}};
253#define _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT101)((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3))
254static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT102,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT102
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3))}};
255#define _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT102)((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3))
256#define _OMC_LIT103_data"algSystFunction" "algSystFunction"
257static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT103,15,_OMC_LIT103_data)struct { mmc_uint_t header; const char data[(15)+1]; } _OMC_LIT_STRUCT103
= { ((((mmc_uint_t)15)<<(3))+((1<<(3+3))+5)), "algSystFunction"
}
;
258#define _OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT103)((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))
259static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT104,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT104
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT103((void*)((char*)(&(_OMC_LIT_STRUCT103).header) + 3))}};
260#define _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT104)((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3))
261static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT105,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT105
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3))}};
262#define _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT105)((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3))
263#define _OMC_LIT106_data"(Data_Struct_something* data, Data_Struct_something* threadData);" "(Data_Struct_something* data, Data_Struct_something* threadData);"
264static const MMC_DEFSTRINGLIT(_OMC_LIT_STRUCT106,65,_OMC_LIT106_data)struct { mmc_uint_t header; const char data[(65)+1]; } _OMC_LIT_STRUCT106
= { ((((mmc_uint_t)65)<<(3))+((1<<(3+3))+5)), "(Data_Struct_something* data, Data_Struct_something* threadData);"
}
;
265#define _OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3)) MMC_REFSTRINGLIT(_OMC_LIT_STRUCT106)((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))
266static const MMC_DEFSTRUCTLIT(_OMC_LIT_STRUCT107,2,4)struct { mmc_uint_t header; const void *data[2]; } _OMC_LIT_STRUCT107
= { (((2) << 10) + (((4) & 255) << 2)),
{&Tpl_StringToken_ST__STRING__desc,_OMC_LIT106((void*)((char*)(&(_OMC_LIT_STRUCT106).header) + 3))}};
267#define _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)) MMC_REFSTRUCTLIT(_OMC_LIT_STRUCT107)((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3))
268#include "util/modelica.h"
269
270#include "CodegenOMSIC_Equations_includes.h"
271
272
273/* default, do not make protected functions static */
274#if !defined(PROTECTED_FUNCTION_STATIC)
275#define PROTECTED_FUNCTION_STATIC
276#endif
277PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls);
278static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__75,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__75
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__75omc_CodegenOMSIC__Equations_lm__75,0}};
279#define boxvar_CodegenOMSIC__Equations_lm__75((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__75
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__75)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__75
).header) + 3))
280PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__74(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_stmt, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls);
281static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__74,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__74
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__74omc_CodegenOMSIC__Equations_fun__74,0}};
282#define boxvar_CodegenOMSIC__Equations_fun__74((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__74
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__74)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__74
).header) + 3))
283PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_context, modelica_metatype _in_a_stateVar);
284static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__73,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__73
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__73omc_CodegenOMSIC__Equations_fun__73,0}};
285#define boxvar_CodegenOMSIC__Equations_fun__73((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__73
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__73)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__73
).header) + 3))
286PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions);
287PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions);
288static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__72,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__72
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__72,0}};
289#define boxvar_CodegenOMSIC__Equations_fun__72((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__72
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__72)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__72
).header) + 3))
290PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__71(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_context);
291static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__71,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__71
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__71omc_CodegenOMSIC__Equations_lm__71,0}};
292#define boxvar_CodegenOMSIC__Equations_lm__71((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__71
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__71)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__71
).header) + 3))
293PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__69(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_string _in_a_index, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_omsiName, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
294static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__69,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__69
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__69omc_CodegenOMSIC__Equations_fun__69,0}};
295#define boxvar_CodegenOMSIC__Equations_fun__69((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__69
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__69)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__69
).header) + 3))
296PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__68(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_string _in_a_modelName);
297static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__68,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__68
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__68omc_CodegenOMSIC__Equations_lm__68,0}};
298#define boxvar_CodegenOMSIC__Equations_lm__68((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__68
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__68)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__68
).header) + 3))
299PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__66(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
300static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__66,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__66
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__66omc_CodegenOMSIC__Equations_fun__66,0}};
301#define boxvar_CodegenOMSIC__Equations_fun__66((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__66
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__66)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__66
).header) + 3))
302PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__65(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_functionPrototypes, modelica_metatype _in_a_omsiFunction_context, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
303static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__65,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__65
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__65omc_CodegenOMSIC__Equations_lm__65,0}};
304#define boxvar_CodegenOMSIC__Equations_lm__65((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__65
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__65)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__65
).header) + 3))
305PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
306static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__63,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__63
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__63omc_CodegenOMSIC__Equations_fun__63,0}};
307#define boxvar_CodegenOMSIC__Equations_fun__63((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__63
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__63)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__63
).header) + 3))
308PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__62(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes);
309static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__62,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__62
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__62omc_CodegenOMSIC__Equations_lm__62,0}};
310#define boxvar_CodegenOMSIC__Equations_lm__62((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__62
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__62)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__62
).header) + 3))
311PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__60(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body);
312static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__60,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__60
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__60omc_CodegenOMSIC__Equations_fun__60,0}};
313#define boxvar_CodegenOMSIC__Equations_fun__60((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__60
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__60)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__60
).header) + 3))
314PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__59(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_omsiFunction_context, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body);
315static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__59,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__59
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__59omc_CodegenOMSIC__Equations_lm__59,0}};
316#define boxvar_CodegenOMSIC__Equations_lm__59((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__59
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__59)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__59
).header) + 3))
317PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__57(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_metatype _in_a_columnsString);
318static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__57,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__57
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__57omc_CodegenOMSIC__Equations_fun__57,0}};
319#define boxvar_CodegenOMSIC__Equations_fun__57((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__57
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__57)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__57
).header) + 3))
320PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items);
321static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__56,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_lm__56
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_lm__56omc_CodegenOMSIC__Equations_lm__56,0}};
322#define boxvar_CodegenOMSIC__Equations_lm__56((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__56
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_lm__56)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_lm__56
).header) + 3))
323PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__54(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_string _in_a_modelNamePrefixStr, modelica_string _in_a_input, modelica_string _in_a_omsiName);
324static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__54,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__54
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__54omc_CodegenOMSIC__Equations_fun__54,0}};
325#define boxvar_CodegenOMSIC__Equations_fun__54((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__54
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__54)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__54
).header) + 3))
326PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_preExp, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_preExp);
327static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__52,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__52
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__52omc_CodegenOMSIC__Equations_fun__52,0}};
328#define boxvar_CodegenOMSIC__Equations_fun__52((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__52
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__52)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__52
).header) + 3))
329PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_varDecls);
330PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_varDecls);
331static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__50,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__50
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__50,0}};
332#define boxvar_CodegenOMSIC__Equations_fun__50((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__50
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__50)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__50
).header) + 3))
333PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__49(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq);
334static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__49,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__49
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__49omc_CodegenOMSIC__Equations_fun__49,0}};
335#define boxvar_CodegenOMSIC__Equations_fun__49((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__49
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__49)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__49
).header) + 3))
336PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq);
337static const MMC_DEFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__48,2,0)struct { mmc_uint_t header; const void *data[2]; } boxvar_lit_CodegenOMSIC__Equations_fun__48
= { (((2) << 10) + (((0) & 255) << 2)),
{(void*) boxptr_CodegenOMSIC__Equations_fun__48omc_CodegenOMSIC__Equations_fun__48,0}};
338#define boxvar_CodegenOMSIC__Equations_fun__48((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__48
).header) + 3))
MMC_REFSTRUCTLIT(boxvar_lit_CodegenOMSIC__Equations_fun__48)((void*)((char*)(&(boxvar_lit_CodegenOMSIC__Equations_fun__48
).header) + 3))
339
340DLLExport
341modelica_metatype omc_CodegenOMSIC__Equations_equationWhen(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_context, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_auxFunction)
342{
343 modelica_metatype _out_txt = NULL((void*)0);
344 modelica_metatype _out_a_varDecls = NULL((void*)0);
345 modelica_metatype _out_a_auxFunction = NULL((void*)0);
346 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
347 MMC_SO()mmc_check_stackoverflow(threadData);
348 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
349 // _out_txt has no default value.
350 // _out_a_varDecls has no default value.
351 // _out_a_auxFunction has no default value.
352#line 1163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
353
354#line 1163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
355
356#line 1163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
357
358#line 358 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
359 { /* match expression */
360 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
361 tmp4_1 = _in_txt;
362 tmp4_2 = _in_a_eq;
363 tmp4_3 = _in_a_context;
364 tmp4_4 = _in_a_varDecls;
365 tmp4_5 = _in_a_auxFunction;
366 {
367 modelica_metatype _txt = NULL((void*)0);
368 modelica_metatype _a_context = NULL((void*)0);
369 modelica_metatype _a_varDecls = NULL((void*)0);
370 modelica_metatype _a_auxFunction = NULL((void*)0);
371 modelica_metatype _i_whenStmtLst = NULL((void*)0);
372 modelica_metatype _i_conditions = NULL((void*)0);
373 modelica_metatype _l_assign = NULL((void*)0);
374 modelica_boolean _ret_1;
375 modelica_metatype _l_helpIf = NULL((void*)0);
376 volatile mmc_switch_type tmp4;
377 int tmp5;
378 // _txt has no default value.
379 // _a_context has no default value.
380 // _a_varDecls has no default value.
381 // _a_auxFunction has no default value.
382 // _i_whenStmtLst has no default value.
383 // _i_conditions has no default value.
384 // _l_assign has no default value.
385 // _ret_1 has no default value.
386 // _l_helpIf has no default value.
387 tmp4 = 0;
388 for (; tmp4 < 2; tmp4++) {
389 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
390 case 0: {
391 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
392 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
393 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 5))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(5)))))
;
394 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 6))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(6)))))
;
395 if (!optionNone(tmpMeta[5])(0==((((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5]) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmpMeta[5])
- 3)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)
(tmpMeta[5]) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
396
397 _i_conditions = tmpMeta[3];
398 _i_whenStmtLst = tmpMeta[4];
399 _txt = tmp4_1;
400 _a_context = tmp4_3;
401 _a_varDecls = tmp4_4;
402 _a_auxFunction = tmp4_5;
403 /* Pattern matching succeeded */
404#line 1182 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
405 _ret_1 = listEmpty(_i_conditions)((*(mmc_uint_t*)((void*)((char*)(_i_conditions) - 3))) == (((
0) << 10) + (((0) & 255) << 2)))
;
406#line 406 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
407
408#line 1183 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
409 _l_helpIf = omc_CodegenOMSIC__Equations_fun__72(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_1, _a_context, _i_conditions);
410#line 410 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
411
412#line 1184 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
413 _l_assign = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
414#line 414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
415
416#line 1185 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
417 _l_assign = omc_CodegenOMSIC__Equations_lm__75(threadData, _l_assign, _i_whenStmtLst, _a_auxFunction, _a_varDecls, _a_context ,&_a_auxFunction ,&_a_varDecls);
418#line 418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
419
420#line 1186 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
421 _l_assign = omc_Tpl_popIter(threadData, _l_assign);
422#line 422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
423
424#line 1187 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
425 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT5((void*)((char*)(&(_OMC_LIT_STRUCT5).header) + 3)));
426#line 426 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
427
428#line 1188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
429 _txt = omc_Tpl_writeText(threadData, _txt, _l_helpIf);
430#line 430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
431
432#line 1189 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
433 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT10((void*)((char*)(&(_OMC_LIT_STRUCT10).header) + 3)));
434#line 434 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
435
436#line 1193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
437 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
438#line 438 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
439
440#line 1194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
441 _txt = omc_Tpl_writeText(threadData, _txt, _l_assign);
442#line 442 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
443
444#line 1195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
445 _txt = omc_Tpl_softNewLine(threadData, _txt);
446#line 446 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
447
448#line 1196 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
449 _txt = omc_Tpl_popBlock(threadData, _txt);
450#line 450 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
451
452#line 1197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
453 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
454#line 454 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
455#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
456 tmpMeta[0+0] = _txt;
457#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
458 tmpMeta[0+1] = _a_varDecls;
459#line 1198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
460 tmpMeta[0+2] = _a_auxFunction;
461#line 461 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
462 goto tmp3_done;
463 }
464 case 1: {
465
466 _txt = tmp4_1;
467 _a_varDecls = tmp4_4;
468 _a_auxFunction = tmp4_5;
469 /* Pattern matching succeeded */
470#line 1206 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
471 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT15((void*)((char*)(&(_OMC_LIT_STRUCT15).header) + 3)));
472#line 472 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
473#line 1207 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
474 tmpMeta[0+0] = _txt;
475#line 1207 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
476 tmpMeta[0+1] = _a_varDecls;
477#line 1207 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
478 tmpMeta[0+2] = _a_auxFunction;
479#line 479 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
480 goto tmp3_done;
481 }
482 }
483 goto tmp3_end;
484 tmp3_end: ;
485 }
486 goto goto_2;
487 goto_2:;
488 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
489 goto tmp3_done;
490 tmp3_done:;
491 }
492 }
493 _out_txt = tmpMeta[0+0];
494 _out_a_varDecls = tmpMeta[0+1];
495 _out_a_auxFunction = tmpMeta[0+2];
496 _return: OMC_LABEL_UNUSED__attribute__((unused))
497 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
498 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
499 return _out_txt;
500}
501
502PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__75(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls)
503{
504 modelica_metatype _out_txt = NULL((void*)0);
505 modelica_metatype _out_a_auxFunction = NULL((void*)0);
506 modelica_metatype _out_a_varDecls = NULL((void*)0);
507 modelica_metatype tmpMeta[5] __attribute__((unused)) = {0};
508 MMC_SO()mmc_check_stackoverflow(threadData);
509 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
510 // _out_txt has no default value.
511 // _out_a_auxFunction has no default value.
512 // _out_a_varDecls has no default value.
513#line 1122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
514
515#line 1122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
516
517#line 1122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
518
519#line 519 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
520 { /* match expression */
521 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
522 tmp4_1 = _in_txt;
523 tmp4_2 = _in_items;
524 tmp4_3 = _in_a_auxFunction;
525 tmp4_4 = _in_a_varDecls;
526 tmp4_5 = _in_a_context;
527 {
528 modelica_metatype _txt = NULL((void*)0);
529 modelica_metatype _rest = NULL((void*)0);
530 modelica_metatype _a_auxFunction = NULL((void*)0);
531 modelica_metatype _a_varDecls = NULL((void*)0);
532 modelica_metatype _a_context = NULL((void*)0);
533 modelica_metatype _i_stmt = NULL((void*)0);
534 volatile mmc_switch_type tmp4;
535 int tmp5;
536 // _txt has no default value.
537 // _rest has no default value.
538 // _a_auxFunction has no default value.
539 // _a_varDecls has no default value.
540 // _a_context has no default value.
541 // _i_stmt has no default value.
542 tmp4 = 0;
543 for (; tmp4 < 2; tmp4++) {
544 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
545 case 0: {
546 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
547
548 _txt = tmp4_1;
549 _a_auxFunction = tmp4_3;
550 _a_varDecls = tmp4_4;
551 /* Pattern matching succeeded */
552#line 1137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
553 tmpMeta[0+0] = _txt;
554#line 1137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
555 tmpMeta[0+1] = _a_auxFunction;
556#line 1137 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
557 tmpMeta[0+2] = _a_varDecls;
558#line 558 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
559 goto tmp3_done;
560 }
561 case 1: {
562 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
563 tmpMeta[3] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
564 tmpMeta[4] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
565
566 _i_stmt = tmpMeta[3];
567 _rest = tmpMeta[4];
568 _txt = tmp4_1;
569 _a_auxFunction = tmp4_3;
570 _a_varDecls = tmp4_4;
571 _a_context = tmp4_5;
572 /* Pattern matching succeeded */
573#line 1145 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
574 _txt = omc_CodegenOMSIC__Equations_fun__74(threadData, _txt, _i_stmt, _a_auxFunction, _a_varDecls, _a_context ,&_a_auxFunction ,&_a_varDecls);
575#line 575 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
576
577#line 1146 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
578 _txt = omc_Tpl_nextIter(threadData, _txt);
579#line 579 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
580#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
581 /* Tail recursive call */
582#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
583 _in_txt = _txt;
584#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
585 _in_items = _rest;
586#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
587 _in_a_auxFunction = _a_auxFunction;
588#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
589 _in_a_varDecls = _a_varDecls;
590#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
591 _in_a_context = _a_context;
592#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
593 goto _tailrecursive;
594#line 1147 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
595 /* TODO: Make sure any eventual dead code below is never generated */
596#line 596 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
597 goto tmp3_done;
598 }
599 }
600 goto tmp3_end;
601 tmp3_end: ;
602 }
603 goto goto_2;
604 goto_2:;
605 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
606 goto tmp3_done;
607 tmp3_done:;
608 }
609 }
610 _out_txt = tmpMeta[0+0];
611 _out_a_auxFunction = tmpMeta[0+1];
612 _out_a_varDecls = tmpMeta[0+2];
613 _return: OMC_LABEL_UNUSED__attribute__((unused))
614 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
615 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
616 return _out_txt;
617}
618
619PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__74(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_stmt, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls)
620{
621 modelica_metatype _out_txt = NULL((void*)0);
622 modelica_metatype _out_a_auxFunction = NULL((void*)0);
623 modelica_metatype _out_a_varDecls = NULL((void*)0);
624 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
625 MMC_SO()mmc_check_stackoverflow(threadData);
626 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
627 // _out_txt has no default value.
628 // _out_a_auxFunction has no default value.
629 // _out_a_varDecls has no default value.
630#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
631
632#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
633
634#line 1047 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
635
636#line 636 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
637 { /* match expression */
638 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
639 tmp4_1 = _in_txt;
640 tmp4_2 = _in_a_stmt;
641 tmp4_3 = _in_a_auxFunction;
642 tmp4_4 = _in_a_varDecls;
643 tmp4_5 = _in_a_context;
644 {
645 modelica_metatype _txt = NULL((void*)0);
646 modelica_metatype _a_auxFunction = NULL((void*)0);
647 modelica_metatype _a_varDecls = NULL((void*)0);
648 modelica_metatype _a_context = NULL((void*)0);
649 modelica_metatype _i_stateVar = NULL((void*)0);
650 modelica_metatype _i_value = NULL((void*)0);
651 modelica_metatype _i_right = NULL((void*)0);
652 modelica_metatype _i_left = NULL((void*)0);
653 modelica_metatype _ret_4 = NULL((void*)0);
654 modelica_metatype _l_val = NULL((void*)0);
655 modelica_metatype _l_rhs = NULL((void*)0);
656 modelica_metatype _l_lhs = NULL((void*)0);
657 modelica_metatype _l_preExp = NULL((void*)0);
658 volatile mmc_switch_type tmp4;
659 int tmp5;
660 // _txt has no default value.
661 // _a_auxFunction has no default value.
662 // _a_varDecls has no default value.
663 // _a_context has no default value.
664 // _i_stateVar has no default value.
665 // _i_value has no default value.
666 // _i_right has no default value.
667 // _i_left has no default value.
668 // _ret_4 has no default value.
669 // _l_val has no default value.
670 // _l_rhs has no default value.
671 // _l_lhs has no default value.
672 // _l_preExp has no default value.
673 tmp4 = 0;
674 for (; tmp4 < 3; tmp4++) {
675 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
676 case 0: {
677 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
678 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
679 if (mmc__uniontype__metarecord__typedef__equal(tmpMeta[3],6,2)((*(mmc_uint_t*)((void*)((char*)(tmpMeta[3]) - 3)))==(((2 +1)
<< 10) + (((6 +3) & 255) << 2)))
== 0) goto tmp3_end;
680 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[3]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[3]) - 3
))) + (2)))))
;
681 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
682
683 _i_left = tmpMeta[4];
684 _i_right = tmpMeta[5];
685 _txt = tmp4_1;
686 _a_auxFunction = tmp4_3;
687 _a_varDecls = tmp4_4;
688 _a_context = tmp4_5;
689 /* Pattern matching succeeded */
690#line 1070 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
691 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
692#line 692 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
693
694#line 1071 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
695 _l_lhs = omc_CodegenCFunctions_crefOMSI(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_left, _a_context);
696#line 696 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
697
698#line 1072 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
699 _l_rhs = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_right, _a_context, _l_preExp, _a_varDecls, _a_auxFunction ,&_l_preExp ,&_a_varDecls ,&_a_auxFunction);
700#line 700 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
701
702#line 1073 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
703 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
704#line 704 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
705
706#line 1074 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
707 _txt = omc_Tpl_writeText(threadData, _txt, _l_preExp);
708#line 708 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
709
710#line 1075 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
711 _txt = omc_Tpl_softNewLine(threadData, _txt);
712#line 712 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
713
714#line 1076 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
715 _txt = omc_Tpl_writeText(threadData, _txt, _l_lhs);
716#line 716 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
717
718#line 1077 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
719 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
720#line 720 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
721
722#line 1078 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
723 _txt = omc_Tpl_writeText(threadData, _txt, _l_rhs);
724#line 724 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
725
726#line 1079 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
727 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
728#line 728 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
729
730#line 1080 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
731 _txt = omc_Tpl_popBlock(threadData, _txt);
732#line 732 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
733#line 1081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
734 tmpMeta[0+0] = _txt;
735#line 1081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
736 tmpMeta[0+1] = _a_auxFunction;
737#line 1081 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
738 tmpMeta[0+2] = _a_varDecls;
739#line 739 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
740 goto tmp3_done;
741 }
742 case 1: {
743 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,3)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((3 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
744 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
745 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
746
747 _i_stateVar = tmpMeta[3];
748 _i_value = tmpMeta[4];
749 _txt = tmp4_1;
750 _a_auxFunction = tmp4_3;
751 _a_varDecls = tmp4_4;
752 _a_context = tmp4_5;
753 /* Pattern matching succeeded */
754#line 1089 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
755 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
756#line 756 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
757
758#line 1090 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
759 _l_val = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_value, _a_context, _l_preExp, _a_varDecls, _a_auxFunction ,&_l_preExp ,&_a_varDecls ,&_a_auxFunction);
760#line 760 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
761
762#line 1091 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
763 _ret_4 = omc_ComponentReference_crefTypeConsiderSubs(threadData, _i_stateVar);
764#line 764 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
765
766#line 1092 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
767 _l_lhs = omc_CodegenOMSIC__Equations_fun__73(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_4, _l_val, _a_context, _i_stateVar);
768#line 768 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
769
770#line 1093 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
771 _txt = omc_Tpl_writeText(threadData, _txt, _l_preExp);
772#line 772 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
773
774#line 1094 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
775 _txt = omc_Tpl_softNewLine(threadData, _txt);
776#line 776 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
777
778#line 1095 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
779 _txt = omc_Tpl_writeText(threadData, _txt, _l_lhs);
780#line 780 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
781
782#line 1096 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
783 _txt = omc_Tpl_softNewLine(threadData, _txt);
784#line 784 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
785
786#line 1097 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
787 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT21((void*)((char*)(&(_OMC_LIT_STRUCT21).header) + 3)));
788#line 788 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
789#line 1098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
790 tmpMeta[0+0] = _txt;
791#line 1098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
792 tmpMeta[0+1] = _a_auxFunction;
793#line 1098 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
794 tmpMeta[0+2] = _a_varDecls;
795#line 795 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
796 goto tmp3_done;
797 }
798 case 2: {
799
800 _txt = tmp4_1;
801 _a_auxFunction = tmp4_3;
802 _a_varDecls = tmp4_4;
803 /* Pattern matching succeeded */
804#line 1106 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
805 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT23((void*)((char*)(&(_OMC_LIT_STRUCT23).header) + 3)));
806#line 806 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
807#line 1107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
808 tmpMeta[0+0] = _txt;
809#line 1107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
810 tmpMeta[0+1] = _a_auxFunction;
811#line 1107 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
812 tmpMeta[0+2] = _a_varDecls;
813#line 813 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
814 goto tmp3_done;
815 }
816 }
817 goto tmp3_end;
818 tmp3_end: ;
819 }
820 goto goto_2;
821 goto_2:;
822 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
823 goto tmp3_done;
824 tmp3_done:;
825 }
826 }
827 _out_txt = tmpMeta[0+0];
828 _out_a_auxFunction = tmpMeta[0+1];
829 _out_a_varDecls = tmpMeta[0+2];
830 _return: OMC_LABEL_UNUSED__attribute__((unused))
831 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
832 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
833 return _out_txt;
834}
835
836PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__73(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_val, modelica_metatype _in_a_context, modelica_metatype _in_a_stateVar)
837{
838 modelica_metatype _out_txt = NULL((void*)0);
839 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
840 MMC_SO()mmc_check_stackoverflow(threadData);
841 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
842 // _out_txt has no default value.
843#line 843 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
844 { /* match expression */
845 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;modelica_metatype tmp3_5;
846 tmp3_1 = _in_txt;
847 tmp3_2 = _in_mArg;
848 tmp3_3 = _in_a_val;
849 tmp3_4 = _in_a_context;
850 tmp3_5 = _in_a_stateVar;
851 {
852 modelica_metatype _txt = NULL((void*)0);
853 modelica_metatype _a_val = NULL((void*)0);
854 modelica_metatype _a_context = NULL((void*)0);
855 modelica_metatype _a_stateVar = NULL((void*)0);
856 volatile mmc_switch_type tmp3;
857 int tmp4;
858 // _txt has no default value.
859 // _a_val has no default value.
860 // _a_context has no default value.
861 // _a_stateVar has no default value.
862 tmp3 = 0;
863 for (; tmp3 < 2; tmp3++) {
864 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
865 case 0: {
866 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,6,2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((2 +1) <<
10) + (((6 +3) & 255) << 2)))
== 0) goto tmp2_end;
867
868 _txt = tmp3_1;
869 /* Pattern matching succeeded */
870#line 1019 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
871 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT25((void*)((char*)(&(_OMC_LIT_STRUCT25).header) + 3)));
872#line 872 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
873 goto tmp2_done;
874 }
875 case 1: {
876
877 _txt = tmp3_1;
878 _a_val = tmp3_3;
879 _a_context = tmp3_4;
880 _a_stateVar = tmp3_5;
881 /* Pattern matching succeeded */
882#line 1028 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
883 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _a_stateVar, _a_context);
884#line 884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
885
886#line 1029 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
887 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
888#line 888 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
889
890#line 1030 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
891 _txt = omc_Tpl_writeText(threadData, _txt, _a_val);
892#line 892 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
893#line 1031 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
894 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
895#line 895 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
896 goto tmp2_done;
897 }
898 }
899 goto tmp2_end;
900 tmp2_end: ;
901 }
902 goto goto_1;
903 goto_1:;
904 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
905 goto tmp2_done;
906 tmp2_done:;
907 }
908 }
909 _out_txt = tmpMeta[0];
910 _return: OMC_LABEL_UNUSED__attribute__((unused))
911 return _out_txt;
912}
913
914PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions)
915{
916 modelica_metatype _out_txt = NULL((void*)0);
917 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
918 MMC_SO()mmc_check_stackoverflow(threadData);
919 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
920 // _out_txt has no default value.
921#line 921 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
922 { /* match expression */
923 modelica_metatype tmp3_1;modelica_boolean tmp3_2;modelica_metatype tmp3_3;modelica_metatype tmp3_4;
924 tmp3_1 = _in_txt;
925 tmp3_2 = _in_mArg;
926 tmp3_3 = _in_a_context;
927 tmp3_4 = _in_a_conditions;
928 {
929 modelica_metatype _txt = NULL((void*)0);
930 modelica_metatype _a_context = NULL((void*)0);
931 modelica_metatype _a_conditions = NULL((void*)0);
932 volatile mmc_switch_type tmp3;
933 int tmp4;
934 // _txt has no default value.
935 // _a_context has no default value.
936 // _a_conditions has no default value.
937 tmp3 = 0;
938 for (; tmp3 < 2; tmp3++) {
939 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
940 case 0: {
941 if (0 != tmp3_2) goto tmp2_end;
942
943 _txt = tmp3_1;
944 _a_context = tmp3_3;
945 _a_conditions = tmp3_4;
946 /* Pattern matching succeeded */
947#line 981 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
948 _txt = omc_Tpl_pushIter(threadData, _txt, _OMC_LIT29((void*)((char*)(&(_OMC_LIT_STRUCT29).header) + 3)));
949#line 949 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
950
951#line 982 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
952 _txt = omc_CodegenOMSIC__Equations_lm__71(threadData, _txt, _a_conditions, _a_context);
953#line 953 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
954#line 983 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
955 tmpMeta[0] = omc_Tpl_popIter(threadData, _txt);
956#line 956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
957 goto tmp2_done;
958 }
959 case 1: {
960
961 _txt = tmp3_1;
962 /* Pattern matching succeeded */
963#line 991 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
964 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT31((void*)((char*)(&(_OMC_LIT_STRUCT31).header) + 3)));
965#line 965 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
966 goto tmp2_done;
967 }
968 }
969 goto tmp2_end;
970 tmp2_end: ;
971 }
972 goto goto_1;
973 goto_1:;
974 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
975 goto tmp2_done;
976 tmp2_done:;
977 }
978 }
979 _out_txt = tmpMeta[0];
980 _return: OMC_LABEL_UNUSED__attribute__((unused))
981 return _out_txt;
982}
983PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__72(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_context, modelica_metatype _in_a_conditions)
984{
985 modelica_integer tmp1;
986 modelica_metatype _out_txt = NULL((void*)0);
987 tmp1 = mmc_unbox_integer(_in_mArg)(((mmc_sint_t) (_in_mArg)) >> 1);
988 _out_txt = omc_CodegenOMSIC__Equations_fun__72(threadData, _in_txt, tmp1, _in_a_context, _in_a_conditions);
989 /* skip box _out_txt; Tpl.Text */
990 return _out_txt;
991}
992
993PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__71(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_context)
994{
995 modelica_metatype _out_txt = NULL((void*)0);
996 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
997 MMC_SO()mmc_check_stackoverflow(threadData);
998 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
999 // _out_txt has no default value.
1000#line 1000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1001 { /* match expression */
1002 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
1003 tmp3_1 = _in_txt;
1004 tmp3_2 = _in_items;
1005 tmp3_3 = _in_a_context;
1006 {
1007 modelica_metatype _txt = NULL((void*)0);
1008 modelica_metatype _rest = NULL((void*)0);
1009 modelica_metatype _a_context = NULL((void*)0);
1010 modelica_metatype _i_cr = NULL((void*)0);
1011 modelica_metatype _ret_0 = NULL((void*)0);
1012 volatile mmc_switch_type tmp3;
1013 int tmp4;
1014 // _txt has no default value.
1015 // _rest has no default value.
1016 // _a_context has no default value.
1017 // _i_cr has no default value.
1018 // _ret_0 has no default value.
1019 tmp3 = 0;
1020 for (; tmp3 < 2; tmp3++) {
1021 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1022 case 0: {
1023 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1024
1025 _txt = tmp3_1;
1026 /* Pattern matching succeeded */
1027#line 943 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1028 tmpMeta[0] = _txt;
1029#line 1029 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1030 goto tmp2_done;
1031 }
1032 case 1: {
1033 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1034 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1035 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1036
1037 _i_cr = tmpMeta[1];
1038 _rest = tmpMeta[2];
1039 _txt = tmp3_1;
1040 _a_context = tmp3_3;
1041 /* Pattern matching succeeded */
1042#line 949 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1043 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
1044#line 1044 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1045
1046#line 950 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1047 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _i_cr, _a_context);
1048#line 1048 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1049
1050#line 951 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1051 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT35((void*)((char*)(&(_OMC_LIT_STRUCT35).header) + 3)));
1052#line 1052 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1053
1054#line 952 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1055 _ret_0 = omc_ComponentReference_crefPrefixPre(threadData, _i_cr);
1056#line 1056 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1057
1058#line 953 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1059 _txt = omc_CodegenCFunctions_crefOMSI(threadData, _txt, _ret_0, _a_context);
1060#line 1060 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1061
1062#line 954 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1063 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT37((void*)((char*)(&(_OMC_LIT_STRUCT37).header) + 3)));
1064#line 1064 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1065
1066#line 955 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1067 _txt = omc_Tpl_nextIter(threadData, _txt);
1068#line 1068 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1069#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1070 /* Tail recursive call */
1071#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1072 _in_txt = _txt;
1073#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1074 _in_items = _rest;
1075#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1076 _in_a_context = _a_context;
1077#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1078 goto _tailrecursive;
1079#line 956 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1080 /* TODO: Make sure any eventual dead code below is never generated */
1081#line 1081 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1082 goto tmp2_done;
1083 }
1084 }
1085 goto tmp2_end;
1086 tmp2_end: ;
1087 }
1088 goto goto_1;
1089 goto_1:;
1090 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1091 goto tmp2_done;
1092 tmp2_done:;
1093 }
1094 }
1095 _out_txt = tmpMeta[0];
1096 _return: OMC_LABEL_UNUSED__attribute__((unused))
1097 return _out_txt;
1098}
1099
1100DLLExport
1101modelica_metatype omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnCall(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_string _a_omsiName, modelica_metatype *out_out_a_functionPrototypes)
1102{
1103 modelica_metatype _out_txt = NULL((void*)0);
1104 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1105 modelica_metatype _l_auxFunction = NULL((void*)0);
1106 modelica_metatype _l_varDecls = NULL((void*)0);
1107 modelica_metatype _l_preExp = NULL((void*)0);
1108 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1109 MMC_SO()mmc_check_stackoverflow(threadData);
1110 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1111 // _out_txt has no default value.
1112 // _out_a_functionPrototypes has no default value.
1113 // _l_auxFunction has no default value.
1114 // _l_varDecls has no default value.
1115 // _l_preExp has no default value.
1116 // _l_bodyBuffer has no default value.
1117#line 917 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1118 _l_bodyBuffer = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1119#line 1119 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1120
1121#line 918 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1122 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
Value stored to '_l_preExp' is never read
1123#line 1123 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1124
1125#line 919 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1126 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1127#line 1127 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1128
1129#line 920 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1130 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1131#line 1131 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1132
1133#line 921 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1134 _out_txt = omc_CodegenOMSIC__Equations_fun__69(threadData, _txt, _a_column, _a_index, _a_functionPrototypes, _a_omsiName, _a_modelName ,&_out_a_functionPrototypes);
1135#line 1135 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1136 _return: OMC_LABEL_UNUSED__attribute__((unused))
1137 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1138 return _out_txt;
1139}
1140
1141PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__69(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_string _in_a_index, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_omsiName, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1142{
1143 modelica_metatype _out_txt = NULL((void*)0);
1144 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1145 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1146 MMC_SO()mmc_check_stackoverflow(threadData);
1147 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1148 // _out_txt has no default value.
1149 // _out_a_functionPrototypes has no default value.
1150#line 840 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1151
1152#line 840 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1153
1154#line 1154 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1155 { /* match expression */
1156 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1157 tmp4_1 = _in_txt;
1158 tmp4_2 = _in_a_column;
1159 tmp4_3 = _in_a_index;
1160 tmp4_4 = _in_a_functionPrototypes;
1161 tmp4_5 = _in_a_omsiName;
1162 tmp4_6 = _in_a_modelName;
1163 {
1164 modelica_metatype _txt = NULL((void*)0);
1165 modelica_string _a_index = NULL((void*)0);
1166 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1167 modelica_string _a_omsiName = NULL((void*)0);
1168 modelica_string _a_modelName = NULL((void*)0);
1169 modelica_metatype _i_equations = NULL((void*)0);
1170 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1171 volatile mmc_switch_type tmp4;
1172 int tmp5;
1173 // _txt has no default value.
1174 // _a_index has no default value.
1175 // _a_functionPrototypes has no default value.
1176 // _a_omsiName has no default value.
1177 // _a_modelName has no default value.
1178 // _i_equations has no default value.
1179 // _l_bodyBuffer has no default value.
1180 tmp4 = 0;
1181 for (; tmp4 < 2; tmp4++) {
1182 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1183 case 0: {
1184 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1185
1186 _txt = tmp4_1;
1187 _i_equations = tmpMeta[2];
1188 _a_index = tmp4_3;
1189 _a_functionPrototypes = tmp4_4;
1190 _a_omsiName = tmp4_5;
1191 _a_modelName = tmp4_6;
1192 /* Pattern matching succeeded */
1193#line 858 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1194 _l_bodyBuffer = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1195#line 1195 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1196
1197#line 859 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1198 _l_bodyBuffer = omc_CodegenOMSIC__Equations_lm__68(threadData, _l_bodyBuffer, _i_equations, _a_omsiName, _a_modelName);
1199#line 1199 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1200
1201#line 860 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1202 _l_bodyBuffer = omc_Tpl_popIter(threadData, _l_bodyBuffer);
1203#line 1203 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1204
1205#line 861 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1206 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT39((void*)((char*)(&(_OMC_LIT_STRUCT39).header) + 3)));
1207#line 1207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1208
1209#line 862 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1210 _a_functionPrototypes = omc_CodegenUtil_symbolName(threadData, _a_functionPrototypes, _a_modelName, _a_omsiName);
1211#line 1211 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1212
1213#line 863 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1214 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1215#line 1215 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1216
1217#line 864 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1218 _a_functionPrototypes = omc_Tpl_writeStr(threadData, _a_functionPrototypes, _a_index);
1219#line 1219 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1220
1221#line 865 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1222 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT43((void*)((char*)(&(_OMC_LIT_STRUCT43).header) + 3)));
1223#line 1223 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1224
1225#line 866 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1226 _a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
1227#line 1227 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1228
1229#line 867 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1230 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT51((void*)((char*)(&(_OMC_LIT_STRUCT51).header) + 3)));
1231#line 1231 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1232
1233#line 873 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1234 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelName, _a_omsiName);
1235#line 1235 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1236
1237#line 874 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1238 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT41((void*)((char*)(&(_OMC_LIT_STRUCT41).header) + 3)));
1239#line 1239 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1240
1241#line 875 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1242 _txt = omc_Tpl_writeStr(threadData, _txt, _a_index);
1243#line 1243 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1244
1245#line 876 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1246 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT56((void*)((char*)(&(_OMC_LIT_STRUCT56).header) + 3)));
1247#line 1247 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1248
1249#line 880 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1250 _txt = omc_Tpl_pushBlock(threadData, _txt, _OMC_LIT11((void*)((char*)(&(_OMC_LIT_STRUCT11).header) + 3)));
1251#line 1251 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1252
1253#line 881 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1254 _txt = omc_Tpl_writeText(threadData, _txt, _l_bodyBuffer);
1255#line 1255 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1256
1257#line 882 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1258 _txt = omc_Tpl_softNewLine(threadData, _txt);
1259#line 1259 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1260
1261#line 883 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1262 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT60((void*)((char*)(&(_OMC_LIT_STRUCT60).header) + 3)));
1263#line 1263 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1264
1265#line 887 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1266 _txt = omc_Tpl_popBlock(threadData, _txt);
1267#line 1267 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1268
1269#line 888 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1270 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
1271#line 1271 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1272#line 889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1273 tmpMeta[0+0] = _txt;
1274#line 889 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1275 tmpMeta[0+1] = _a_functionPrototypes;
1276#line 1276 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1277 goto tmp3_done;
1278 }
1279 case 1: {
1280
1281 _txt = tmp4_1;
1282 _a_functionPrototypes = tmp4_4;
1283 /* Pattern matching succeeded */
1284#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1285 tmpMeta[0+0] = _txt;
1286#line 897 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1287 tmpMeta[0+1] = _a_functionPrototypes;
1288#line 1288 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1289 goto tmp3_done;
1290 }
1291 }
1292 goto tmp3_end;
1293 tmp3_end: ;
1294 }
1295 goto goto_2;
1296 goto_2:;
1297 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1298 goto tmp3_done;
1299 tmp3_done:;
1300 }
1301 }
1302 _out_txt = tmpMeta[0+0];
1303 _out_a_functionPrototypes = tmpMeta[0+1];
1304 _return: OMC_LABEL_UNUSED__attribute__((unused))
1305 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1306 return _out_txt;
1307}
1308
1309PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__68(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_string _in_a_modelName)
1310{
1311 modelica_metatype _out_txt = NULL((void*)0);
1312 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
1313 MMC_SO()mmc_check_stackoverflow(threadData);
1314 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1315 // _out_txt has no default value.
1316#line 1316 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1317 { /* match expression */
1318 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;
1319 tmp3_1 = _in_txt;
1320 tmp3_2 = _in_items;
1321 tmp3_3 = _in_a_omsiName;
1322 tmp3_4 = _in_a_modelName;
1323 {
1324 modelica_metatype _txt = NULL((void*)0);
1325 modelica_metatype _rest = NULL((void*)0);
1326 modelica_string _a_omsiName = NULL((void*)0);
1327 modelica_string _a_modelName = NULL((void*)0);
1328 modelica_metatype _i_eq = NULL((void*)0);
1329 volatile mmc_switch_type tmp3;
1330 int tmp4;
1331 // _txt has no default value.
1332 // _rest has no default value.
1333 // _a_omsiName has no default value.
1334 // _a_modelName has no default value.
1335 // _i_eq has no default value.
1336 tmp3 = 0;
1337 for (; tmp3 < 2; tmp3++) {
1338 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
1339 case 0: {
1340 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1341
1342 _txt = tmp3_1;
1343 /* Pattern matching succeeded */
1344#line 815 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1345 tmpMeta[0] = _txt;
1346#line 1346 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1347 goto tmp2_done;
1348 }
1349 case 1: {
1350 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
1351 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
1352 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
1353
1354 _i_eq = tmpMeta[1];
1355 _rest = tmpMeta[2];
1356 _txt = tmp3_1;
1357 _a_omsiName = tmp3_3;
1358 _a_modelName = tmp3_4;
1359 /* Pattern matching succeeded */
1360#line 822 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1361 _txt = omc_CodegenOMSIC__Equations_equationCall(threadData, _txt, _i_eq, _a_modelName, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _OMC_LIT62((void*)((char*)(&(_OMC_LIT_STRUCT62).header) + 3)), _a_omsiName);
1362#line 1362 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1363
1364#line 823 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1365 _txt = omc_Tpl_nextIter(threadData, _txt);
1366#line 1366 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1367#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1368 /* Tail recursive call */
1369#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1370 _in_txt = _txt;
1371#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1372 _in_items = _rest;
1373#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1374 _in_a_omsiName = _a_omsiName;
1375#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1376 _in_a_modelName = _a_modelName;
1377#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1378 goto _tailrecursive;
1379#line 824 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1380 /* TODO: Make sure any eventual dead code below is never generated */
1381#line 1381 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1382 goto tmp2_done;
1383 }
1384 }
1385 goto tmp2_end;
1386 tmp2_end: ;
1387 }
1388 goto goto_1;
1389 goto_1:;
1390 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1391 goto tmp2_done;
1392 tmp2_done:;
1393 }
1394 }
1395 _out_txt = tmpMeta[0];
1396 _return: OMC_LABEL_UNUSED__attribute__((unused))
1397 return _out_txt;
1398}
1399
1400DLLExport
1401modelica_metatype omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnFunction(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_metatype *out_out_a_functionPrototypes)
1402{
1403 modelica_metatype _out_txt = NULL((void*)0);
1404 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1405 modelica_metatype _l_auxFunction = NULL((void*)0);
1406 modelica_metatype _l_varDecls = NULL((void*)0);
1407 modelica_metatype _l_preExp = NULL((void*)0);
1408 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1409 MMC_SO()mmc_check_stackoverflow(threadData);
1410 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1411 // _out_txt has no default value.
1412 // _out_a_functionPrototypes has no default value.
1413 // _l_auxFunction has no default value.
1414 // _l_varDecls has no default value.
1415 // _l_preExp has no default value.
1416 // _l_bodyBuffer has no default value.
1417#line 787 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1418 _l_bodyBuffer = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1419#line 1419 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1420
1421#line 788 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1422 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1423#line 1423 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1424
1425#line 789 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1426 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1427#line 1427 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1428
1429#line 790 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1430 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1431#line 1431 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1432
1433#line 791 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1434 _out_txt = omc_CodegenOMSIC__Equations_fun__66(threadData, _txt, _a_column, _a_functionPrototypes, _a_modelName ,&_out_a_functionPrototypes);
1435#line 1435 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1436 _return: OMC_LABEL_UNUSED__attribute__((unused))
1437 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1438 return _out_txt;
1439}
1440
1441PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__66(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1442{
1443 modelica_metatype _out_txt = NULL((void*)0);
1444 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1445 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1446 MMC_SO()mmc_check_stackoverflow(threadData);
1447 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1448 // _out_txt has no default value.
1449 // _out_a_functionPrototypes has no default value.
1450#line 743 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1451
1452#line 743 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1453
1454#line 1454 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1455 { /* match expression */
1456 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_string tmp4_4;
1457 tmp4_1 = _in_txt;
1458 tmp4_2 = _in_a_column;
1459 tmp4_3 = _in_a_functionPrototypes;
1460 tmp4_4 = _in_a_modelName;
1461 {
1462 modelica_metatype _txt = NULL((void*)0);
1463 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1464 modelica_string _a_modelName = NULL((void*)0);
1465 modelica_metatype _i_omsiFunction_context = NULL((void*)0);
1466 modelica_metatype _i_equations = NULL((void*)0);
1467 modelica_metatype _l_bodyBuffer = NULL((void*)0);
1468 volatile mmc_switch_type tmp4;
1469 int tmp5;
1470 // _txt has no default value.
1471 // _a_functionPrototypes has no default value.
1472 // _a_modelName has no default value.
1473 // _i_omsiFunction_context has no default value.
1474 // _i_equations has no default value.
1475 // _l_bodyBuffer has no default value.
1476 tmp4 = 0;
1477 for (; tmp4 < 2; tmp4++) {
1478 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1479 case 0: {
1480 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1481 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(7)))))
;
1482
1483 _txt = tmp4_1;
1484 _i_equations = tmpMeta[2];
1485 _i_omsiFunction_context = tmpMeta[3];
1486 _a_functionPrototypes = tmp4_3;
1487 _a_modelName = tmp4_4;
1488 /* Pattern matching succeeded */
1489#line 758 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1490 _l_bodyBuffer = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT3((void*)((char*)(&(_OMC_LIT_STRUCT3).header) + 3)));
1491#line 1491 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1492
1493#line 759 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1494 _l_bodyBuffer = omc_CodegenOMSIC__Equations_lm__65(threadData, _l_bodyBuffer, _i_equations, _a_functionPrototypes, _i_omsiFunction_context, _a_modelName ,&_a_functionPrototypes);
1495#line 1495 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1496
1497#line 760 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1498 _l_bodyBuffer = omc_Tpl_popIter(threadData, _l_bodyBuffer);
1499#line 1499 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1500
1501#line 761 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1502 _txt = omc_Tpl_writeText(threadData, _txt, _l_bodyBuffer);
1503#line 1503 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1504#line 762 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1505 tmpMeta[0+0] = _txt;
1506#line 762 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1507 tmpMeta[0+1] = _a_functionPrototypes;
1508#line 1508 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1509 goto tmp3_done;
1510 }
1511 case 1: {
1512
1513 _txt = tmp4_1;
1514 _a_functionPrototypes = tmp4_3;
1515 /* Pattern matching succeeded */
1516#line 768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1517 tmpMeta[0+0] = _txt;
1518#line 768 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1519 tmpMeta[0+1] = _a_functionPrototypes;
1520#line 1520 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1521 goto tmp3_done;
1522 }
1523 }
1524 goto tmp3_end;
1525 tmp3_end: ;
1526 }
1527 goto goto_2;
1528 goto_2:;
1529 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1530 goto tmp3_done;
1531 tmp3_done:;
1532 }
1533 }
1534 _out_txt = tmpMeta[0+0];
1535 _out_a_functionPrototypes = tmpMeta[0+1];
1536 _return: OMC_LABEL_UNUSED__attribute__((unused))
1537 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1538 return _out_txt;
1539}
1540
1541PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__65(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_functionPrototypes, modelica_metatype _in_a_omsiFunction_context, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1542{
1543 modelica_metatype _out_txt = NULL((void*)0);
1544 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1545 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1546 MMC_SO()mmc_check_stackoverflow(threadData);
1547 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1548 // _out_txt has no default value.
1549 // _out_a_functionPrototypes has no default value.
1550#line 704 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1551
1552#line 704 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1553
1554#line 1554 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1555 { /* match expression */
1556 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;
1557 tmp4_1 = _in_txt;
1558 tmp4_2 = _in_items;
1559 tmp4_3 = _in_a_functionPrototypes;
1560 tmp4_4 = _in_a_omsiFunction_context;
1561 tmp4_5 = _in_a_modelName;
1562 {
1563 modelica_metatype _txt = NULL((void*)0);
1564 modelica_metatype _rest = NULL((void*)0);
1565 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1566 modelica_metatype _a_omsiFunction_context = NULL((void*)0);
1567 modelica_string _a_modelName = NULL((void*)0);
1568 modelica_metatype _i_eq = NULL((void*)0);
1569 volatile mmc_switch_type tmp4;
1570 int tmp5;
1571 // _txt has no default value.
1572 // _rest has no default value.
1573 // _a_functionPrototypes has no default value.
1574 // _a_omsiFunction_context has no default value.
1575 // _a_modelName has no default value.
1576 // _i_eq has no default value.
1577 tmp4 = 0;
1578 for (; tmp4 < 2; tmp4++) {
1579 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1580 case 0: {
1581 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1582
1583 _txt = tmp4_1;
1584 _a_functionPrototypes = tmp4_3;
1585 /* Pattern matching succeeded */
1586#line 719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1587 tmpMeta[0+0] = _txt;
1588#line 719 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1589 tmpMeta[0+1] = _a_functionPrototypes;
1590#line 1590 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1591 goto tmp3_done;
1592 }
1593 case 1: {
1594 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1595 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1596 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1597
1598 _i_eq = tmpMeta[2];
1599 _rest = tmpMeta[3];
1600 _txt = tmp4_1;
1601 _a_functionPrototypes = tmp4_3;
1602 _a_omsiFunction_context = tmp4_4;
1603 _a_modelName = tmp4_5;
1604 /* Pattern matching succeeded */
1605#line 727 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1606 _txt = omc_CodegenOMSIC__Equations_generateEquationFunction(threadData, _txt, _i_eq, _a_modelName, _OMC_LIT61((void*)((char*)(&(_OMC_LIT_STRUCT61).header) + 3)), _a_omsiFunction_context, _a_functionPrototypes ,&_a_functionPrototypes);
1607#line 1607 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1608
1609#line 728 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1610 _txt = omc_Tpl_nextIter(threadData, _txt);
1611#line 1611 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1612#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1613 /* Tail recursive call */
1614#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1615 _in_txt = _txt;
1616#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1617 _in_items = _rest;
1618#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1619 _in_a_functionPrototypes = _a_functionPrototypes;
1620#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1621 _in_a_omsiFunction_context = _a_omsiFunction_context;
1622#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1623 _in_a_modelName = _a_modelName;
1624#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1625 goto _tailrecursive;
1626#line 729 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1627 /* TODO: Make sure any eventual dead code below is never generated */
1628#line 1628 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1629 goto tmp3_done;
1630 }
1631 }
1632 goto tmp3_end;
1633 tmp3_end: ;
1634 }
1635 goto goto_2;
1636 goto_2:;
1637 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1638 goto tmp3_done;
1639 tmp3_done:;
1640 }
1641 }
1642 _out_txt = tmpMeta[0+0];
1643 _out_a_functionPrototypes = tmpMeta[0+1];
1644 _return: OMC_LABEL_UNUSED__attribute__((unused))
1645 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1646 return _out_txt;
1647}
1648
1649DLLExport
1650modelica_metatype omc_CodegenOMSIC__Equations_generateDerivativeMatrix(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_matrix, modelica_string _a_modelName, modelica_string _a_index, modelica_metatype _a_functionPrototypes, modelica_string _a_omsiName, modelica_metatype *out_out_a_functionPrototypes)
1651{
1652 modelica_metatype _out_txt = NULL((void*)0);
1653 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1654 modelica_metatype _l_columnsString = NULL((void*)0);
1655 MMC_SO()mmc_check_stackoverflow(threadData);
1656 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1657 // _out_txt has no default value.
1658 // _out_a_functionPrototypes has no default value.
1659 // _l_columnsString has no default value.
1660#line 690 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1661 _l_columnsString = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1662#line 1662 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1663
1664#line 691 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1665 _out_txt = omc_CodegenOMSIC__Equations_fun__63(threadData, _txt, _a_matrix, _a_omsiName, _a_functionPrototypes, _a_index, _a_modelName ,&_out_a_functionPrototypes);
1666#line 1666 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1667 _return: OMC_LABEL_UNUSED__attribute__((unused))
1668 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1669 return _out_txt;
1670}
1671
1672PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__63(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1673{
1674 modelica_metatype _out_txt = NULL((void*)0);
1675 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1676 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1677 MMC_SO()mmc_check_stackoverflow(threadData);
1678 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1679 // _out_txt has no default value.
1680 // _out_a_functionPrototypes has no default value.
1681#line 640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1682
1683#line 640 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1684
1685#line 1685 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1686 { /* match expression */
1687 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1688 tmp4_1 = _in_txt;
1689 tmp4_2 = _in_a_matrix;
1690 tmp4_3 = _in_a_omsiName;
1691 tmp4_4 = _in_a_functionPrototypes;
1692 tmp4_5 = _in_a_index;
1693 tmp4_6 = _in_a_modelName;
1694 {
1695 modelica_metatype _txt = NULL((void*)0);
1696 modelica_string _a_omsiName = NULL((void*)0);
1697 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1698 modelica_string _a_index = NULL((void*)0);
1699 modelica_string _a_modelName = NULL((void*)0);
1700 modelica_metatype _i_m_columns = NULL((void*)0);
1701 modelica_metatype _l_columnsString = NULL((void*)0);
1702 volatile mmc_switch_type tmp4;
1703 int tmp5;
1704 // _txt has no default value.
1705 // _a_omsiName has no default value.
1706 // _a_functionPrototypes has no default value.
1707 // _a_index has no default value.
1708 // _a_modelName has no default value.
1709 // _i_m_columns has no default value.
1710 // _l_columnsString has no default value.
1711 tmp4 = 0;
1712 for (; tmp4 < 2; tmp4++) {
1713 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1714 case 0: {
1715 if (optionNone(tmp4_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp4_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp3_end;
1716 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1717 tmpMeta[3] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[2]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[2]) - 3
))) + (2)))))
;
1718
1719 _i_m_columns = tmpMeta[3];
1720 _txt = tmp4_1;
1721 _a_omsiName = tmp4_3;
1722 _a_functionPrototypes = tmp4_4;
1723 _a_index = tmp4_5;
1724 _a_modelName = tmp4_6;
1725 /* Pattern matching succeeded */
1726#line 658 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1727 _l_columnsString = omc_Tpl_pushIter(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _OMC_LIT66((void*)((char*)(&(_OMC_LIT_STRUCT66).header) + 3)));
1728#line 1728 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1729
1730#line 662 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1731 _l_columnsString = omc_CodegenOMSIC__Equations_lm__62(threadData, _l_columnsString, _i_m_columns, _a_omsiName, _a_functionPrototypes, _a_index, _a_modelName ,&_a_functionPrototypes);
1732#line 1732 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1733
1734#line 663 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1735 _l_columnsString = omc_Tpl_popIter(threadData, _l_columnsString);
1736#line 1736 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1737
1738#line 664 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1739 _txt = omc_Tpl_writeText(threadData, _txt, _l_columnsString);
1740#line 1740 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1741#line 665 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1742 tmpMeta[0+0] = _txt;
1743#line 665 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1744 tmpMeta[0+1] = _a_functionPrototypes;
1745#line 1745 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1746 goto tmp3_done;
1747 }
1748 case 1: {
1749
1750 _txt = tmp4_1;
1751 _a_functionPrototypes = tmp4_4;
1752 /* Pattern matching succeeded */
1753#line 673 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1754 tmpMeta[0+0] = _txt;
1755#line 673 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1756 tmpMeta[0+1] = _a_functionPrototypes;
1757#line 1757 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1758 goto tmp3_done;
1759 }
1760 }
1761 goto tmp3_end;
1762 tmp3_end: ;
1763 }
1764 goto goto_2;
1765 goto_2:;
1766 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1767 goto tmp3_done;
1768 tmp3_done:;
1769 }
1770 }
1771 _out_txt = tmpMeta[0+0];
1772 _out_a_functionPrototypes = tmpMeta[0+1];
1773 _return: OMC_LABEL_UNUSED__attribute__((unused))
1774 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1775 return _out_txt;
1776}
1777
1778PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__62(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_string _in_a_omsiName, modelica_metatype _in_a_functionPrototypes, modelica_string _in_a_index, modelica_string _in_a_modelName, modelica_metatype *out_out_a_functionPrototypes)
1779{
1780 modelica_metatype _out_txt = NULL((void*)0);
1781 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
1782 modelica_metatype tmpMeta[4] __attribute__((unused)) = {0};
1783 MMC_SO()mmc_check_stackoverflow(threadData);
1784 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1785 // _out_txt has no default value.
1786 // _out_a_functionPrototypes has no default value.
1787#line 593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1788
1789#line 593 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1790
1791#line 1791 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1792 { /* match expression */
1793 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_string tmp4_3;modelica_metatype tmp4_4;modelica_string tmp4_5;modelica_string tmp4_6;
1794 tmp4_1 = _in_txt;
1795 tmp4_2 = _in_items;
1796 tmp4_3 = _in_a_omsiName;
1797 tmp4_4 = _in_a_functionPrototypes;
1798 tmp4_5 = _in_a_index;
1799 tmp4_6 = _in_a_modelName;
1800 {
1801 modelica_metatype _txt = NULL((void*)0);
1802 modelica_metatype _rest = NULL((void*)0);
1803 modelica_string _a_omsiName = NULL((void*)0);
1804 modelica_metatype _a_functionPrototypes = NULL((void*)0);
1805 modelica_string _a_index = NULL((void*)0);
1806 modelica_string _a_modelName = NULL((void*)0);
1807 modelica_metatype _i_col = NULL((void*)0);
1808 volatile mmc_switch_type tmp4;
1809 int tmp5;
1810 // _txt has no default value.
1811 // _rest has no default value.
1812 // _a_omsiName has no default value.
1813 // _a_functionPrototypes has no default value.
1814 // _a_index has no default value.
1815 // _a_modelName has no default value.
1816 // _i_col has no default value.
1817 tmp4 = 0;
1818 for (; tmp4 < 2; tmp4++) {
1819 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1820 case 0: {
1821 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1822
1823 _txt = tmp4_1;
1824 _a_functionPrototypes = tmp4_4;
1825 /* Pattern matching succeeded */
1826#line 610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1827 tmpMeta[0+0] = _txt;
1828#line 610 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1829 tmpMeta[0+1] = _a_functionPrototypes;
1830#line 1830 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1831 goto tmp3_done;
1832 }
1833 case 1: {
1834 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
1835 tmpMeta[2] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
1836 tmpMeta[3] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1837
1838 _i_col = tmpMeta[2];
1839 _rest = tmpMeta[3];
1840 _txt = tmp4_1;
1841 _a_omsiName = tmp4_3;
1842 _a_functionPrototypes = tmp4_4;
1843 _a_index = tmp4_5;
1844 _a_modelName = tmp4_6;
1845 /* Pattern matching succeeded */
1846#line 619 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1847 _txt = omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnFunction(threadData, _txt, _i_col, _a_modelName, _a_index, _a_functionPrototypes ,&_a_functionPrototypes);
1848#line 1848 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1849
1850#line 620 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1851 _txt = omc_Tpl_softNewLine(threadData, _txt);
1852#line 1852 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1853
1854#line 621 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1855 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
1856#line 1856 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1857
1858#line 622 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1859 _txt = omc_CodegenOMSIC__Equations_generateDereivativeMatrixColumnCall(threadData, _txt, _i_col, _a_modelName, _a_index, _a_functionPrototypes, _a_omsiName ,&_a_functionPrototypes);
1860#line 1860 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1861
1862#line 623 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1863 _txt = omc_Tpl_nextIter(threadData, _txt);
1864#line 1864 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1865#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1866 /* Tail recursive call */
1867#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1868 _in_txt = _txt;
1869#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1870 _in_items = _rest;
1871#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1872 _in_a_omsiName = _a_omsiName;
1873#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1874 _in_a_functionPrototypes = _a_functionPrototypes;
1875#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1876 _in_a_index = _a_index;
1877#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1878 _in_a_modelName = _a_modelName;
1879#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1880 goto _tailrecursive;
1881#line 624 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1882 /* TODO: Make sure any eventual dead code below is never generated */
1883#line 1883 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1884 goto tmp3_done;
1885 }
1886 }
1887 goto tmp3_end;
1888 tmp3_end: ;
1889 }
1890 goto goto_2;
1891 goto_2:;
1892 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
1893 goto tmp3_done;
1894 tmp3_done:;
1895 }
1896 }
1897 _out_txt = tmpMeta[0+0];
1898 _out_a_functionPrototypes = tmpMeta[0+1];
1899 _return: OMC_LABEL_UNUSED__attribute__((unused))
1900 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
1901 return _out_txt;
1902}
1903
1904DLLExport
1905modelica_metatype omc_CodegenOMSIC__Equations_generateMatrixColumnInitialization(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_column)
1906{
1907 modelica_metatype _out_txt = NULL((void*)0);
1908 modelica_metatype _l_body = NULL((void*)0);
1909 modelica_metatype _l_auxFunction = NULL((void*)0);
1910 modelica_metatype _l_varDecls = NULL((void*)0);
1911 MMC_SO()mmc_check_stackoverflow(threadData);
1912 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1913 // _out_txt has no default value.
1914 // _l_body has no default value.
1915 // _l_auxFunction has no default value.
1916 // _l_varDecls has no default value.
1917#line 576 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1918 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1919#line 1919 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1920
1921#line 577 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1922 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1923#line 1923 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1924
1925#line 578 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1926 _l_body = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
1927#line 1927 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1928
1929#line 579 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1930 _out_txt = omc_CodegenOMSIC__Equations_fun__60(threadData, _txt, _a_column, _l_auxFunction, _l_varDecls, _l_body ,&_l_auxFunction ,&_l_varDecls ,&_l_body);
1931#line 1931 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1932 _return: OMC_LABEL_UNUSED__attribute__((unused))
1933 return _out_txt;
1934}
1935
1936PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__60(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_column, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body)
1937{
1938 modelica_metatype _out_txt = NULL((void*)0);
1939 modelica_metatype _out_a_auxFunction = NULL((void*)0);
1940 modelica_metatype _out_a_varDecls = NULL((void*)0);
1941 modelica_metatype _out_a_body = NULL((void*)0);
1942 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
1943 MMC_SO()mmc_check_stackoverflow(threadData);
1944 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
1945 // _out_txt has no default value.
1946 // _out_a_auxFunction has no default value.
1947 // _out_a_varDecls has no default value.
1948 // _out_a_body has no default value.
1949#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1950
1951#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1952
1953#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1954
1955#line 536 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1956
1957#line 1957 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1958 { /* match expression */
1959 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;
1960 tmp4_1 = _in_txt;
1961 tmp4_2 = _in_a_column;
1962 tmp4_3 = _in_a_auxFunction;
1963 tmp4_4 = _in_a_varDecls;
1964 tmp4_5 = _in_a_body;
1965 {
1966 modelica_metatype _txt = NULL((void*)0);
1967 modelica_metatype _a_auxFunction = NULL((void*)0);
1968 modelica_metatype _a_varDecls = NULL((void*)0);
1969 modelica_metatype _a_body = NULL((void*)0);
1970 modelica_metatype _i_omsiFunction_context = NULL((void*)0);
1971 modelica_metatype _i_equations = NULL((void*)0);
1972 volatile mmc_switch_type tmp4;
1973 int tmp5;
1974 // _txt has no default value.
1975 // _a_auxFunction has no default value.
1976 // _a_varDecls has no default value.
1977 // _a_body has no default value.
1978 // _i_omsiFunction_context has no default value.
1979 // _i_equations has no default value.
1980 tmp4 = 0;
1981 for (; tmp4 < 2; tmp4++) {
1982 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
1983 case 0: {
1984 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
1985 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 7))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(7)))))
;
1986
1987 _txt = tmp4_1;
1988 _i_equations = tmpMeta[4];
1989 _i_omsiFunction_context = tmpMeta[5];
1990 _a_auxFunction = tmp4_3;
1991 _a_varDecls = tmp4_4;
1992 _a_body = tmp4_5;
1993 /* Pattern matching succeeded */
1994#line 553 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1995 omc_CodegenOMSIC__Equations_lm__59(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_equations, _i_omsiFunction_context, _a_auxFunction, _a_varDecls, _a_body ,&_a_auxFunction ,&_a_varDecls ,&_a_body);
1996#line 1996 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
1997
1998#line 554 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
1999 _txt = omc_Tpl_writeText(threadData, _txt, _a_body);
2000#line 2000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2001#line 555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2002 tmpMeta[0+0] = _txt;
2003#line 555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2004 tmpMeta[0+1] = _a_auxFunction;
2005#line 555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2006 tmpMeta[0+2] = _a_varDecls;
2007#line 555 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2008 tmpMeta[0+3] = _a_body;
2009#line 2009 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2010 goto tmp3_done;
2011 }
2012 case 1: {
2013
2014 _txt = tmp4_1;
2015 _a_auxFunction = tmp4_3;
2016 _a_varDecls = tmp4_4;
2017 _a_body = tmp4_5;
2018 /* Pattern matching succeeded */
2019#line 562 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2020 tmpMeta[0+0] = _txt;
2021#line 562 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2022 tmpMeta[0+1] = _a_auxFunction;
2023#line 562 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2024 tmpMeta[0+2] = _a_varDecls;
2025#line 562 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2026 tmpMeta[0+3] = _a_body;
2027#line 2027 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2028 goto tmp3_done;
2029 }
2030 }
2031 goto tmp3_end;
2032 tmp3_end: ;
2033 }
2034 goto goto_2;
2035 goto_2:;
2036 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2037 goto tmp3_done;
2038 tmp3_done:;
2039 }
2040 }
2041 _out_txt = tmpMeta[0+0];
2042 _out_a_auxFunction = tmpMeta[0+1];
2043 _out_a_varDecls = tmpMeta[0+2];
2044 _out_a_body = tmpMeta[0+3];
2045 _return: OMC_LABEL_UNUSED__attribute__((unused))
2046 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2047 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2048 if (out_out_a_body) { *out_out_a_body = _out_a_body; }
2049 return _out_txt;
2050}
2051
2052PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__59(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items, modelica_metatype _in_a_omsiFunction_context, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_body, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_body)
2053{
2054 modelica_metatype _out_txt = NULL((void*)0);
2055 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2056 modelica_metatype _out_a_varDecls = NULL((void*)0);
2057 modelica_metatype _out_a_body = NULL((void*)0);
2058 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2059 MMC_SO()mmc_check_stackoverflow(threadData);
2060 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2061 // _out_txt has no default value.
2062 // _out_a_auxFunction has no default value.
2063 // _out_a_varDecls has no default value.
2064 // _out_a_body has no default value.
2065#line 492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2066
2067#line 492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2068
2069#line 492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2070
2071#line 492 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2072
2073#line 2073 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2074 { /* match expression */
2075 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;modelica_metatype tmp4_6;
2076 tmp4_1 = _in_txt;
2077 tmp4_2 = _in_items;
2078 tmp4_3 = _in_a_omsiFunction_context;
2079 tmp4_4 = _in_a_auxFunction;
2080 tmp4_5 = _in_a_varDecls;
2081 tmp4_6 = _in_a_body;
2082 {
2083 modelica_metatype _txt = NULL((void*)0);
2084 modelica_metatype _rest = NULL((void*)0);
2085 modelica_metatype _a_omsiFunction_context = NULL((void*)0);
2086 modelica_metatype _a_auxFunction = NULL((void*)0);
2087 modelica_metatype _a_varDecls = NULL((void*)0);
2088 modelica_metatype _a_body = NULL((void*)0);
2089 modelica_metatype _i_eq = NULL((void*)0);
2090 volatile mmc_switch_type tmp4;
2091 int tmp5;
2092 // _txt has no default value.
2093 // _rest has no default value.
2094 // _a_omsiFunction_context has no default value.
2095 // _a_auxFunction has no default value.
2096 // _a_varDecls has no default value.
2097 // _a_body has no default value.
2098 // _i_eq has no default value.
2099 tmp4 = 0;
2100 for (; tmp4 < 2; tmp4++) {
2101 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2102 case 0: {
2103 if (!listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2104
2105 _txt = tmp4_1;
2106 _a_auxFunction = tmp4_4;
2107 _a_varDecls = tmp4_5;
2108 _a_body = tmp4_6;
2109 /* Pattern matching succeeded */
2110#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2111 tmpMeta[0+0] = _txt;
2112#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2113 tmpMeta[0+1] = _a_auxFunction;
2114#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2115 tmpMeta[0+2] = _a_varDecls;
2116#line 509 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2117 tmpMeta[0+3] = _a_body;
2118#line 2118 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2119 goto tmp3_done;
2120 }
2121 case 1: {
2122 if (listEmpty(tmp4_2)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp3_end;
2123 tmpMeta[4] = MMC_CAR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(1)))))
;
2124 tmpMeta[5] = MMC_CDR(tmp4_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(2)))))
;
2125
2126 _i_eq = tmpMeta[4];
2127 _rest = tmpMeta[5];
2128 _txt = tmp4_1;
2129 _a_omsiFunction_context = tmp4_3;
2130 _a_auxFunction = tmp4_4;
2131 _a_varDecls = tmp4_5;
2132 _a_body = tmp4_6;
2133 /* Pattern matching succeeded */
2134#line 518 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2135 _a_body = omc_CodegenOMSIC__Equations_equationCStr(threadData, _a_body, _i_eq, _a_varDecls, _a_auxFunction, _a_omsiFunction_context ,&_a_varDecls ,&_a_auxFunction);
2136#line 2136 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2137#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2138 /* Tail recursive call */
2139#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2140 _in_txt = _txt;
2141#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2142 _in_items = _rest;
2143#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2144 _in_a_omsiFunction_context = _a_omsiFunction_context;
2145#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2146 _in_a_auxFunction = _a_auxFunction;
2147#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2148 _in_a_varDecls = _a_varDecls;
2149#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2150 _in_a_body = _a_body;
2151#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2152 goto _tailrecursive;
2153#line 519 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2154 /* TODO: Make sure any eventual dead code below is never generated */
2155#line 2155 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2156 goto tmp3_done;
2157 }
2158 }
2159 goto tmp3_end;
2160 tmp3_end: ;
2161 }
2162 goto goto_2;
2163 goto_2:;
2164 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2165 goto tmp3_done;
2166 tmp3_done:;
2167 }
2168 }
2169 _out_txt = tmpMeta[0+0];
2170 _out_a_auxFunction = tmpMeta[0+1];
2171 _out_a_varDecls = tmpMeta[0+2];
2172 _out_a_body = tmpMeta[0+3];
2173 _return: OMC_LABEL_UNUSED__attribute__((unused))
2174 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2175 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2176 if (out_out_a_body) { *out_out_a_body = _out_a_body; }
2177 return _out_txt;
2178}
2179
2180DLLExport
2181modelica_metatype omc_CodegenOMSIC__Equations_generateMatrixInitialization(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_matrix)
2182{
2183 modelica_metatype _out_txt = NULL((void*)0);
2184 modelica_metatype _l_columnsString = NULL((void*)0);
2185 MMC_SO()mmc_check_stackoverflow(threadData);
2186 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2187 // _out_txt has no default value.
2188 // _l_columnsString has no default value.
2189#line 475 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2190 _l_columnsString = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2191#line 2191 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2192
2193#line 476 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2194 _out_txt = omc_CodegenOMSIC__Equations_fun__57(threadData, _txt, _a_matrix, _l_columnsString);
2195#line 2195 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2196 _return: OMC_LABEL_UNUSED__attribute__((unused))
2197 return _out_txt;
2198}
2199
2200PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__57(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_matrix, modelica_metatype _in_a_columnsString)
2201{
2202 modelica_metatype _out_txt = NULL((void*)0);
2203 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2204 MMC_SO()mmc_check_stackoverflow(threadData);
2205 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2206 // _out_txt has no default value.
2207#line 2207 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2208 { /* match expression */
2209 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_metatype tmp3_3;
2210 tmp3_1 = _in_txt;
2211 tmp3_2 = _in_a_matrix;
2212 tmp3_3 = _in_a_columnsString;
2213 {
2214 modelica_metatype _txt = NULL((void*)0);
2215 modelica_metatype _a_columnsString = NULL((void*)0);
2216 modelica_metatype _i_m_columns = NULL((void*)0);
2217 volatile mmc_switch_type tmp3;
2218 int tmp4;
2219 // _txt has no default value.
2220 // _a_columnsString has no default value.
2221 // _i_m_columns has no default value.
2222 tmp3 = 0;
2223 for (; tmp3 < 2; tmp3++) {
2224 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2225 case 0: {
2226 if (optionNone(tmp3_2)(0==((((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) &
(7)) == 5)) ? ((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3
)))) >> (3+3))) : (((*(mmc_uint_t*)((void*)((char*)(tmp3_2
) - 3)))) >> 10)) ? 1 : 0)
) goto tmp2_end;
2227 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 1))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2228 tmpMeta[2] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmpMeta[1]), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmpMeta[1]) - 3
))) + (2)))))
;
2229
2230 _i_m_columns = tmpMeta[2];
2231 _txt = tmp3_1;
2232 _a_columnsString = tmp3_3;
2233 /* Pattern matching succeeded */
2234#line 453 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2235 omc_CodegenOMSIC__Equations_lm__56(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_m_columns);
2236#line 2236 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2237
2238#line 454 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2239 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
2240#line 2240 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2241
2242#line 455 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2243 _txt = omc_Tpl_writeText(threadData, _txt, _a_columnsString);
2244#line 2244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2245
2246#line 456 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2247 _txt = omc_Tpl_softNewLine(threadData, _txt);
2248#line 2248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2249#line 457 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2250 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
2251#line 2251 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2252 goto tmp2_done;
2253 }
2254 case 1: {
2255
2256 _txt = tmp3_1;
2257 /* Pattern matching succeeded */
2258#line 463 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2259 tmpMeta[0] = _txt;
2260#line 2260 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2261 goto tmp2_done;
2262 }
2263 }
2264 goto tmp2_end;
2265 tmp2_end: ;
2266 }
2267 goto goto_1;
2268 goto_1:;
2269 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2270 goto tmp2_done;
2271 tmp2_done:;
2272 }
2273 }
2274 _out_txt = tmpMeta[0];
2275 _return: OMC_LABEL_UNUSED__attribute__((unused))
2276 return _out_txt;
2277}
2278
2279PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_lm__56(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_items)
2280{
2281 modelica_metatype _out_txt = NULL((void*)0);
2282 modelica_metatype tmpMeta[3] __attribute__((unused)) = {0};
2283 MMC_SO()mmc_check_stackoverflow(threadData);
2284 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2285 // _out_txt has no default value.
2286#line 2286 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2287 { /* match expression */
2288 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
2289 tmp3_1 = _in_txt;
2290 tmp3_2 = _in_items;
2291 {
2292 modelica_metatype _txt = NULL((void*)0);
2293 modelica_metatype _rest = NULL((void*)0);
2294 modelica_metatype _i_col = NULL((void*)0);
2295 volatile mmc_switch_type tmp3;
2296 int tmp4;
2297 // _txt has no default value.
2298 // _rest has no default value.
2299 // _i_col has no default value.
2300 tmp3 = 0;
2301 for (; tmp3 < 2; tmp3++) {
2302 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
2303 case 0: {
2304 if (!listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2305
2306 _txt = tmp3_1;
2307 /* Pattern matching succeeded */
2308#line 423 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2309 tmpMeta[0] = _txt;
2310#line 2310 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2311 goto tmp2_done;
2312 }
2313 case 1: {
2314 if (listEmpty(tmp3_2)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3))) == (((0) <<
10) + (((0) & 255) << 2)))
) goto tmp2_end;
2315 tmpMeta[1] = MMC_CAR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(1)))))
;
2316 tmpMeta[2] = MMC_CDR(tmp3_2)(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2317
2318 _i_col = tmpMeta[1];
2319 _rest = tmpMeta[2];
2320 _txt = tmp3_1;
2321 /* Pattern matching succeeded */
2322#line 428 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2323 omc_CodegenOMSIC__Equations_generateMatrixColumnInitialization(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_col);
2324#line 2324 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2325#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2326 /* Tail recursive call */
2327#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2328 _in_txt = _txt;
2329#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2330 _in_items = _rest;
2331#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2332 goto _tailrecursive;
2333#line 429 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2334 /* TODO: Make sure any eventual dead code below is never generated */
2335#line 2335 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2336 goto tmp2_done;
2337 }
2338 }
2339 goto tmp2_end;
2340 tmp2_end: ;
2341 }
2342 goto goto_1;
2343 goto_1:;
2344 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2345 goto tmp2_done;
2346 tmp2_done:;
2347 }
2348 }
2349 _out_txt = tmpMeta[0];
2350 _return: OMC_LABEL_UNUSED__attribute__((unused))
2351 return _out_txt;
2352}
2353
2354DLLExport
2355modelica_metatype omc_CodegenOMSIC__Equations_equationCall(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_string _a_modelNamePrefixStr, modelica_string _a_modelFunctionnamePrefixStr, modelica_string _a_input, modelica_string _a_omsiName)
2356{
2357 modelica_metatype _out_txt = NULL((void*)0);
2358 MMC_SO()mmc_check_stackoverflow(threadData);
2359 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2360 // _out_txt has no default value.
2361#line 404 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2362 _out_txt = omc_CodegenOMSIC__Equations_fun__54(threadData, _txt, _a_eq, _a_modelNamePrefixStr, _a_input, _a_omsiName);
2363#line 2363 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2364 _return: OMC_LABEL_UNUSED__attribute__((unused))
2365 return _out_txt;
2366}
2367
2368PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__54(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_string _in_a_modelNamePrefixStr, modelica_string _in_a_input, modelica_string _in_a_omsiName)
2369{
2370 modelica_metatype _out_txt = NULL((void*)0);
2371 modelica_metatype tmpMeta[2] __attribute__((unused)) = {0};
2372 MMC_SO()mmc_check_stackoverflow(threadData);
2373 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2374 // _out_txt has no default value.
2375#line 2375 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2376 { /* match expression */
2377 modelica_metatype tmp3_1;modelica_metatype tmp3_2;modelica_string tmp3_3;modelica_string tmp3_4;modelica_string tmp3_5;
2378 tmp3_1 = _in_txt;
2379 tmp3_2 = _in_a_eq;
2380 tmp3_3 = _in_a_modelNamePrefixStr;
2381 tmp3_4 = _in_a_input;
2382 tmp3_5 = _in_a_omsiName;
2383 {
2384 modelica_metatype _txt = NULL((void*)0);
2385 modelica_string _a_modelNamePrefixStr = NULL((void*)0);
2386 modelica_string _a_input = NULL((void*)0);
2387 modelica_string _a_omsiName = NULL((void*)0);
2388 modelica_integer _i_algSysIndex;
2389 modelica_integer _i_index;
2390 modelica_metatype _l_i = NULL((void*)0);
2391 int tmp3;
2392 // _txt has no default value.
2393 // _a_modelNamePrefixStr has no default value.
2394 // _a_input has no default value.
2395 // _a_omsiName has no default value.
2396 // _i_algSysIndex has no default value.
2397 // _i_index has no default value.
2398 // _l_i has no default value.
2399 {
2400 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
2401 case 4: {
2402 modelica_integer tmp4;
2403 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp2_end;
2404 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2405 tmp4 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2406
2407 _i_index = tmp4 /* pattern as ty=Integer */;
2408 _txt = tmp3_1;
2409 _a_modelNamePrefixStr = tmp3_3;
2410 _a_input = tmp3_4;
2411 /* Pattern matching succeeded */
2412#line 327 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2413 _l_i = omc_Tpl_writeStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), intString(_i_index));
2414#line 2414 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2415
2416#line 328 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2417 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)));
2418#line 2418 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2419
2420#line 329 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2421 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2422#line 2422 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2423
2424#line 330 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2425 _txt = omc_Tpl_writeText(threadData, _txt, _l_i);
2426#line 2426 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2427
2428#line 331 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2429 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2430#line 2430 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2431
2432#line 332 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2433 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2434#line 2434 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2435#line 333 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2436 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2437#line 2437 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2438 goto tmp2_done;
2439 }
2440 case 13: {
2441 modelica_integer tmp5;
2442 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp2_end;
2443 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2444 tmp5 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2445
2446 _i_index = tmp5 /* pattern as ty=Integer */;
2447 _txt = tmp3_1;
2448 _a_modelNamePrefixStr = tmp3_3;
2449 _a_input = tmp3_4;
2450 /* Pattern matching succeeded */
2451#line 342 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2452 _l_i = omc_Tpl_writeStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), intString(_i_index));
2453#line 2453 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2454
2455#line 343 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2456 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)));
2457#line 2457 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2458
2459#line 344 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2460 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2461#line 2461 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2462
2463#line 345 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2464 _txt = omc_Tpl_writeText(threadData, _txt, _l_i);
2465#line 2465 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2466
2467#line 346 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2468 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2469#line 2469 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2470
2471#line 347 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2472 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2473#line 2473 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2474#line 348 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2475 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2476#line 2476 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2477 goto tmp2_done;
2478 }
2479 case 3: {
2480 modelica_integer tmp6;
2481 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
2482 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 2))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(2)))))
;
2483 tmp6 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2484
2485 _i_index = tmp6 /* pattern as ty=Integer */;
2486 _txt = tmp3_1;
2487 _a_modelNamePrefixStr = tmp3_3;
2488 _a_input = tmp3_4;
2489 /* Pattern matching succeeded */
2490#line 357 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2491 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _OMC_LIT72((void*)((char*)(&(_OMC_LIT_STRUCT72).header) + 3)));
2492#line 2492 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2493
2494#line 358 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2495 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2496#line 2496 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2497
2498#line 359 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2499 _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_index));
2500#line 2500 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2501
2502#line 360 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2503 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2504#line 2504 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2505
2506#line 361 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2507 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2508#line 2508 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2509#line 362 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2510 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2511#line 2511 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2512 goto tmp2_done;
2513 }
2514 case 16: {
2515 modelica_integer tmp7;
2516 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
2517 tmpMeta[1] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp3_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp3_2) - 3))) +
(3)))))
;
2518 tmp7 = mmc_unbox_integer(tmpMeta[1])(((mmc_sint_t) (tmpMeta[1])) >> 1);
2519
2520 _i_algSysIndex = tmp7 /* pattern as ty=Integer */;
2521 _txt = tmp3_1;
2522 _a_modelNamePrefixStr = tmp3_3;
2523 _a_input = tmp3_4;
2524 _a_omsiName = tmp3_5;
2525 /* Pattern matching succeeded */
2526#line 371 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2527 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT74((void*)((char*)(&(_OMC_LIT_STRUCT74).header) + 3)));
2528#line 2528 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2529
2530#line 372 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2531 _txt = omc_CodegenUtil_symbolName(threadData, _txt, _a_modelNamePrefixStr, _a_omsiName);
2532#line 2532 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2533
2534#line 373 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2535 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT76((void*)((char*)(&(_OMC_LIT_STRUCT76).header) + 3)));
2536#line 2536 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2537
2538#line 374 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2539 _txt = omc_Tpl_writeStr(threadData, _txt, intString(_i_algSysIndex));
2540#line 2540 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2541
2542#line 375 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2543 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2544#line 2544 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2545
2546#line 376 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2547 _txt = omc_Tpl_writeStr(threadData, _txt, _a_input);
2548#line 2548 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2549#line 377 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2550 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT81((void*)((char*)(&(_OMC_LIT_STRUCT81).header) + 3)));
2551#line 2551 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2552 goto tmp2_done;
2553 }
2554 default:
2555 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
2556
2557 _txt = tmp3_1;
2558 /* Pattern matching succeeded */
2559#line 389 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2560 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT83((void*)((char*)(&(_OMC_LIT_STRUCT83).header) + 3)));
2561#line 2561 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2562 goto tmp2_done;
2563 }
2564 }
2565 goto tmp2_end;
2566 tmp2_end: ;
2567 }
2568 goto goto_1;
2569 goto_1:;
2570 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2571 goto tmp2_done;
2572 tmp2_done:;
2573 }
2574 }
2575 _out_txt = tmpMeta[0];
2576 _return: OMC_LABEL_UNUSED__attribute__((unused))
2577 return _out_txt;
2578}
2579
2580DLLExport
2581modelica_metatype omc_CodegenOMSIC__Equations_equationCStr(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_metatype _a_varDecls, modelica_metatype _a_auxFunction, modelica_metatype _a_context, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_auxFunction)
2582{
2583 modelica_metatype _out_txt = NULL((void*)0);
2584 modelica_metatype _out_a_varDecls = NULL((void*)0);
2585 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2586 modelica_metatype _l_preExp = NULL((void*)0);
2587 MMC_SO()mmc_check_stackoverflow(threadData);
2588 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2589 // _out_txt has no default value.
2590 // _out_a_varDecls has no default value.
2591 // _out_a_auxFunction has no default value.
2592 // _l_preExp has no default value.
2593#line 297 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2594 _l_preExp = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2595#line 2595 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2596
2597#line 298 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2598 _out_txt = omc_CodegenOMSIC__Equations_fun__52(threadData, _txt, _a_eq, _a_auxFunction, _a_varDecls, _l_preExp, _a_context ,&_out_a_auxFunction ,&_out_a_varDecls ,&_l_preExp);
2599#line 2599 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2600 _return: OMC_LABEL_UNUSED__attribute__((unused))
2601 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2602 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2603 return _out_txt;
2604}
2605
2606PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__52(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq, modelica_metatype _in_a_auxFunction, modelica_metatype _in_a_varDecls, modelica_metatype _in_a_preExp, modelica_metatype _in_a_context, modelica_metatype *out_out_a_auxFunction, modelica_metatype *out_out_a_varDecls, modelica_metatype *out_out_a_preExp)
2607{
2608 modelica_metatype _out_txt = NULL((void*)0);
2609 modelica_metatype _out_a_auxFunction = NULL((void*)0);
2610 modelica_metatype _out_a_varDecls = NULL((void*)0);
2611 modelica_metatype _out_a_preExp = NULL((void*)0);
2612 modelica_metatype tmpMeta[6] __attribute__((unused)) = {0};
2613 MMC_SO()mmc_check_stackoverflow(threadData);
2614 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2615 // _out_txt has no default value.
2616 // _out_a_auxFunction has no default value.
2617 // _out_a_varDecls has no default value.
2618 // _out_a_preExp has no default value.
2619#line 214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2620
2621#line 214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2622
2623#line 214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2624
2625#line 214 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2626
2627#line 2627 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2628 { /* match expression */
2629 modelica_metatype tmp4_1;modelica_metatype tmp4_2;modelica_metatype tmp4_3;modelica_metatype tmp4_4;modelica_metatype tmp4_5;modelica_metatype tmp4_6;
2630 tmp4_1 = _in_txt;
2631 tmp4_2 = _in_a_eq;
2632 tmp4_3 = _in_a_auxFunction;
2633 tmp4_4 = _in_a_varDecls;
2634 tmp4_5 = _in_a_preExp;
2635 tmp4_6 = _in_a_context;
2636 {
2637 modelica_metatype _txt = NULL((void*)0);
2638 modelica_metatype _a_auxFunction = NULL((void*)0);
2639 modelica_metatype _a_varDecls = NULL((void*)0);
2640 modelica_metatype _a_preExp = NULL((void*)0);
2641 modelica_metatype _a_context = NULL((void*)0);
2642 modelica_metatype _i_eq = NULL((void*)0);
2643 modelica_metatype _i_exp = NULL((void*)0);
2644 modelica_metatype _i_cref = NULL((void*)0);
2645 modelica_metatype _l_whenEq = NULL((void*)0);
2646 modelica_metatype _l_expPart = NULL((void*)0);
2647 modelica_metatype _l_crefStr = NULL((void*)0);
2648 volatile mmc_switch_type tmp4;
2649 int tmp5;
2650 // _txt has no default value.
2651 // _a_auxFunction has no default value.
2652 // _a_varDecls has no default value.
2653 // _a_preExp has no default value.
2654 // _a_context has no default value.
2655 // _i_eq has no default value.
2656 // _i_exp has no default value.
2657 // _i_cref has no default value.
2658 // _l_whenEq has no default value.
2659 // _l_expPart has no default value.
2660 // _l_crefStr has no default value.
2661 tmp4 = 0;
2662 for (; tmp4 < 4; tmp4++) {
2663 switch (MMC_SWITCH_CAST(tmp4)(tmp4)) {
2664 case 0: {
2665 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,1,5)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((5 +1) <<
10) + (((1 +3) & 255) << 2)))
== 0) goto tmp3_end;
2666 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2667 tmpMeta[5] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 4))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(4)))))
;
2668
2669 _i_cref = tmpMeta[4];
2670 _i_exp = tmpMeta[5];
2671 _txt = tmp4_1;
2672 _a_auxFunction = tmp4_3;
2673 _a_varDecls = tmp4_4;
2674 _a_preExp = tmp4_5;
2675 _a_context = tmp4_6;
2676 /* Pattern matching succeeded */
2677#line 236 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2678 _l_crefStr = omc_CodegenCFunctions_crefOMSI(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_cref, _a_context);
2679#line 2679 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2680
2681#line 237 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2682 _l_expPart = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_exp, _a_context, _a_preExp, _a_varDecls, _a_auxFunction ,&_a_preExp ,&_a_varDecls ,&_a_auxFunction);
2683#line 2683 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2684
2685#line 238 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2686 _txt = omc_Tpl_writeText(threadData, _txt, _a_preExp);
2687#line 2687 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2688
2689#line 239 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2690 _txt = omc_Tpl_softNewLine(threadData, _txt);
2691#line 2691 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2692
2693#line 240 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2694 _txt = omc_Tpl_writeText(threadData, _txt, _l_crefStr);
2695#line 2695 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2696
2697#line 241 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2698 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT17((void*)((char*)(&(_OMC_LIT_STRUCT17).header) + 3)));
2699#line 2699 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2700
2701#line 242 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2702 _txt = omc_Tpl_writeText(threadData, _txt, _l_expPart);
2703#line 2703 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2704
2705#line 243 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2706 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2707#line 2707 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2708#line 244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2709 tmpMeta[0+0] = _txt;
2710#line 244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2711 tmpMeta[0+1] = _a_auxFunction;
2712#line 244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2713 tmpMeta[0+2] = _a_varDecls;
2714#line 244 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2715 tmpMeta[0+3] = _a_preExp;
2716#line 2716 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2717 goto tmp3_done;
2718 }
2719 case 1: {
2720 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp3_end;
2721 tmpMeta[4] = MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(tmp4_2), 3))(*(void**)(((void*)((void**)(((void*)((char*)(tmp4_2) - 3))) +
(3)))))
;
2722
2723 _i_exp = tmpMeta[4];
2724 _txt = tmp4_1;
2725 _a_auxFunction = tmp4_3;
2726 _a_varDecls = tmp4_4;
2727 _a_preExp = tmp4_5;
2728 _a_context = tmp4_6;
2729 /* Pattern matching succeeded */
2730#line 253 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2731 _l_expPart = omc_CodegenCFunctions_daeExp(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_exp, _a_context, _a_preExp, _a_varDecls, _a_auxFunction ,&_a_preExp ,&_a_varDecls ,&_a_auxFunction);
2732#line 2732 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2733
2734#line 254 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2735 _txt = omc_Tpl_writeText(threadData, _txt, _a_preExp);
2736#line 2736 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2737
2738#line 255 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2739 _txt = omc_Tpl_softNewLine(threadData, _txt);
2740#line 2740 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2741
2742#line 256 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2743 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT85((void*)((char*)(&(_OMC_LIT_STRUCT85).header) + 3)));
2744#line 2744 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2745
2746#line 257 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2747 _txt = omc_Tpl_writeText(threadData, _txt, _l_expPart);
2748#line 2748 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2749
2750#line 258 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2751 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT19((void*)((char*)(&(_OMC_LIT_STRUCT19).header) + 3)));
2752#line 2752 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2753#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2754 tmpMeta[0+0] = _txt;
2755#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2756 tmpMeta[0+1] = _a_auxFunction;
2757#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2758 tmpMeta[0+2] = _a_varDecls;
2759#line 259 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2760 tmpMeta[0+3] = _a_preExp;
2761#line 2761 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2762 goto tmp3_done;
2763 }
2764 case 2: {
2765 if (mmc__uniontype__metarecord__typedef__equal(tmp4_2,10,7)((*(mmc_uint_t*)((void*)((char*)(tmp4_2) - 3)))==(((7 +1) <<
10) + (((10 +3) & 255) << 2)))
== 0) goto tmp3_end;
2766
2767 _i_eq = tmp4_2;
2768 _txt = tmp4_1;
2769 _a_auxFunction = tmp4_3;
2770 _a_varDecls = tmp4_4;
2771 _a_preExp = tmp4_5;
2772 _a_context = tmp4_6;
2773 /* Pattern matching succeeded */
2774#line 268 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2775 _l_whenEq = omc_CodegenOMSIC__Equations_equationWhen(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _i_eq, _a_context, _a_varDecls, _a_auxFunction ,&_a_varDecls ,&_a_auxFunction);
2776#line 2776 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2777
2778#line 269 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2779 _txt = omc_Tpl_writeText(threadData, _txt, _l_whenEq);
2780#line 2780 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2781#line 270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2782 tmpMeta[0+0] = _txt;
2783#line 270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2784 tmpMeta[0+1] = _a_auxFunction;
2785#line 270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2786 tmpMeta[0+2] = _a_varDecls;
2787#line 270 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2788 tmpMeta[0+3] = _a_preExp;
2789#line 2789 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2790 goto tmp3_done;
2791 }
2792 case 3: {
2793
2794 _txt = tmp4_1;
2795 _a_auxFunction = tmp4_3;
2796 _a_varDecls = tmp4_4;
2797 _a_preExp = tmp4_5;
2798 /* Pattern matching succeeded */
2799#line 279 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2800 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT87((void*)((char*)(&(_OMC_LIT_STRUCT87).header) + 3)));
2801#line 2801 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2802#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2803 tmpMeta[0+0] = _txt;
2804#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2805 tmpMeta[0+1] = _a_auxFunction;
2806#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2807 tmpMeta[0+2] = _a_varDecls;
2808#line 280 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2809 tmpMeta[0+3] = _a_preExp;
2810#line 2810 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2811 goto tmp3_done;
2812 }
2813 }
2814 goto tmp3_end;
2815 tmp3_end: ;
2816 }
2817 goto goto_2;
2818 goto_2:;
2819 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
2820 goto tmp3_done;
2821 tmp3_done:;
2822 }
2823 }
2824 _out_txt = tmpMeta[0+0];
2825 _out_a_auxFunction = tmpMeta[0+1];
2826 _out_a_varDecls = tmpMeta[0+2];
2827 _out_a_preExp = tmpMeta[0+3];
2828 _return: OMC_LABEL_UNUSED__attribute__((unused))
2829 if (out_out_a_auxFunction) { *out_out_a_auxFunction = _out_a_auxFunction; }
2830 if (out_out_a_varDecls) { *out_out_a_varDecls = _out_a_varDecls; }
2831 if (out_out_a_preExp) { *out_out_a_preExp = _out_a_preExp; }
2832 return _out_txt;
2833}
2834
2835DLLExport
2836modelica_metatype omc_CodegenOMSIC__Equations_generateEquationFunction(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_string _a_modelNamePrefixStr, modelica_string _a_modelFunctionnamePrefixStr, modelica_metatype _a_context, modelica_metatype _a_functionPrototypes, modelica_metatype *out_out_a_functionPrototypes)
2837{
2838 modelica_metatype _out_txt = NULL((void*)0);
2839 modelica_metatype _out_a_functionPrototypes = NULL((void*)0);
2840 modelica_boolean _ret_8;
2841 modelica_metatype _l_funcArguments = NULL((void*)0);
2842 modelica_metatype _l_funcName = NULL((void*)0);
2843 modelica_metatype _l_equationCode = NULL((void*)0);
2844 modelica_metatype _l_auxFunction = NULL((void*)0);
2845 modelica_metatype _l_varDecls = NULL((void*)0);
2846 modelica_metatype _ret_2 = NULL((void*)0);
2847 modelica_metatype _l_equationInfos = NULL((void*)0);
2848 modelica_metatype _l_ix = NULL((void*)0);
2849 MMC_SO()mmc_check_stackoverflow(threadData);
2850 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
2851 // _out_txt has no default value.
2852 // _out_a_functionPrototypes has no default value.
2853 // _ret_8 has no default value.
2854 // _l_funcArguments has no default value.
2855 // _l_funcName has no default value.
2856 // _l_equationCode has no default value.
2857 // _l_auxFunction has no default value.
2858 // _l_varDecls has no default value.
2859 // _ret_2 has no default value.
2860 // _l_equationInfos has no default value.
2861 // _l_ix has no default value.
2862#line 155 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2863 _l_ix = omc_CodegenUtilSimulation_equationIndex(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
2864#line 2864 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2865
2866#line 156 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2867 _ret_2 = omc_List_fill(threadData, _a_eq, ((modelica_integer) 1));
2868#line 2868 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2869
2870#line 157 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2871 _l_equationInfos = omc_CodegenUtilSimulation_dumpEqs(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _ret_2);
2872#line 2872 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2873
2874#line 158 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2875 _l_varDecls = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2876#line 2876 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2877
2878#line 159 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2879 _l_auxFunction = _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3));
2880#line 2880 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2881
2882#line 160 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2883 _l_equationCode = omc_CodegenOMSIC__Equations_equationCStr(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq, _l_varDecls, _l_auxFunction, _a_context ,&_l_varDecls ,&_l_auxFunction);
2884#line 2884 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2885
2886#line 161 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2887 _l_funcName = omc_CodegenOMSIC__Equations_fun__48(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
2888#line 2888 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2889
2890#line 162 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2891 _l_funcArguments = omc_CodegenOMSIC__Equations_fun__49(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
2892#line 2892 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2893
2894#line 163 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2895 _out_a_functionPrototypes = omc_Tpl_writeTok(threadData, _a_functionPrototypes, _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)));
2896#line 2896 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2897
2898#line 164 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2899 _out_a_functionPrototypes = omc_CodegenUtil_symbolName(threadData, _out_a_functionPrototypes, _a_modelNamePrefixStr, omc_Tpl_textString(threadData, _l_funcName));
2900#line 2900 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2901
2902#line 165 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2903 _out_a_functionPrototypes = omc_Tpl_writeTok(threadData, _out_a_functionPrototypes, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2904#line 2904 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2905
2906#line 166 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2907 _out_a_functionPrototypes = omc_Tpl_writeText(threadData, _out_a_functionPrototypes, _l_ix);
2908#line 2908 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2909
2910#line 167 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2911 _out_a_functionPrototypes = omc_Tpl_writeTok(threadData, _out_a_functionPrototypes, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2912#line 2912 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2913
2914#line 168 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2915 _out_a_functionPrototypes = omc_Tpl_writeText(threadData, _out_a_functionPrototypes, _l_funcArguments);
2916#line 2916 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2917
2918#line 169 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2919 _out_a_functionPrototypes = omc_Tpl_writeTok(threadData, _out_a_functionPrototypes, _OMC_LIT71((void*)((char*)(&(_OMC_LIT_STRUCT71).header) + 3)));
2920#line 2920 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2921
2922#line 170 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2923 _out_a_functionPrototypes = omc_Tpl_writeTok(threadData, _out_a_functionPrototypes, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
2924#line 2924 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2925
2926#line 171 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2927 _out_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT90((void*)((char*)(&(_OMC_LIT_STRUCT90).header) + 3)));
2928#line 2928 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2929
2930#line 172 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2931 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_equationInfos);
2932#line 2932 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2933
2934#line 173 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2935 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
2936#line 2936 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2937
2938#line 174 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2939 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT91((void*)((char*)(&(_OMC_LIT_STRUCT91).header) + 3)));
2940#line 2940 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2941
2942#line 175 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2943 _out_txt = omc_Tpl_pushBlock(threadData, _out_txt, _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)));
2944#line 2944 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2945
2946#line 176 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2947 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)));
2948#line 2948 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2949
2950#line 177 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2951 _out_txt = omc_CodegenUtil_symbolName(threadData, _out_txt, _a_modelNamePrefixStr, omc_Tpl_textString(threadData, _l_funcName));
2952#line 2952 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2953
2954#line 178 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2955 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
2956#line 2956 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2957
2958#line 179 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2959 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_ix);
2960#line 2960 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2961
2962#line 180 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2963 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT33((void*)((char*)(&(_OMC_LIT_STRUCT33).header) + 3)));
2964#line 2964 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2965
2966#line 181 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2967 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_funcArguments);
2968#line 2968 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2969
2970#line 182 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2971 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT95((void*)((char*)(&(_OMC_LIT_STRUCT95).header) + 3)));
2972#line 2972 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2973
2974#line 187 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2975 _out_txt = omc_Tpl_pushBlock(threadData, _out_txt, _OMC_LIT92((void*)((char*)(&(_OMC_LIT_STRUCT92).header) + 3)));
2976#line 2976 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2977
2978#line 188 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2979 _ret_8 = (stringEqual(omc_Tpl_textString(threadData, _l_varDecls), _OMC_LIT61)((((((*(mmc_uint_t*)((void*)((char*)(omc_Tpl_textString(threadData
, _l_varDecls)) - 3)))) >> (3)) - 8)) == (((((*(mmc_uint_t
*)((void*)((char*)(((void*)((char*)(&(_OMC_LIT_STRUCT61).
header) + 3))) - 3)))) >> (3)) - 8)) && !mmc_stringCompare
(omc_Tpl_textString(threadData, _l_varDecls),((void*)((char*)
(&(_OMC_LIT_STRUCT61).header) + 3))))
);
2980#line 2980 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2981
2982#line 189 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2983 _out_txt = omc_CodegenOMSIC__Equations_fun__50(threadData, _out_txt, _ret_8, _l_varDecls);
2984#line 2984 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2985
2986#line 190 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2987 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
2988#line 2988 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2989
2990#line 191 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2991 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_auxFunction);
2992#line 2992 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2993
2994#line 192 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2995 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
2996#line 2996 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
2997
2998#line 193 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
2999 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_equationCode);
3000#line 3000 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3001
3002#line 194 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3003 _out_txt = omc_Tpl_softNewLine(threadData, _out_txt);
3004#line 3004 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3005
3006#line 195 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3007 _out_txt = omc_Tpl_popBlock(threadData, _out_txt);
3008#line 3008 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3009
3010#line 196 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3011 _out_txt = omc_Tpl_popBlock(threadData, _out_txt);
3012#line 3012 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3013
3014#line 197 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3015 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT13((void*)((char*)(&(_OMC_LIT_STRUCT13).header) + 3)));
3016#line 3016 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3017
3018#line 198 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3019 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3020#line 3020 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3021 _return: OMC_LABEL_UNUSED__attribute__((unused))
3022 if (out_out_a_functionPrototypes) { *out_out_a_functionPrototypes = _out_a_functionPrototypes; }
3023 return _out_txt;
3024}
3025
3026PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_boolean _in_mArg, modelica_metatype _in_a_varDecls)
3027{
3028 modelica_metatype _out_txt = NULL((void*)0);
3029 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3030 MMC_SO()mmc_check_stackoverflow(threadData);
3031 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3032 // _out_txt has no default value.
3033#line 3033 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3034 { /* match expression */
3035 modelica_metatype tmp3_1;modelica_boolean tmp3_2;modelica_metatype tmp3_3;
3036 tmp3_1 = _in_txt;
3037 tmp3_2 = _in_mArg;
3038 tmp3_3 = _in_a_varDecls;
3039 {
3040 modelica_metatype _txt = NULL((void*)0);
3041 modelica_metatype _a_varDecls = NULL((void*)0);
3042 volatile mmc_switch_type tmp3;
3043 int tmp4;
3044 // _txt has no default value.
3045 // _a_varDecls has no default value.
3046 tmp3 = 0;
3047 for (; tmp3 < 2; tmp3++) {
3048 switch (MMC_SWITCH_CAST(tmp3)(tmp3)) {
3049 case 0: {
3050 if (0 != tmp3_2) goto tmp2_end;
3051
3052 _txt = tmp3_1;
3053 _a_varDecls = tmp3_3;
3054 /* Pattern matching succeeded */
3055#line 121 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3056 _txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT97((void*)((char*)(&(_OMC_LIT_STRUCT97).header) + 3)));
3057#line 3057 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3058
3059#line 122 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3060 _txt = omc_Tpl_writeText(threadData, _txt, _a_varDecls);
3061#line 3061 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3062
3063#line 123 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3064 _txt = omc_Tpl_softNewLine(threadData, _txt);
3065#line 3065 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3066#line 124 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3067 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3068#line 3068 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3069 goto tmp2_done;
3070 }
3071 case 1: {
3072
3073 _txt = tmp3_1;
3074 /* Pattern matching succeeded */
3075#line 130 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3076 tmpMeta[0] = _txt;
3077#line 3077 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3078 goto tmp2_done;
3079 }
3080 }
3081 goto tmp2_end;
3082 tmp2_end: ;
3083 }
3084 goto goto_1;
3085 goto_1:;
3086 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3087 goto tmp2_done;
3088 tmp2_done:;
3089 }
3090 }
3091 _out_txt = tmpMeta[0];
3092 _return: OMC_LABEL_UNUSED__attribute__((unused))
3093 return _out_txt;
3094}
3095PROTECTED_FUNCTION_STATIC modelica_metatype boxptr_CodegenOMSIC__Equations_fun__50(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_mArg, modelica_metatype _in_a_varDecls)
3096{
3097 modelica_integer tmp1;
3098 modelica_metatype _out_txt = NULL((void*)0);
3099 tmp1 = mmc_unbox_integer(_in_mArg)(((mmc_sint_t) (_in_mArg)) >> 1);
3100 _out_txt = omc_CodegenOMSIC__Equations_fun__50(threadData, _in_txt, tmp1, _in_a_varDecls);
3101 /* skip box _out_txt; Tpl.Text */
3102 return _out_txt;
3103}
3104
3105PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__49(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq)
3106{
3107 modelica_metatype _out_txt = NULL((void*)0);
3108 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3109 MMC_SO()mmc_check_stackoverflow(threadData);
3110 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3111 // _out_txt has no default value.
3112#line 3112 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3113 { /* match expression */
3114 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3115 tmp3_1 = _in_txt;
3116 tmp3_2 = _in_a_eq;
3117 {
3118 modelica_metatype _txt = NULL((void*)0);
3119 int tmp3;
3120 // _txt has no default value.
3121 {
3122 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
3123 case 3: {
3124 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3125
3126 _txt = tmp3_1;
3127 /* Pattern matching succeeded */
3128#line 87 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3129 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT99((void*)((char*)(&(_OMC_LIT_STRUCT99).header) + 3)));
3130#line 3130 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3131 goto tmp2_done;
3132 }
3133 case 16: {
3134 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
3135
3136 _txt = tmp3_1;
3137 /* Pattern matching succeeded */
3138#line 93 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3139 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)));
3140#line 3140 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3141 goto tmp2_done;
3142 }
3143 default:
3144 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3145
3146 _txt = tmp3_1;
3147 /* Pattern matching succeeded */
3148#line 99 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3149 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT101((void*)((char*)(&(_OMC_LIT_STRUCT101).header) + 3)));
3150#line 3150 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3151 goto tmp2_done;
3152 }
3153 }
3154 goto tmp2_end;
3155 tmp2_end: ;
3156 }
3157 goto goto_1;
3158 goto_1:;
3159 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3160 goto tmp2_done;
3161 tmp2_done:;
3162 }
3163 }
3164 _out_txt = tmpMeta[0];
3165 _return: OMC_LABEL_UNUSED__attribute__((unused))
3166 return _out_txt;
3167}
3168
3169PROTECTED_FUNCTION_STATIC modelica_metatype omc_CodegenOMSIC__Equations_fun__48(threadData_t *threadData, modelica_metatype _in_txt, modelica_metatype _in_a_eq)
3170{
3171 modelica_metatype _out_txt = NULL((void*)0);
3172 modelica_metatype tmpMeta[1] __attribute__((unused)) = {0};
3173 MMC_SO()mmc_check_stackoverflow(threadData);
3174 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3175 // _out_txt has no default value.
3176#line 3176 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3177 { /* match expression */
3178 modelica_metatype tmp3_1;modelica_metatype tmp3_2;
3179 tmp3_1 = _in_txt;
3180 tmp3_2 = _in_a_eq;
3181 {
3182 modelica_metatype _txt = NULL((void*)0);
3183 int tmp3;
3184 // _txt has no default value.
3185 {
3186 switch (MMC_SWITCH_CAST(valueConstructor(tmp3_2))(((((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))) >> 2
) & 255))
) {
3187 case 3: {
3188 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,0,4)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((4 +1) <<
10) + (((0 +3) & 255) << 2)))
== 0) goto tmp2_end;
3189
3190 _txt = tmp3_1;
3191 /* Pattern matching succeeded */
3192#line 56 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3193 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT102((void*)((char*)(&(_OMC_LIT_STRUCT102).header) + 3)));
3194#line 3194 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3195 goto tmp2_done;
3196 }
3197 case 16: {
3198 if (mmc__uniontype__metarecord__typedef__equal(tmp3_2,13,11)((*(mmc_uint_t*)((void*)((char*)(tmp3_2) - 3)))==(((11 +1) <<
10) + (((13 +3) & 255) << 2)))
== 0) goto tmp2_end;
3199
3200 _txt = tmp3_1;
3201 /* Pattern matching succeeded */
3202#line 62 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3203 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT104((void*)((char*)(&(_OMC_LIT_STRUCT104).header) + 3)));
3204#line 3204 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3205 goto tmp2_done;
3206 }
3207 default:
3208 tmp2_default: OMC_LABEL_UNUSED__attribute__((unused)); {
3209
3210 _txt = tmp3_1;
3211 /* Pattern matching succeeded */
3212#line 68 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3213 tmpMeta[0] = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT105((void*)((char*)(&(_OMC_LIT_STRUCT105).header) + 3)));
3214#line 3214 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3215 goto tmp2_done;
3216 }
3217 }
3218 goto tmp2_end;
3219 tmp2_end: ;
3220 }
3221 goto goto_1;
3222 goto_1:;
3223 MMC_THROW_INTERNAL(){longjmp(*threadData->mmc_jumper,1);};
3224 goto tmp2_done;
3225 tmp2_done:;
3226 }
3227 }
3228 _out_txt = tmpMeta[0];
3229 _return: OMC_LABEL_UNUSED__attribute__((unused))
3230 return _out_txt;
3231}
3232
3233DLLExport
3234modelica_metatype omc_CodegenOMSIC__Equations_equationFunctionPrototypes(threadData_t *threadData, modelica_metatype _txt, modelica_metatype _a_eq, modelica_string _a_modelNamePrefixStr)
3235{
3236 modelica_metatype _out_txt = NULL((void*)0);
3237 modelica_metatype _l_ix = NULL((void*)0);
3238 MMC_SO()mmc_check_stackoverflow(threadData);
3239 _tailrecursive: OMC_LABEL_UNUSED__attribute__((unused))
3240 // _out_txt has no default value.
3241 // _l_ix has no default value.
3242#line 33 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3243 _l_ix = omc_CodegenUtilSimulation_equationIndex(threadData, _OMC_LIT0((void*)((char*)(&(_OMC_LIT_STRUCT0).header) + 3)), _a_eq);
3244#line 3244 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3245
3246#line 34 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3247 _out_txt = omc_Tpl_writeTok(threadData, _txt, _OMC_LIT89((void*)((char*)(&(_OMC_LIT_STRUCT89).header) + 3)));
3248#line 3248 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3249
3250#line 35 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3251 _out_txt = omc_CodegenUtil_symbolName(threadData, _out_txt, _a_modelNamePrefixStr, _OMC_LIT67((void*)((char*)(&(_OMC_LIT_STRUCT67).header) + 3)));
3252#line 3252 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3253
3254#line 36 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3255 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT69((void*)((char*)(&(_OMC_LIT_STRUCT69).header) + 3)));
3256#line 3256 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3257
3258#line 37 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3259 _out_txt = omc_Tpl_writeText(threadData, _out_txt, _l_ix);
3260#line 3260 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3261
3262#line 38 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3263 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT107((void*)((char*)(&(_OMC_LIT_STRUCT107).header) + 3)));
3264#line 3264 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3265
3266#line 39 "/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/Template/CodegenOMSIC_Equations.mo"
3267 _out_txt = omc_Tpl_writeTok(threadData, _out_txt, _OMC_LIT1((void*)((char*)(&(_OMC_LIT_STRUCT1).header) + 3)));
3268#line 3268 OMC_FILE"/var/lib/jenkins1/ws/iodic_Jenkins.slow_omlib-staging/OMCompiler/Compiler/boot/build/tmp/CodegenOMSIC_Equations.c"
3269 _return: OMC_LABEL_UNUSED__attribute__((unused))
3270 return _out_txt;
3271}
3272