Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 293 MB / 309 MB, free: 4.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009545/0.0009545, allocations: 180.3 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 0.6383 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008152/0.0008153, allocations: 88.39 kB / 0.7527 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7047/0.9679, allocations: 152.6 MB / 1.139 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.9683, allocations: 82.17 kB / 1.139 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1366/1.105, allocations: 43.24 MB / 1.182 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.505e-06/1.105, allocations: 0 / 1.182 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002398/1.105, allocations: 32 kB / 1.182 GB, free: 1.664 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.006927/1.112, allocations: 2.082 MB / 1.184 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.112, allocations: 12.69 kB / 1.184 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/1.113, allocations: 186.7 kB / 1.184 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/1.12, allocations: 2.542 MB / 1.186 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/1.12, allocations: 69.67 kB / 1.187 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/1.12, allocations: 88.38 kB / 1.187 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.122, allocations: 0.6882 MB / 1.187 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.122, allocations: 192 / 1.187 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/1.122, allocations: 32.44 kB / 1.187 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.122, allocations: 12 kB / 1.187 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/1.123, allocations: 431.5 kB / 1.188 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/1.129, allocations: 4.089 MB / 1.192 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.13, allocations: 0.6829 MB / 1.192 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/1.131, allocations: 236.7 kB / 1.193 GB, free: 6.133 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/1.131, allocations: 4.562 kB / 1.193 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.131, allocations: 35.19 kB / 1.193 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 3.366e-06/1.131, allocations: 0 / 1.193 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.002516/1.133, allocations: 1.166 MB / 1.194 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/1.133, allocations: 59.41 kB / 1.194 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/1.136, allocations: 1.739 MB / 1.196 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/1.136, allocations: 50.64 kB / 1.196 GB, free: 3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/1.137, allocations: 0.6312 MB / 1.196 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/1.137, allocations: 134.1 kB / 1.196 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/1.137, allocations: 20 kB / 1.196 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.138, allocations: 357.9 kB / 1.197 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/1.138, allocations: 390.3 kB / 1.197 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.139, allocations: 1.045 MB / 1.198 GB, free: 112 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.141, allocations: 1.429 MB / 1.199 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/1.141, allocations: 7.938 kB / 1.199 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003223/1.144, allocations: 1.63 MB / 1.201 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/1.144, allocations: 17.03 kB / 1.201 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-05/1.145, allocations: 22.19 kB / 1.201 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/1.145, allocations: 193.7 kB / 1.201 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/1.146, allocations: 271.5 kB / 1.202 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0044/1.151, allocations: 3.726 MB / 1.205 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.153, allocations: 286.2 kB / 1.205 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.153, allocations: 68 kB / 1.206 GB, free: 7.875 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (135): * Single equations (assignments): 133 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001041/1.154, allocations: 0.5127 MB / 1.206 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/1.154, allocations: 146 kB / 1.206 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004465/1.155, allocations: 151.1 kB / 1.206 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.155, allocations: 4 kB / 1.206 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.155, allocations: 4.562 kB / 1.206 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.155, allocations: 3.984 kB / 1.206 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/1.157, allocations: 1.141 MB / 1.207 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.157, allocations: 0 / 1.207 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/1.157, allocations: 75.94 kB / 1.208 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/1.158, allocations: 155.5 kB / 1.208 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/1.158, allocations: 16.73 kB / 1.208 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/1.162, allocations: 3.679 MB / 1.211 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.162, allocations: 0 / 1.211 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/1.163, allocations: 1.046 MB / 1.212 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.165, allocations: 0.9712 MB / 1.213 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.165, allocations: 11.94 kB / 1.213 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.166, allocations: 107.8 kB / 1.213 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/1.166, allocations: 35.89 kB / 1.213 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/1.166, allocations: 12.75 kB / 1.213 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002168/1.168, allocations: 1.151 MB / 1.215 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 0 / 1.215 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002035/1.17, allocations: 0.5543 MB / 1.215 GB, free: 13.62 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],con2.T[1],con2.T[2]) * 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 (25): * Single equations (assignments): 23 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/1.171, allocations: 213.8 kB / 1.215 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.173, allocations: 1.132 MB / 1.216 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.173, allocations: 4.125 kB / 1.216 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/1.174, allocations: 0.5049 MB / 1.217 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.176, allocations: 353.5 kB / 1.217 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/1.181, allocations: 3.27 MB / 1.22 GB, free: 8.098 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.182, allocations: 1.369 MB / 1.222 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009918/1.183, allocations: 295.6 kB / 1.222 GB, free: 6.402 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.184, allocations: 83.42 kB / 1.222 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of SimCode: time 9.52e-07/1.184, allocations: 0 / 1.222 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of Templates: time 0.03577/1.219, allocations: 18.24 MB / 1.24 GB, free: 4.305 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient -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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient -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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient -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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:133:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:136:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = 0.0; /* defaultValue */ ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:144:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:144:99: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:54:158: 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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:144:118: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:54:221: 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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:145:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:145:40: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:145:66: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:152:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar103; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159: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_24tmpVar104; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:167:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp13 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:167:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174: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_24tmpVar105,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174:41: error: no member named '__omcQ_24tmpVar105' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar105,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1