Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") translateModel(Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5954/0.5954, allocations: 95.61 MB / 110.6 MB, free: 9.383 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.001406/0.001406, allocations: 170.1 kB / 134.2 MB, free: 2.266 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.646/1.646, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001848/0.001848, allocations: 120.4 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1932, allocations: 61.54 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.459, allocations: 404.1 MB / 0.9066 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.46, allocations: 91.83 kB / 0.9067 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6524/2.112, allocations: 123.5 MB / 1.027 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.416e-06/2.112, allocations: 0 / 1.027 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002045/2.112, allocations: 31.94 kB / 1.027 GB, free: 123.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003093/2.115, allocations: 1.816 MB / 1.029 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/2.116, allocations: 15.98 kB / 1.029 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/2.116, allocations: 189.7 kB / 1.029 GB, free: 121 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/2.119, allocations: 1.665 MB / 1.031 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/2.119, allocations: 37 kB / 1.031 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/2.119, allocations: 40 kB / 1.031 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007933/2.119, allocations: 0.5912 MB / 1.032 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/2.119, allocations: 11.92 kB / 1.032 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/2.12, allocations: 24 kB / 1.032 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/2.12, allocations: 16 kB / 1.032 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/2.12, allocations: 429.3 kB / 1.032 GB, free: 118.1 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/2.124, allocations: 3.373 MB / 1.035 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/2.124, allocations: 228.6 kB / 1.036 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/2.124, allocations: 174.2 kB / 1.036 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/2.124, allocations: 30.56 kB / 1.036 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.236e-06/2.124, allocations: 0 / 1.036 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.003015/2.127, allocations: 1.5 MB / 1.037 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/2.127, allocations: 51.41 kB / 1.037 GB, free: 112.4 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/AirHeatMassBalanceMixed.mo:12:3-13:54:writable] Warning: Parameter air.homotopyInitialization has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/2.13, allocations: 2.078 MB / 1.039 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/2.13, allocations: 33.7 kB / 1.039 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/2.13, allocations: 0.7693 MB / 1.04 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/2.13, allocations: 86.83 kB / 1.04 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/2.13, allocations: 12 kB / 1.04 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/2.13, allocations: 329.9 kB / 1.04 GB, free: 109 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/2.131, allocations: 108.8 kB / 1.041 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/2.131, allocations: 314 kB / 1.041 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/2.131, allocations: 175.8 kB / 1.041 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/2.131, allocations: 4 kB / 1.041 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008513/2.132, allocations: 0.7449 MB / 1.042 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/2.132, allocations: 4 kB / 1.042 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.132, allocations: 8.875 kB / 1.042 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/2.132, allocations: 85.67 kB / 1.042 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/2.133, allocations: 91.83 kB / 1.042 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/2.134, allocations: 3.001 MB / 1.045 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/2.135, allocations: 27.89 kB / 1.045 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/2.135, allocations: 20 kB / 1.045 GB, free: 104.1 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: air.vol.dynBal.medium.T:VARIABLE(min = max(273.15, 273.15) max = min(373.15, 373.15) start = air.vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real air.vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = air.vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009683/2.136, allocations: 0.6286 MB / 1.046 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/2.136, allocations: 169.8 kB / 1.046 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/2.137, allocations: 0.5446 MB / 1.046 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/2.137, allocations: 0 / 1.046 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/2.137, allocations: 4 kB / 1.046 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/2.137, allocations: 3.984 kB / 1.046 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/2.139, allocations: 1.545 MB / 1.048 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.139, allocations: 4 kB / 1.048 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/2.139, allocations: 39.97 kB / 1.048 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/2.139, allocations: 69.61 kB / 1.048 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/2.139, allocations: 11.98 kB / 1.048 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/2.141, allocations: 2.99 MB / 1.051 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.141, allocations: 0 / 1.051 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/2.142, allocations: 0.7693 MB / 1.052 GB, free: 96.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/2.143, allocations: 0.6005 MB / 1.052 GB, free: 96.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/2.143, allocations: 8 kB / 1.052 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/2.143, allocations: 16.05 kB / 1.052 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/2.144, allocations: 19.92 kB / 1.052 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/2.144, allocations: 12 kB / 1.052 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002274/2.146, allocations: 1.611 MB / 1.054 GB, free: 94.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.146, allocations: 3.938 kB / 1.054 GB, free: 94.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001289/2.147, allocations: 315.8 kB / 1.054 GB, free: 94.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (air.vol.dynBal.medium.p,air.vol.dynBal.medium.T) * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/2.148, allocations: 0.9443 MB / 1.055 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008876/2.149, allocations: 0.5339 MB / 1.055 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.149, allocations: 0 / 1.055 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/2.15, allocations: 349.3 kB / 1.056 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/2.153, allocations: 0.6747 MB / 1.056 GB, free: 91.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/2.158, allocations: 3.373 MB / 1.06 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/2.159, allocations: 1.619 MB / 1.061 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001126/2.16, allocations: 275.8 kB / 1.062 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/2.161, allocations: 87.42 kB / 1.062 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.233e-06/2.161, allocations: 0 / 1.062 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.04765/2.208, allocations: 28.9 MB / 1.09 GB, free: 57.37 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.makefile make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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_AirHeatMassBalance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance.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_AirHeatMassBalance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_functions.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_functions.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_AirHeatMassBalance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.o Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c:1620:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar5; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c:1621: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.AirHeatMassBalance_records.c:1620:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar5; ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c:1621:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar4; ^ ; Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c:1629: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.AirHeatMassBalance_records.c:1629:18: error: no member named '_nLay' in 'struct base_array_s' tmp17 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.AirHeatMassBalance_records.c:1636: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.AirHeatMassBalance_records.c:1636: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_functions.h:121: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_functions.h:121: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_functions.h:121: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.AirHeatMassBalance_records.c:1644: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.AirHeatMassBalance_functions.h:121: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.AirHeatMassBalance_records.c:1645: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.AirHeatMassBalance_records.c:1645: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.AirHeatMassBalance_records.c:1645: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.AirHeatMassBalance_records.c:1645: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.AirHeatMassBalance_records.c:1652: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.AirHeatMassBalance_records.c:1652: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.AirHeatMassBalance_records.o] Error 1