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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001255/0.001255, allocations: 181 kB / 371.6 MB, free: 3.406 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.58/1.58, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008479/0.0008479, allocations: 95.52 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.527e-05, allocations: 3.984 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2751, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8739/1.149, allocations: 152.4 MB / 1.129 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.149, allocations: 79.19 kB / 1.129 GB, free: 34.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1429/1.292, allocations: 43.19 MB / 1.171 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.715e-06/1.292, allocations: 4 kB / 1.171 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001208/1.293, allocations: 31.94 kB / 1.171 GB, free: 6.941 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.002264/1.295, allocations: 1.416 MB / 1.172 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.295, allocations: 12.62 kB / 1.172 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/1.295, allocations: 189.8 kB / 1.172 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/1.3, allocations: 2.455 MB / 1.175 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/1.3, allocations: 60.44 kB / 1.175 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.3, allocations: 90.81 kB / 1.175 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/1.301, allocations: 0.6662 MB / 1.176 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.301, allocations: 7.938 kB / 1.176 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/1.301, allocations: 20.81 kB / 1.176 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.301, allocations: 16 kB / 1.176 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/1.301, allocations: 409.1 kB / 1.176 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/1.306, allocations: 4.089 MB / 1.18 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.308, allocations: 0.6709 MB / 1.181 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/1.308, allocations: 224.3 kB / 1.181 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.308, allocations: 4.844 kB / 1.181 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.308, allocations: 42.62 kB / 1.181 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 3.176e-06/1.308, allocations: 7.938 kB / 1.181 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.001332/1.31, allocations: 0.6628 MB / 1.182 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/1.31, allocations: 55.41 kB / 1.182 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/1.312, allocations: 1.533 MB / 1.183 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/1.312, allocations: 49.2 kB / 1.183 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/1.312, allocations: 0.6335 MB / 1.184 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/1.313, allocations: 141.7 kB / 1.184 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/1.313, allocations: 24.56 kB / 1.184 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.313, allocations: 350.6 kB / 1.184 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/1.313, allocations: 380.8 kB / 1.185 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.314, allocations: 1.016 MB / 1.186 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/1.315, allocations: 0.5345 MB / 1.186 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.315, allocations: 8 kB / 1.186 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002568/1.318, allocations: 1.599 MB / 1.188 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/1.318, allocations: 12 kB / 1.188 GB, free: 8.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.318, allocations: 24 kB / 1.188 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/1.318, allocations: 193.4 kB / 1.188 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/1.319, allocations: 283.9 kB / 1.188 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/1.323, allocations: 3.708 MB / 1.192 GB, free: 4.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.325, allocations: 295.3 kB / 1.192 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.325, allocations: 63.19 kB / 1.192 GB, free: 3.863 MB / 0.7605 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.000178/1.325, allocations: 184.7 kB / 1.192 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.326, allocations: 146 kB / 1.193 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/1.326, allocations: 141.9 kB / 1.193 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.326, allocations: 4 kB / 1.193 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.326, allocations: 8 kB / 1.193 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.326, allocations: 4.734 kB / 1.193 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.328, allocations: 1.139 MB / 1.194 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.328, allocations: 3.984 kB / 1.194 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/1.328, allocations: 71.14 kB / 1.194 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/1.328, allocations: 169.2 kB / 1.194 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/1.328, allocations: 11.19 kB / 1.194 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/1.332, allocations: 3.67 MB / 1.198 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.332, allocations: 3.953 kB / 1.198 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.333, allocations: 1.026 MB / 1.199 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.334, allocations: 0.9687 MB / 1.2 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.335, allocations: 10.56 kB / 1.2 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/1.335, allocations: 107.5 kB / 1.2 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/1.336, allocations: 31.14 kB / 1.2 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.336, allocations: 11.31 kB / 1.2 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001606/1.337, allocations: 1.133 MB / 1.201 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/1.337, allocations: 0 / 1.201 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001658/1.339, allocations: 0.5561 MB / 1.201 GB, free: 11.43 MB / 0.7761 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.000374/1.339, allocations: 230.9 kB / 1.202 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00166/1.341, allocations: 1.1 MB / 1.203 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.341, allocations: 4 kB / 1.203 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006548/1.342, allocations: 0.5012 MB / 1.203 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.343, allocations: 353.9 kB / 1.204 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/1.347, allocations: 2.279 MB / 1.206 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.348, allocations: 1.403 MB / 1.207 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009019/1.349, allocations: 298.6 kB / 1.207 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/1.349, allocations: 79.44 kB / 1.207 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/1.349, allocations: 0 / 1.207 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of Templates: time 0.03408/1.383, allocations: 18.6 MB / 1.226 GB, free: 3.395 MB / 0.7917 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar103; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar102; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar103; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar102; ^ ; Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar105; ^ ; Buildings_8_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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar105; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar104; ^ ; Buildings_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1