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.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 11.1 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 183.6 kB / 326.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0007749/0.0007748, allocations: 93.84 kB / 0.6822 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 9.562 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.3793, allocations: 145.2 MB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.3795, allocations: 83.95 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5757/0.9553, allocations: 43.16 MB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9553, allocations: 0.5 kB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001491/0.9554, allocations: 35.38 kB / 1.084 GB, free: 141.2 MB / 0.698 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.005087/0.9605, allocations: 2.097 MB / 1.086 GB, free: 140 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.9606, allocations: 9.094 kB / 1.086 GB, free: 140 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.9609, allocations: 185.7 kB / 1.086 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/0.9656, allocations: 2.505 MB / 1.089 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.9656, allocations: 65.83 kB / 1.089 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.9658, allocations: 95.06 kB / 1.089 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.9666, allocations: 0.6826 MB / 1.09 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.9667, allocations: 0 / 1.09 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.9667, allocations: 28.16 kB / 1.09 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.9667, allocations: 10.84 kB / 1.09 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.9673, allocations: 436.3 kB / 1.09 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.9712, allocations: 4.089 MB / 1.094 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.9726, allocations: 0.6772 MB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.9726, allocations: 1.188 kB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.9726, allocations: 41.28 kB / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.9726, allocations: 0 / 1.095 GB, free: 135.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001867/0.9745, allocations: 1.152 MB / 1.096 GB, free: 134.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.9746, allocations: 55.38 kB / 1.096 GB, free: 134.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.9761, allocations: 1.55 MB / 1.097 GB, free: 133.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.9761, allocations: 45.45 kB / 1.097 GB, free: 133.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.9765, allocations: 0.6347 MB / 1.098 GB, free: 133.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.9767, allocations: 143 kB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.9767, allocations: 26.41 kB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.9768, allocations: 348.2 kB / 1.099 GB, free: 132.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.9773, allocations: 396.2 kB / 1.099 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.978, allocations: 1.036 MB / 1.1 GB, free: 131.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006133/0.9786, allocations: 0.5307 MB / 1.101 GB, free: 130.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9786, allocations: 15.94 kB / 1.101 GB, free: 130.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001904/0.9805, allocations: 1.626 MB / 1.102 GB, free: 129.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.9805, allocations: 18.75 kB / 1.102 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.9806, allocations: 28 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.981, allocations: 189.5 kB / 1.102 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.9818, allocations: 287.5 kB / 1.103 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.9844, allocations: 3.775 MB / 1.106 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.986, allocations: 282.2 kB / 1.107 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.9861, allocations: 68 kB / 1.107 GB, free: 124.3 MB / 0.698 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.0007321/0.9868, allocations: 0.5228 MB / 1.107 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.9869, allocations: 142.1 kB / 1.107 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.9871, allocations: 139.2 kB / 1.107 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.9871, allocations: 7.984 kB / 1.107 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.9872, allocations: 4 kB / 1.107 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.9872, allocations: 0 / 1.107 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.9882, allocations: 1.149 MB / 1.109 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9882, allocations: 4 kB / 1.109 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.9885, allocations: 75.88 kB / 1.109 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.9889, allocations: 153.6 kB / 1.109 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.9889, allocations: 12 kB / 1.109 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.9915, allocations: 3.737 MB / 1.112 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9915, allocations: 4.062 kB / 1.112 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.9927, allocations: 1.041 MB / 1.113 GB, free: 116.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/0.9934, allocations: 0.9639 MB / 1.114 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9935, allocations: 19.94 kB / 1.114 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008464/0.9944, allocations: 111.8 kB / 1.115 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.9945, allocations: 27.91 kB / 1.115 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.9945, allocations: 8 kB / 1.115 GB, free: 115.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001255/0.9958, allocations: 1.159 MB / 1.116 GB, free: 114.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9958, allocations: 0 / 1.116 GB, free: 114.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001434/0.9972, allocations: 0.5503 MB / 1.116 GB, free: 114 MB / 0.698 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.000269/0.9975, allocations: 219.5 kB / 1.116 GB, free: 113.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.9989, allocations: 1.13 MB / 1.118 GB, free: 112.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9989, allocations: 1 kB / 1.118 GB, free: 112.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.9994, allocations: 0.5053 MB / 1.118 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.001, allocations: 362.4 kB / 1.118 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/1.004, allocations: 3.271 MB / 1.122 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/1.005, allocations: 1.391 MB / 1.123 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006761/1.005, allocations: 298.6 kB / 1.123 GB, free: 106.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.005, allocations: 79.44 kB / 1.123 GB, free: 106.6 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/1.005, allocations: 3.938 kB / 1.123 GB, free: 106.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02573/1.031, allocations: 17.98 MB / 1.141 GB, free: 88.85 MB / 0.698 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:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:131: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:134:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = 0.0; /* defaultValue */ ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:56: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:142: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:56: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:143:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:143:40: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:143:66: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:150:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar103; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:165: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:165: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:172: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:172: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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1