Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.768/1.768, allocations: 297.8 MB / 313.7 MB, free: 92 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 176 kB / 384.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 106.2 kB / 0.7808 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006464/0.0006466, allocations: 12 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8598, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/1.084, allocations: 151.6 MB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.085, allocations: 79.97 kB / 1.174 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1238/1.208, allocations: 34.21 MB / 1.208 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.635e-06/1.209, allocations: 0.8438 kB / 1.208 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001463/1.209, allocations: 16 kB / 1.208 GB, free: 8.066 MB / 0.7761 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.005478/1.214, allocations: 1.597 MB / 1.209 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.214, allocations: 11.97 kB / 1.209 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/1.215, allocations: 107.6 kB / 1.209 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/1.221, allocations: 2.116 MB / 1.212 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/1.221, allocations: 40.91 kB / 1.212 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.221, allocations: 52.28 kB / 1.212 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.222, allocations: 0.5399 MB / 1.212 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.222, allocations: 1.406 kB / 1.212 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/1.222, allocations: 15.94 kB / 1.212 GB, free: 3.438 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/1.222, allocations: 12 kB / 1.212 GB, free: 3.426 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/1.223, allocations: 349.8 kB / 1.213 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/1.228, allocations: 3.132 MB / 1.216 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.229, allocations: 0.661 MB / 1.216 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.23, allocations: 197.8 kB / 1.216 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.23, allocations: 8 kB / 1.216 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.23, allocations: 34.55 kB / 1.216 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 2.475e-06/1.23, allocations: 0 / 1.216 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.001712/1.232, allocations: 0.7635 MB / 1.217 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/1.232, allocations: 59.41 kB / 1.217 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/1.234, allocations: 1.397 MB / 1.219 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/1.234, allocations: 38.83 kB / 1.219 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/1.235, allocations: 412.8 kB / 1.219 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.235, allocations: 102.5 kB / 1.219 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/1.235, allocations: 16 kB / 1.219 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.235, allocations: 334 kB / 1.219 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/1.236, allocations: 293.1 kB / 1.22 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/1.237, allocations: 0.5824 MB / 1.22 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/1.238, allocations: 0.8751 MB / 1.221 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.238, allocations: 0 / 1.221 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00241/1.24, allocations: 1.262 MB / 1.222 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.24, allocations: 8 kB / 1.222 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/1.24, allocations: 12 kB / 1.222 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/1.242, allocations: 451.6 kB / 1.223 GB, free: 7.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/1.242, allocations: 108.8 kB / 1.223 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/1.249, allocations: 4.857 MB / 1.228 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/1.251, allocations: 426.6 kB / 1.228 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.983e-05/1.251, allocations: 36 kB / 1.228 GB, free: 2.41 MB / 0.7917 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.0008228/1.252, allocations: 429.4 kB / 1.229 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003562/1.252, allocations: 90.86 kB / 1.229 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/1.253, allocations: 100.8 kB / 1.229 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-06/1.253, allocations: 7.938 kB / 1.229 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/1.253, allocations: 1 kB / 1.229 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.253, allocations: 0 / 1.229 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.255, allocations: 1.127 MB / 1.23 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.255, allocations: 3.938 kB / 1.23 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/1.255, allocations: 96.66 kB / 1.23 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/1.255, allocations: 36.83 kB / 1.23 GB, free: 480 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/1.255, allocations: 21.61 kB / 1.23 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.257, allocations: 1.423 MB / 1.231 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.257, allocations: 0 / 1.231 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/1.258, allocations: 0.8282 MB / 1.232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.259, allocations: 0.9496 MB / 1.233 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.26, allocations: 15.98 kB / 1.233 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.261, allocations: 204.4 kB / 1.233 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/1.261, allocations: 19.97 kB / 1.233 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.261, allocations: 8 kB / 1.233 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001673/1.263, allocations: 0.9666 MB / 1.234 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.61e-07/1.263, allocations: 1.406 kB / 1.234 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001755/1.264, allocations: 0.5779 MB / 1.235 GB, free: 11.16 MB / 0.8073 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.0004341/1.265, allocations: 232 kB / 1.235 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.267, allocations: 0.9173 MB / 1.236 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.267, allocations: 3.938 kB / 1.236 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004561/1.267, allocations: 330.8 kB / 1.236 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.269, allocations: 274.3 kB / 1.237 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/1.273, allocations: 2.638 MB / 1.239 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009925/1.274, allocations: 1.156 MB / 1.24 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007068/1.275, allocations: 255.6 kB / 1.241 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/1.275, allocations: 59.44 kB / 1.241 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/1.275, allocations: 0 / 1.241 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of Templates: time 0.03352/1.308, allocations: 16.26 MB / 1.256 GB, free: 5.395 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar7; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar6; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar7; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar6; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar9; ^ ; Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar9; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar8; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1