Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6057/0.6057, allocations: 95.62 MB / 110.6 MB, free: 9.379 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002278/0.002277, allocations: 169.9 kB / 134.2 MB, free: 2.277 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.772/1.772, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001812/0.001812, allocations: 115.3 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 19.98 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 61.52 MB / 0.512 GB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6606, allocations: 107.7 MB / 0.6171 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.661, allocations: 90.58 kB / 0.6172 GB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1655/0.8265, allocations: 58.88 MB / 0.6747 GB, free: 7.062 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8265, allocations: 0 / 0.6747 GB, free: 7.062 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003004/0.8268, allocations: 27.94 kB / 0.6747 GB, free: 7.035 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.005035/0.8319, allocations: 1.618 MB / 0.6763 GB, free: 5.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.832, allocations: 11.98 kB / 0.6763 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.8326, allocations: 158 kB / 0.6765 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004119/0.8368, allocations: 1.377 MB / 0.6778 GB, free: 3.758 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.8368, allocations: 28.98 kB / 0.6779 GB, free: 3.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.837, allocations: 36 kB / 0.6779 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.8379, allocations: 418.3 kB / 0.6783 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.8379, allocations: 0 / 0.6783 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.838, allocations: 19.98 kB / 0.6783 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.8381, allocations: 20.98 kB / 0.6783 GB, free: 3.238 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.8388, allocations: 407.6 kB / 0.6787 GB, free: 2.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/0.8435, allocations: 2.178 MB / 0.6808 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.8447, allocations: 0.4894 MB / 0.6813 GB, free: 12 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.8447, allocations: 4.281 kB / 0.6813 GB, free: 8 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.167e-05/0.8448, allocations: 46.78 kB / 0.6814 GB, free: 15.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.787e-06/0.8448, allocations: 0 / 0.6814 GB, free: 15.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.001398/0.8462, allocations: 0.5879 MB / 0.6819 GB, free: 15.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.8463, allocations: 63.34 kB / 0.682 GB, free: 15.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.8502, allocations: 1.836 MB / 0.6838 GB, free: 13.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.8503, allocations: 29.7 kB / 0.6838 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007269/0.851, allocations: 0.5699 MB / 0.6844 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.8512, allocations: 114.3 kB / 0.6845 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.8512, allocations: 4 kB / 0.6845 GB, free: 12.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8514, allocations: 321.9 kB / 0.6848 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.8516, allocations: 139.9 kB / 0.6849 GB, free: 12.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.8519, allocations: 181.4 kB / 0.6851 GB, free: 12.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.8522, allocations: 167.8 kB / 0.6853 GB, free: 11.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8522, allocations: 0 / 0.6853 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001031/0.8532, allocations: 488.1 kB / 0.6857 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.8533, allocations: 7.984 kB / 0.6857 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8533, allocations: 0 / 0.6857 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.8533, allocations: 4 kB / 0.6857 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.8537, allocations: 75.91 kB / 0.6858 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.8537, allocations: 3.984 kB / 0.6858 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.8544, allocations: 35.62 kB / 0.6859 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.8544, allocations: 12 kB / 0.6859 GB, free: 11.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.8556, allocations: 0.5677 MB / 0.6864 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.856, allocations: 138.2 kB / 0.6866 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.8564, allocations: 174.4 kB / 0.6867 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.8564, allocations: 4 kB / 0.6867 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8564, allocations: 0 / 0.6867 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8564, allocations: 0 / 0.6867 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.8593, allocations: 1.436 MB / 0.6881 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.8593, allocations: 0 / 0.6881 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.8596, allocations: 79.89 kB / 0.6882 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.8597, allocations: 4 kB / 0.6882 GB, free: 8.816 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.8597, allocations: 4 kB / 0.6882 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.8597, allocations: 4 kB / 0.6882 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8597, allocations: 0 / 0.6882 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.8606, allocations: 0.6323 MB / 0.6888 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.8617, allocations: 0.6007 MB / 0.6894 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/0.862, allocations: 8 kB / 0.6894 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.8626, allocations: 19.89 kB / 0.6894 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.8627, allocations: 19.92 kB / 0.6895 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.8627, allocations: 8 kB / 0.6895 GB, free: 7.406 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002809/0.8655, allocations: 1.43 MB / 0.6909 GB, free: 5.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8655, allocations: 0 / 0.6909 GB, free: 5.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001572/0.8671, allocations: 267.8 kB / 0.6911 GB, free: 5.719 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002638/0.8698, allocations: 0.861 MB / 0.692 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.8706, allocations: 325 kB / 0.6923 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.8706, allocations: 0 / 0.6923 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.871, allocations: 175.8 kB / 0.6924 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.8734, allocations: 477.2 kB / 0.6929 GB, free: 3.895 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.8802, allocations: 2.905 MB / 0.6957 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.8822, allocations: 1.545 MB / 0.6972 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001071/0.8833, allocations: 273.3 kB / 0.6975 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.8835, allocations: 67.44 kB / 0.6976 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/0.8835, allocations: 0 / 0.6976 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.04972/0.9332, allocations: 22.76 MB / 0.7198 GB, free: 8.348 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_InfraredRadiationGainDistribution -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_InfraredRadiationGainDistribution -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:652:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_n == ((modelica_integer) 0))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:652:10: note: remove extraneous parentheses around the comparison to silence this warning if((_n == ((modelica_integer) 0))) ~ ^ ~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:652:10: note: use '=' to turn this equality comparison into an assignment if((_n == ((modelica_integer) 0))) ^~ = Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:1019:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_r == ((modelica_integer) 0))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:1019:10: note: remove extraneous parentheses around the comparison to silence this warning if((_r == ((modelica_integer) 0))) ~ ^ ~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.c:1019:10: note: use '=' to turn this equality comparison into an assignment if((_r == ((modelica_integer) 0))) ^~ = 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_Rooms_BaseClasses_Examples_InfraredRadiationGainDistribution -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1135:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar5; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1136:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->__omcQ_24tmpVar4; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1135:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar5; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1136:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar4; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1144:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp17 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1144:18: error: no member named '_nLay' in 'struct base_array_s' tmp17 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1151:39: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar5,tmp18); ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1151:41: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar5,tmp18); ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:12: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:14: error: no member named '__omcQ_24tmpVar4' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:95: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.h:56:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:97: error: no member named '_layers' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.h:56:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:122: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~^~ . ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.h:56:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1159:124: error: no member named '_i' in 'struct base_array_s' ths->__omcQ_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_layers._material, 1, ths->_i)._nSta; ~~~ ^ ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_functions.h:56:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1160:43: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1160:45: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1160:81: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1160:83: error: no member named '__omcQ_24tmpVar4' in 'struct base_array_s' *(integer_array_element_addr1(&ths->__omcQ_24tmpVar5, 1, tmp13++)) = ths->__omcQ_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1167:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp14 = ths->__omcQ_24tmpVar5; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1167:18: error: no member named '__omcQ_24tmpVar5' in 'struct base_array_s' tmp14 = ths->__omcQ_24tmpVar5; ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.o] Error 1