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.538/0.538, allocations: 94.69 MB / 107.2 MB, free: 5.188 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.00117/0.00117, allocations: 180.8 kB / 130.7 MB, free: 7.547 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.687/1.687, allocations: 170.5 MB / 324.5 MB, free: 4.062 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.001622/0.001622, allocations: 104.8 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.59e-05/6.632e-05, allocations: 7.938 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5719, allocations: 61.51 MB / 0.5054 GB, free: 49.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.7542, allocations: 107.6 MB / 0.6105 GB, free: 3.977 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.7547, allocations: 83.95 kB / 0.6105 GB, free: 3.895 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1696/0.9243, allocations: 58.8 MB / 0.668 GB, free: 9.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9244, allocations: 0 / 0.668 GB, free: 9.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.9246, allocations: 27.94 kB / 0.668 GB, free: 9.203 MB / 490.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.002115/0.9267, allocations: 1.211 MB / 0.6692 GB, free: 7.938 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.9268, allocations: 8.031 kB / 0.6692 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.927, allocations: 162 kB / 0.6693 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.9297, allocations: 1.361 MB / 0.6707 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.9297, allocations: 28.77 kB / 0.6707 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.9298, allocations: 36 kB / 0.6707 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007927/0.9306, allocations: 419.5 kB / 0.6711 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9306, allocations: 0 / 0.6711 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.9307, allocations: 27.97 kB / 0.6711 GB, free: 5.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.9307, allocations: 20.77 kB / 0.6712 GB, free: 5.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.9314, allocations: 394.9 kB / 0.6715 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.935, allocations: 2.173 MB / 0.6737 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.9362, allocations: 493.2 kB / 0.6741 GB, free: 2.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.9365, allocations: 203 kB / 0.6743 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.9365, allocations: 4.281 kB / 0.6743 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.9366, allocations: 38.84 kB / 0.6744 GB, free: 2.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.497e-06/0.9366, allocations: 0 / 0.6744 GB, free: 2.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009239/0.9375, allocations: 473.6 kB / 0.6748 GB, free: 1.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.9376, allocations: 60.47 kB / 0.6749 GB, free: 1.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/0.9403, allocations: 1.811 MB / 0.6766 GB, free: 24 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.9403, allocations: 29.7 kB / 0.6767 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.9409, allocations: 0.5776 MB / 0.6772 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9411, allocations: 110.3 kB / 0.6773 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.9411, allocations: 8 kB / 0.6773 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9413, allocations: 325.9 kB / 0.6777 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.9415, allocations: 131.9 kB / 0.6778 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.9418, allocations: 171.2 kB / 0.6779 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.9421, allocations: 168.3 kB / 0.6781 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9421, allocations: 0 / 0.6781 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007243/0.9428, allocations: 483.5 kB / 0.6786 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.9429, allocations: 10.42 kB / 0.6786 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9429, allocations: 4.031 kB / 0.6786 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.9429, allocations: 4 kB / 0.6786 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.9434, allocations: 79.89 kB / 0.6787 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9434, allocations: 0 / 0.6787 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.9439, allocations: 35.59 kB / 0.6787 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.944, allocations: 4 kB / 0.6787 GB, free: 13.88 MB / 0.4948 GB 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 () * 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.0001428/0.9441, allocations: 128.7 kB / 0.6788 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.9443, allocations: 142.2 kB / 0.679 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.9446, allocations: 174.5 kB / 0.6791 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.9446, allocations: 4 kB / 0.6791 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9447, allocations: 0 / 0.6791 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.9447, allocations: 3.984 kB / 0.6791 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.9468, allocations: 1.413 MB / 0.6805 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9468, allocations: 0 / 0.6805 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.9471, allocations: 79.98 kB / 0.6806 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.9471, allocations: 8 kB / 0.6806 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.9472, allocations: 8 kB / 0.6806 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.9472, allocations: 4 kB / 0.6806 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.9472, allocations: 3.984 kB / 0.6806 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009092/0.9481, allocations: 0.6327 MB / 0.6812 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/0.9489, allocations: 0.5968 MB / 0.6818 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.949, allocations: 8 kB / 0.6818 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.9494, allocations: 11.91 kB / 0.6818 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.9495, allocations: 19.97 kB / 0.6819 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.9495, allocations: 8 kB / 0.6819 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002292/0.9518, allocations: 1.423 MB / 0.6832 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9518, allocations: 3.938 kB / 0.6833 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001131/0.9529, allocations: 263.7 kB / 0.6835 GB, free: 8.773 MB / 0.4948 GB 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 () * 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.001742/0.9547, allocations: 0.874 MB / 0.6844 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006931/0.9554, allocations: 315.7 kB / 0.6847 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.9554, allocations: 4 kB / 0.6847 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.9557, allocations: 171.8 kB / 0.6848 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.9577, allocations: 483.7 kB / 0.6853 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.9617, allocations: 2.12 MB / 0.6874 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.9631, allocations: 1.549 MB / 0.6889 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008266/0.9639, allocations: 266 kB / 0.6891 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.9641, allocations: 67.44 kB / 0.6892 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of SimCode: time 7.023e-06/0.9641, allocations: 4 kB / 0.6892 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of Templates: time 0.4082/1.372, allocations: 24.07 MB / 0.7127 GB, free: 120.5 MB / 0.4948 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:1330:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar5; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1331:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->_D_24tmpVar4; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1330:19: note: previous definition is here integer_array ths->_D_24tmpVar5; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1331:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar4; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1339: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:1339: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:1346: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->_D_24tmpVar5,tmp18); ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1346:41: error: no member named '_D_24tmpVar5' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar5,tmp18); ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1354:12: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_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:1354:14: error: no member named '_D_24tmpVar4' in 'struct base_array_s' ths->_D_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:1354:91: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_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:53: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:1354:93: error: no member named '_layers' in 'struct base_array_s' ths->_D_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:53: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:1354:118: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_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:53: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:1354:120: error: no member named '_i' in 'struct base_array_s' ths->_D_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:53: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:1355: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->_D_24tmpVar5, 1, tmp13++)) = ths->_D_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1355:45: error: no member named '_D_24tmpVar5' in 'struct base_array_s' *(integer_array_element_addr1(&ths->_D_24tmpVar5, 1, tmp13++)) = ths->_D_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1355:77: 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->_D_24tmpVar5, 1, tmp13++)) = ths->_D_24tmpVar4; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1355:79: error: no member named '_D_24tmpVar4' in 'struct base_array_s' *(integer_array_element_addr1(&ths->_D_24tmpVar5, 1, tmp13++)) = ths->_D_24tmpVar4; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1362:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp14 = ths->_D_24tmpVar5; ~~~^~ . Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.InfraredRadiationGainDistribution_records.c:1362:18: error: no member named '_D_24tmpVar5' in 'struct base_array_s' tmp14 = ths->_D_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