Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 180.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.3 MB / 0.7872 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 91.47 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.765e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2697, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9759/1.246, allocations: 159.6 MB / 1.368 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.246, allocations: 76.56 kB / 1.368 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1592/1.405, allocations: 34.22 MB / 1.402 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.993e-06/1.405, allocations: 0 / 1.402 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001504/1.405, allocations: 19.94 kB / 1.402 GB, free: 23.22 MB / 0.8386 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.002466/1.408, allocations: 0.9931 MB / 1.403 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.408, allocations: 12.03 kB / 1.403 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/1.409, allocations: 110.7 kB / 1.403 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004788/1.413, allocations: 2.018 MB / 1.405 GB, free: 20.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/1.413, allocations: 38.28 kB / 1.405 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/1.414, allocations: 53.77 kB / 1.405 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/1.415, allocations: 0.5315 MB / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.415, allocations: 0 / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/1.415, allocations: 13.94 kB / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.415, allocations: 8 kB / 1.405 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/1.415, allocations: 330.4 kB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/1.42, allocations: 3.139 MB / 1.409 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/1.422, allocations: 0.6507 MB / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/1.422, allocations: 192.7 kB / 1.41 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/1.422, allocations: 4 kB / 1.41 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/1.422, allocations: 34.5 kB / 1.41 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 3.096e-06/1.422, allocations: 3.984 kB / 1.41 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001134/1.423, allocations: 0.4889 MB / 1.41 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.423, allocations: 51.41 kB / 1.41 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.425, allocations: 1.271 MB / 1.411 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/1.425, allocations: 36.27 kB / 1.411 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/1.426, allocations: 407.2 kB / 1.412 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.426, allocations: 112.2 kB / 1.412 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/1.426, allocations: 14.38 kB / 1.412 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.426, allocations: 339.7 kB / 1.412 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/1.427, allocations: 271.4 kB / 1.413 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/1.428, allocations: 0.5733 MB / 1.413 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/1.428, allocations: 386.2 kB / 1.413 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.428, allocations: 4 kB / 1.413 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00282/1.431, allocations: 1.223 MB / 1.415 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/1.431, allocations: 12.03 kB / 1.415 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.431, allocations: 12 kB / 1.415 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.433, allocations: 441.5 kB / 1.415 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/1.433, allocations: 115.3 kB / 1.415 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/1.442, allocations: 4.833 MB / 1.42 GB, free: 7.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/1.445, allocations: 441.6 kB / 1.42 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.445, allocations: 34.38 kB / 1.42 GB, free: 7.34 MB / 0.8386 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 () * 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.0002308/1.445, allocations: 143.5 kB / 1.421 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/1.446, allocations: 94.47 kB / 1.421 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/1.446, allocations: 102.2 kB / 1.421 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.446, allocations: 8 kB / 1.421 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.446, allocations: 7.953 kB / 1.421 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.446, allocations: 3.984 kB / 1.421 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/1.448, allocations: 1.107 MB / 1.422 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.448, allocations: 0 / 1.422 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/1.449, allocations: 91.78 kB / 1.422 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/1.449, allocations: 47.56 kB / 1.422 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/1.449, allocations: 22.73 kB / 1.422 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.451, allocations: 1.407 MB / 1.423 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.451, allocations: 12.09 kB / 1.423 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/1.452, allocations: 0.8013 MB / 1.424 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.453, allocations: 0.9468 MB / 1.425 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/1.454, allocations: 18.48 kB / 1.425 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.455, allocations: 214.8 kB / 1.425 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/1.455, allocations: 19.17 kB / 1.425 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.455, allocations: 4 kB / 1.425 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002071/1.458, allocations: 0.9566 MB / 1.426 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.458, allocations: 0 / 1.426 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002251/1.46, allocations: 0.5764 MB / 1.427 GB, free: 1.391 MB / 0.8386 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 () * 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.0004819/1.46, allocations: 249.2 kB / 1.427 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.463, allocations: 0.8939 MB / 1.428 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.463, allocations: 2 kB / 1.428 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/1.463, allocations: 319.5 kB / 1.428 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.465, allocations: 272.9 kB / 1.428 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/1.469, allocations: 1.971 MB / 1.43 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.471, allocations: 1.173 MB / 1.432 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001081/1.472, allocations: 254.8 kB / 1.432 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/1.472, allocations: 59.38 kB / 1.432 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/1.472, allocations: 4 kB / 1.432 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.04/1.512, allocations: 16.67 MB / 1.448 GB, free: 12.21 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar7; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar6; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar7; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar6; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:148:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = 0.0; /* defaultValue */ ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:93: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:112: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:34: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar7; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar9; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar8; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar9; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar8; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_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_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:182:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar9,tmp14); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:189:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar9,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1