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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.275/1.275, allocations: 252 MB / 267.9 MB, free: 10.91 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.001204/0.001204, allocations: 181.7 kB / 327.6 MB, free: 2.152 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.294/1.294, allocations: 205.4 MB / 0.5785 GB, free: 20.54 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.0006877/0.0006878, allocations: 87.98 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 11.06 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1721, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.3311, allocations: 145.2 MB / 1.043 GB, free: 14.67 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3313, allocations: 79.97 kB / 1.043 GB, free: 14.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4481/0.7794, allocations: 43.23 MB / 1.085 GB, free: 141.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7795, allocations: 3.984 kB / 1.085 GB, free: 141.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001736/0.7797, allocations: 39.09 kB / 1.085 GB, free: 141.3 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.005718/0.7854, allocations: 2.075 MB / 1.087 GB, free: 140 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7854, allocations: 15.7 kB / 1.087 GB, free: 140 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.7863, allocations: 183 kB / 1.088 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.7919, allocations: 2.559 MB / 1.09 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.7919, allocations: 64.62 kB / 1.09 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.7921, allocations: 89.28 kB / 1.09 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.793, allocations: 0.6837 MB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.7931, allocations: 7.844 kB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.7931, allocations: 24.41 kB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.7932, allocations: 16.62 kB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.7938, allocations: 431.4 kB / 1.091 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.7981, allocations: 4.089 MB / 1.095 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.7994, allocations: 0.6727 MB / 1.096 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.7997, allocations: 239.7 kB / 1.096 GB, free: 135.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.7997, allocations: 7.062 kB / 1.096 GB, free: 135.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.7998, allocations: 38.5 kB / 1.096 GB, free: 135.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.7998, allocations: 0 / 1.096 GB, free: 135.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001952/0.8017, allocations: 1.164 MB / 1.097 GB, free: 134.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.8018, allocations: 59.34 kB / 1.097 GB, free: 134.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.8034, allocations: 1.741 MB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.8035, allocations: 45.67 kB / 1.099 GB, free: 133.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.8038, allocations: 0.6353 MB / 1.1 GB, free: 132.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8039, allocations: 137.3 kB / 1.1 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.804, allocations: 26.91 kB / 1.1 GB, free: 132.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.804, allocations: 360.2 kB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.8045, allocations: 389.8 kB / 1.101 GB, free: 132.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.8051, allocations: 1.037 MB / 1.102 GB, free: 130.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.8062, allocations: 1.421 MB / 1.103 GB, free: 129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.8062, allocations: 7.938 kB / 1.103 GB, free: 129 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.001822/0.808, allocations: 1.622 MB / 1.105 GB, free: 127.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8081, allocations: 16 kB / 1.105 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.8081, allocations: 20 kB / 1.105 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.8085, allocations: 193.7 kB / 1.105 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.8093, allocations: 279.5 kB / 1.105 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.8117, allocations: 3.721 MB / 1.109 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.8132, allocations: 286.2 kB / 1.109 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.8133, allocations: 67.94 kB / 1.109 GB, free: 122.5 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.0005265/0.8138, allocations: 0.5211 MB / 1.11 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.814, allocations: 146 kB / 1.11 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.8142, allocations: 143.2 kB / 1.11 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8142, allocations: 4 kB / 1.11 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.8142, allocations: 4 kB / 1.11 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.8142, allocations: 0 / 1.11 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.8152, allocations: 1.148 MB / 1.111 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8152, allocations: 4 kB / 1.111 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.8155, allocations: 71.88 kB / 1.111 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003361/0.8158, allocations: 158 kB / 1.111 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.8159, allocations: 15.98 kB / 1.111 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.8182, allocations: 3.682 MB / 1.115 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8182, allocations: 0 / 1.115 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.8193, allocations: 1.035 MB / 1.116 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.8198, allocations: 0.9717 MB / 1.117 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.8199, allocations: 15.98 kB / 1.117 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.8208, allocations: 115.7 kB / 1.117 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.8209, allocations: 35.64 kB / 1.117 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.8209, allocations: 12 kB / 1.117 GB, free: 114 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001101/0.822, allocations: 1.151 MB / 1.118 GB, free: 112.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.822, allocations: 0 / 1.118 GB, free: 112.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0012/0.8232, allocations: 0.5581 MB / 1.119 GB, free: 112.3 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.0002575/0.8235, allocations: 216.2 kB / 1.119 GB, free: 112 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.8247, allocations: 1.123 MB / 1.12 GB, free: 110.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8247, allocations: 4 kB / 1.12 GB, free: 110.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.8252, allocations: 0.5088 MB / 1.12 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.8265, allocations: 351.7 kB / 1.121 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.8295, allocations: 3.262 MB / 1.124 GB, free: 106.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.8301, allocations: 1.364 MB / 1.125 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006313/0.8308, allocations: 306.6 kB / 1.126 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.8309, allocations: 83.44 kB / 1.126 GB, free: 104.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8309, allocations: 0 / 1.126 GB, free: 104.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02444/0.8554, allocations: 18.25 MB / 1.144 GB, free: 86.93 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 -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_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 -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_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 -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_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:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1