Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001145, allocations: 162.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008224/0.0008224, allocations: 86.42 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.61e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6837/0.8939, allocations: 145.1 MB / 1.033 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.8942, allocations: 80.02 kB / 1.034 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1486/1.043, allocations: 43.2 MB / 1.076 GB, free: 312 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.472e-06/1.043, allocations: 4 kB / 1.076 GB, free: 308 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001134/1.043, allocations: 28 kB / 1.076 GB, free: 280 kB / 0.6823 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.002377/1.045, allocations: 1.428 MB / 1.077 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.045, allocations: 12.03 kB / 1.077 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/1.046, allocations: 181.8 kB / 1.077 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004454/1.05, allocations: 2.45 MB / 1.08 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/1.05, allocations: 66.94 kB / 1.08 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/1.051, allocations: 89.78 kB / 1.08 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/1.052, allocations: 0.6706 MB / 1.081 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.052, allocations: 0 / 1.081 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/1.052, allocations: 25 kB / 1.081 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/1.052, allocations: 12 kB / 1.081 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/1.052, allocations: 411.5 kB / 1.081 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/1.057, allocations: 4.079 MB / 1.085 GB, free: 8.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.059, allocations: 0.6737 MB / 1.086 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/1.059, allocations: 232.4 kB / 1.086 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/1.059, allocations: 0 / 1.086 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.059, allocations: 38.31 kB / 1.086 GB, free: 7.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/1.059, allocations: 0 / 1.086 GB, free: 7.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001277/1.06, allocations: 0.6735 MB / 1.087 GB, free: 6.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.06, allocations: 55.41 kB / 1.087 GB, free: 6.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.062, allocations: 1.531 MB / 1.088 GB, free: 5.602 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/1.062, allocations: 50.14 kB / 1.088 GB, free: 5.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/1.063, allocations: 0.6278 MB / 1.089 GB, free: 5.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/1.063, allocations: 149.4 kB / 1.089 GB, free: 5.098 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/1.063, allocations: 19.81 kB / 1.089 GB, free: 5.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.063, allocations: 359.2 kB / 1.089 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/1.064, allocations: 382.4 kB / 1.09 GB, free: 4.383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/1.065, allocations: 1.018 MB / 1.091 GB, free: 3.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/1.065, allocations: 0.5345 MB / 1.091 GB, free: 2.516 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.065, allocations: 4 kB / 1.091 GB, free: 2.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002415/1.068, allocations: 1.595 MB / 1.093 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.068, allocations: 16.44 kB / 1.093 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.068, allocations: 28 kB / 1.093 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/1.068, allocations: 177.6 kB / 1.093 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/1.069, allocations: 287.5 kB / 1.093 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003492/1.073, allocations: 3.721 MB / 1.097 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.075, allocations: 282.2 kB / 1.097 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/1.075, allocations: 64 kB / 1.097 GB, free: 12.06 MB / 0.7136 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 () * 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.0001908/1.075, allocations: 188.4 kB / 1.097 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/1.075, allocations: 150.2 kB / 1.097 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/1.076, allocations: 139.4 kB / 1.098 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.076, allocations: 4 kB / 1.098 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.076, allocations: 0 / 1.098 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.076, allocations: 7.938 kB / 1.098 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/1.077, allocations: 1.145 MB / 1.099 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.077, allocations: 0 / 1.099 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.078, allocations: 71.89 kB / 1.099 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/1.078, allocations: 162 kB / 1.099 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.078, allocations: 8 kB / 1.099 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/1.082, allocations: 3.682 MB / 1.103 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.082, allocations: 0 / 1.103 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.083, allocations: 1.019 MB / 1.104 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/1.084, allocations: 0.9639 MB / 1.104 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.084, allocations: 11.98 kB / 1.104 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009253/1.085, allocations: 107.8 kB / 1.105 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/1.085, allocations: 27.97 kB / 1.105 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/1.085, allocations: 11.98 kB / 1.105 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001615/1.087, allocations: 1.139 MB / 1.106 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/1.087, allocations: 0 / 1.106 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001635/1.089, allocations: 0.5542 MB / 1.106 GB, free: 2.191 MB / 0.7136 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 () * 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.0003984/1.089, allocations: 247 kB / 1.107 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.091, allocations: 1.107 MB / 1.108 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.091, allocations: 0 / 1.108 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/1.091, allocations: 0.4892 MB / 1.108 GB, free: 304 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.093, allocations: 356.7 kB / 1.108 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/1.096, allocations: 2.277 MB / 1.111 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.097, allocations: 1.391 MB / 1.112 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000789/1.098, allocations: 302.6 kB / 1.112 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/1.098, allocations: 83.44 kB / 1.112 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/1.098, allocations: 0 / 1.112 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of Templates: time 0.0324/1.131, allocations: 18.6 MB / 1.131 GB, free: 9.414 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar103; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar102; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar103; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar102; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:148:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = 0.0; /* defaultValue */ ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:95: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:114: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:36: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:58: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar103; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar105; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174: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_24tmpVar104; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar105; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar104; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:182: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:182:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:189: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_24tmpVar105,tmp14); ~~~^~ . Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:189:41: error: no member named '_D_24tmpVar105' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar105,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1