Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 293 MB / 309 MB, free: 4.82 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.001172/0.001172, allocations: 178.8 kB / 378.7 MB, free: 1.039 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.629/1.629, allocations: 205.4 MB / 0.6383 GB, free: 8.27 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.0008412/0.0008415, allocations: 89.41 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 12 kB / 0.8768 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2967, allocations: 116.4 MB / 0.9904 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7418/1.039, allocations: 149.4 MB / 1.136 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.039, allocations: 84.89 kB / 1.136 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1134/1.152, allocations: 33.84 MB / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/1.152, allocations: 0 / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001287/1.153, allocations: 20 kB / 1.169 GB, free: 14.25 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004731/1.157, allocations: 1.593 MB / 1.171 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.157, allocations: 12.03 kB / 1.171 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005798/1.158, allocations: 109.7 kB / 1.171 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/1.163, allocations: 2.116 MB / 1.173 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.163, allocations: 33.03 kB / 1.173 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.163, allocations: 60.28 kB / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/1.164, allocations: 0.5405 MB / 1.174 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.164, allocations: 192 / 1.174 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/1.164, allocations: 15.94 kB / 1.174 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/1.164, allocations: 8 kB / 1.174 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/1.164, allocations: 349.8 kB / 1.174 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/1.169, allocations: 3.138 MB / 1.177 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/1.17, allocations: 0.6627 MB / 1.178 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.171, allocations: 200.7 kB / 1.178 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/1.171, allocations: 448 / 1.178 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.171, allocations: 34.56 kB / 1.178 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/1.171, allocations: 0 / 1.178 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.001409/1.172, allocations: 0.7674 MB / 1.179 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/1.172, allocations: 63.89 kB / 1.179 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.174, allocations: 1.394 MB / 1.18 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/1.174, allocations: 37.7 kB / 1.18 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.175, allocations: 408.8 kB / 1.181 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/1.175, allocations: 106.5 kB / 1.181 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/1.175, allocations: 20 kB / 1.181 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.175, allocations: 334.5 kB / 1.181 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/1.176, allocations: 289.1 kB / 1.181 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/1.176, allocations: 0.5784 MB / 1.182 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.177, allocations: 0.8782 MB / 1.183 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/1.177, allocations: 4 kB / 1.183 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002095/1.179, allocations: 1.251 MB / 1.184 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.179, allocations: 13.59 kB / 1.184 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.179, allocations: 15.98 kB / 1.184 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/1.181, allocations: 444.4 kB / 1.185 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/1.181, allocations: 111.8 kB / 1.185 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/1.187, allocations: 4.848 MB / 1.189 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.19, allocations: 438.6 kB / 1.19 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.19, allocations: 32 kB / 1.19 GB, free: 8.598 MB / 0.7605 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.0009869/1.191, allocations: 433.9 kB / 1.19 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/1.191, allocations: 90.78 kB / 1.19 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/1.192, allocations: 104.8 kB / 1.19 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.192, allocations: 7.938 kB / 1.19 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.192, allocations: 0 / 1.19 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.192, allocations: 4 kB / 1.19 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/1.194, allocations: 1.115 MB / 1.192 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.194, allocations: 0.5625 kB / 1.192 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/1.194, allocations: 94.53 kB / 1.192 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/1.195, allocations: 40.77 kB / 1.192 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/1.195, allocations: 19.98 kB / 1.192 GB, free: 6.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/1.196, allocations: 1.427 MB / 1.193 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.196, allocations: 4.156 kB / 1.193 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.197, allocations: 0.834 MB / 1.194 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.199, allocations: 0.9457 MB / 1.195 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002861/1.199, allocations: 11.98 kB / 1.195 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.2, allocations: 215.5 kB / 1.195 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/1.2, allocations: 19.92 kB / 1.195 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/1.2, allocations: 4 kB / 1.195 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001758/1.202, allocations: 0.9705 MB / 1.196 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.202, allocations: 0 / 1.196 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001628/1.204, allocations: 0.5867 MB / 1.197 GB, free: 1.328 MB / 0.7605 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.0004119/1.204, allocations: 217.8 kB / 1.197 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001795/1.206, allocations: 0.9207 MB / 1.198 GB, free: 180 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.206, allocations: 4.125 kB / 1.198 GB, free: 176 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/1.206, allocations: 330.4 kB / 1.198 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.208, allocations: 268.4 kB / 1.198 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/1.212, allocations: 2.651 MB / 1.201 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.213, allocations: 1.153 MB / 1.202 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006724/1.214, allocations: 254.8 kB / 1.202 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.214, allocations: 59.42 kB / 1.202 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/1.214, allocations: 1.125 kB / 1.202 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.02946/1.243, allocations: 16.25 MB / 1.218 GB, free: 11.39 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar7; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar6; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar7; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar6; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:133:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:136:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = 0.0; /* defaultValue */ ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:144: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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:144: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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:144: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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:145:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:145:38: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:145:62: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:152:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar7; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar9; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar8; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar9; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar8; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:167:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar9,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:174: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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1