Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001242/0.001242, allocations: 183.2 kB / 326.5 MB, free: 2.211 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.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.001012/0.001012, allocations: 101.2 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 6.125 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.4256, allocations: 142.1 MB / 1.039 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.4259, allocations: 71.97 kB / 1.039 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5615/0.9874, allocations: 33.81 MB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9875, allocations: 1.781 kB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.582e-05/0.9876, allocations: 19.39 kB / 1.072 GB, free: 145 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004383/0.992, allocations: 1.597 MB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.992, allocations: 8.656 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.9924, allocations: 112.1 kB / 1.074 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.9969, allocations: 2.089 MB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.997, allocations: 33.56 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.9971, allocations: 48.75 kB / 1.076 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.9979, allocations: 0.5403 MB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9979, allocations: 3.656 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.998, allocations: 11.31 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.998, allocations: 12.36 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.9985, allocations: 354.7 kB / 1.077 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/1.002, allocations: 3.13 MB / 1.08 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/1.004, allocations: 0.6727 MB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/1.004, allocations: 2.438 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.004, allocations: 39.77 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/1.004, allocations: 0.8438 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.00136/1.005, allocations: 0.7593 MB / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/1.005, allocations: 61.88 kB / 1.081 GB, free: 141.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.007, allocations: 1.275 MB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.007, allocations: 37.27 kB / 1.082 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/1.008, allocations: 410.9 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/1.008, allocations: 113.4 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/1.008, allocations: 14.34 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/1.008, allocations: 332.7 kB / 1.083 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/1.008, allocations: 289.2 kB / 1.084 GB, free: 140.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/1.009, allocations: 0.5776 MB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/1.01, allocations: 379.1 kB / 1.084 GB, free: 140 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.01, allocations: 3.188 kB / 1.084 GB, free: 140 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002293/1.012, allocations: 1.258 MB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.012, allocations: 8.75 kB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.012, allocations: 11.31 kB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/1.013, allocations: 442.7 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/1.014, allocations: 113.9 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/1.019, allocations: 4.995 MB / 1.091 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.021, allocations: 434.7 kB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/1.021, allocations: 37.64 kB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006045/1.022, allocations: 428.6 kB / 1.092 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.022, allocations: 89.59 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/1.022, allocations: 110.1 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.022, allocations: 3 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.022, allocations: 3.938 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.022, allocations: 0 / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/1.023, allocations: 1.125 MB / 1.093 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.023, allocations: 0 / 1.093 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/1.024, allocations: 89.31 kB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/1.024, allocations: 41.52 kB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/1.024, allocations: 18.36 kB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007755/1.025, allocations: 1.433 MB / 1.095 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.025, allocations: 3.938 kB / 1.095 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/1.026, allocations: 0.8319 MB / 1.096 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007831/1.026, allocations: 0.9482 MB / 1.097 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.027, allocations: 19.27 kB / 1.097 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.028, allocations: 198.6 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/1.028, allocations: 19.59 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.028, allocations: 11.5 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001183/1.029, allocations: 0.9693 MB / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.029, allocations: 0 / 1.098 GB, free: 132 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001452/1.03, allocations: 0.5815 MB / 1.098 GB, free: 131.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003313/1.031, allocations: 232.9 kB / 1.099 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.032, allocations: 0.9111 MB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.032, allocations: 1.875 kB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/1.033, allocations: 335.5 kB / 1.1 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.034, allocations: 269.2 kB / 1.1 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/1.037, allocations: 2.653 MB / 1.103 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/1.037, allocations: 1.164 MB / 1.104 GB, free: 127.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005902/1.038, allocations: 262.1 kB / 1.104 GB, free: 127 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.038, allocations: 51.44 kB / 1.104 GB, free: 126.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.038, allocations: 4 kB / 1.104 GB, free: 126.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02169/1.06, allocations: 16.04 MB / 1.12 GB, free: 111.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar7; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar6; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar7; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar6; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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.ConductorInitialization_records.c:134:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = 0.0; /* defaultValue */ ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:97: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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.ConductorInitialization_records.c:142:116: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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.ConductorInitialization_records.c:143:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:143:38: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:143:62: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:150:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar7; ~~~ ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar9; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar8; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar9; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar8; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_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.ConductorInitialization_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.ConductorInitialization_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_24tmpVar9,tmp14); ~~~^~ . Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:172:41: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar9,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1