Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.666/1.666, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009823/0.0009826, allocations: 182.7 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008498/0.0008494, allocations: 99.25 kB / 0.7808 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004338, allocations: 13.66 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7326, allocations: 120.3 MB / 1.026 GB, free: 56.96 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.9633, allocations: 154.7 MB / 1.177 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.9636, allocations: 82.56 kB / 1.177 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.146/1.11, allocations: 43.6 MB / 1.22 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.733e-06/1.11, allocations: 0 / 1.22 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002851/1.11, allocations: 39.88 kB / 1.22 GB, free: 7.66 MB / 0.7917 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.007338/1.117, allocations: 2.075 MB / 1.222 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.117, allocations: 16.03 kB / 1.222 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.119, allocations: 178.8 kB / 1.222 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006976/1.126, allocations: 2.553 MB / 1.225 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-05/1.126, allocations: 65.69 kB / 1.225 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/1.126, allocations: 92.38 kB / 1.225 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.127, allocations: 0.6882 MB / 1.226 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.127, allocations: 192 / 1.226 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/1.128, allocations: 31.94 kB / 1.226 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.128, allocations: 12 kB / 1.226 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/1.128, allocations: 427.5 kB / 1.226 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/1.135, allocations: 4.089 MB / 1.23 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.137, allocations: 0.6831 MB / 1.231 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/1.137, allocations: 232.7 kB / 1.231 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/1.137, allocations: 7.938 kB / 1.231 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.137, allocations: 34.56 kB / 1.231 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/1.137, allocations: 0 / 1.231 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.002625/1.14, allocations: 1.163 MB / 1.232 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.14, allocations: 59.39 kB / 1.232 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.143, allocations: 1.746 MB / 1.234 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/1.143, allocations: 45.7 kB / 1.234 GB, free: 9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/1.144, allocations: 0.6312 MB / 1.235 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/1.144, allocations: 134 kB / 1.235 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/1.144, allocations: 28 kB / 1.235 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.144, allocations: 353.9 kB / 1.235 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/1.145, allocations: 390.3 kB / 1.235 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.146, allocations: 1.045 MB / 1.236 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/1.148, allocations: 1.421 MB / 1.238 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/1.148, allocations: 11.94 kB / 1.238 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003165/1.151, allocations: 1.63 MB / 1.239 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.151, allocations: 12 kB / 1.239 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/1.151, allocations: 24 kB / 1.239 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/1.152, allocations: 193.6 kB / 1.24 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/1.153, allocations: 275.5 kB / 1.24 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/1.157, allocations: 3.721 MB / 1.244 GB, free: 14.22 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.159, allocations: 290.2 kB / 1.244 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/1.159, allocations: 64 kB / 1.244 GB, free: 13.87 MB / 0.823 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.001089/1.16, allocations: 0.5165 MB / 1.244 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.161, allocations: 146 kB / 1.244 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/1.161, allocations: 147.2 kB / 1.245 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.161, allocations: 4 kB / 1.245 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.161, allocations: 0 / 1.245 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.161, allocations: 4 kB / 1.245 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.163, allocations: 1.145 MB / 1.246 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.163, allocations: 0 / 1.246 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/1.164, allocations: 71.94 kB / 1.246 GB, free: 11.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/1.164, allocations: 157.5 kB / 1.246 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/1.164, allocations: 15.98 kB / 1.246 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/1.168, allocations: 3.678 MB / 1.25 GB, free: 7.652 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.168, allocations: 0 / 1.25 GB, free: 7.652 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.17, allocations: 1.05 MB / 1.251 GB, free: 6.578 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.171, allocations: 0.9639 MB / 1.252 GB, free: 5.469 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/1.171, allocations: 16 kB / 1.252 GB, free: 5.453 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.173, allocations: 111.7 kB / 1.252 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.173, allocations: 35.89 kB / 1.252 GB, free: 5.309 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.173, allocations: 8 kB / 1.252 GB, free: 5.301 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002256/1.175, allocations: 1.155 MB / 1.253 GB, free: 4.152 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/1.175, allocations: 0 / 1.253 GB, free: 4.152 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002165/1.177, allocations: 0.5542 MB / 1.253 GB, free: 3.598 MB / 0.823 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.0004623/1.178, allocations: 225.7 kB / 1.254 GB, free: 3.375 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002139/1.18, allocations: 1.116 MB / 1.255 GB, free: 2.238 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.18, allocations: 4.125 kB / 1.255 GB, free: 2.234 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/1.181, allocations: 0.5087 MB / 1.255 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/1.183, allocations: 354.2 kB / 1.256 GB, free: 1.355 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/1.188, allocations: 3.265 MB / 1.259 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.19, allocations: 1.368 MB / 1.26 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00109/1.191, allocations: 298.6 kB / 1.26 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/1.191, allocations: 83.38 kB / 1.26 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of SimCode: time 8.01e-07/1.191, allocations: 0 / 1.26 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.03488/1.226, allocations: 18.25 MB / 1.278 GB, free: 10.29 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1