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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001065/0.001065, allocations: 185.6 kB / 371.6 MB, free: 3.406 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.541/1.541, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009936/0.0009933, allocations: 87.45 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.391e-05, allocations: 0 / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2719, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7208/0.9928, allocations: 149.3 MB / 1.126 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.993, allocations: 69.45 kB / 1.126 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1241/1.117, allocations: 33.83 MB / 1.159 GB, free: 18.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.733e-06/1.117, allocations: 0 / 1.159 GB, free: 18.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.229e-05/1.117, allocations: 16 kB / 1.159 GB, free: 18 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.00126/1.119, allocations: 0.9929 MB / 1.16 GB, free: 17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.119, allocations: 8.031 kB / 1.16 GB, free: 17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/1.119, allocations: 110 kB / 1.16 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/1.122, allocations: 2.022 MB / 1.162 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/1.122, allocations: 34.34 kB / 1.162 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/1.122, allocations: 52.28 kB / 1.162 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/1.123, allocations: 0.5348 MB / 1.162 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.123, allocations: 3.984 kB / 1.162 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.123, allocations: 17.39 kB / 1.162 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.123, allocations: 8 kB / 1.162 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/1.123, allocations: 333 kB / 1.163 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/1.126, allocations: 3.129 MB / 1.166 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/1.127, allocations: 0.6572 MB / 1.166 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/1.128, allocations: 190.6 kB / 1.167 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.128, allocations: 4 kB / 1.167 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/1.128, allocations: 37.19 kB / 1.167 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/1.128, allocations: 0 / 1.167 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.000758/1.129, allocations: 497.4 kB / 1.167 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/1.129, allocations: 51.41 kB / 1.167 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.13, allocations: 1.273 MB / 1.168 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.13, allocations: 36.2 kB / 1.168 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/1.13, allocations: 415.9 kB / 1.169 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.13, allocations: 105.2 kB / 1.169 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/1.13, allocations: 7.562 kB / 1.169 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/1.131, allocations: 336.3 kB / 1.169 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/1.131, allocations: 277.9 kB / 1.169 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/1.131, allocations: 0.5729 MB / 1.17 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/1.132, allocations: 378.4 kB / 1.17 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.132, allocations: 11.89 kB / 1.17 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001625/1.133, allocations: 1.219 MB / 1.172 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.133, allocations: 12.25 kB / 1.172 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.133, allocations: 16 kB / 1.172 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.135, allocations: 444.7 kB / 1.172 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/1.135, allocations: 111.4 kB / 1.172 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/1.14, allocations: 4.832 MB / 1.177 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/1.142, allocations: 443.8 kB / 1.177 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/1.142, allocations: 32.28 kB / 1.177 GB, free: 2.082 MB / 0.7448 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.0001372/1.142, allocations: 145.2 kB / 1.177 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/1.142, allocations: 94.78 kB / 1.178 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/1.142, allocations: 99.98 kB / 1.178 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.142, allocations: 4 kB / 1.178 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.142, allocations: 0 / 1.178 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.142, allocations: 4 kB / 1.178 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/1.143, allocations: 1.116 MB / 1.179 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.143, allocations: 4 kB / 1.179 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/1.144, allocations: 95.41 kB / 1.179 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/1.144, allocations: 43.77 kB / 1.179 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/1.144, allocations: 14.86 kB / 1.179 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/1.145, allocations: 1.42 MB / 1.18 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.145, allocations: 1.719 kB / 1.18 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/1.146, allocations: 0.8177 MB / 1.181 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008296/1.147, allocations: 0.9471 MB / 1.182 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.147, allocations: 18.48 kB / 1.182 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.148, allocations: 199 kB / 1.182 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/1.148, allocations: 27.11 kB / 1.182 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.148, allocations: 8 kB / 1.182 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00136/1.149, allocations: 0.9554 MB / 1.183 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/1.149, allocations: 0 / 1.183 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001526/1.151, allocations: 0.5823 MB / 1.184 GB, free: 12.12 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 () * 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.00039/1.151, allocations: 246.9 kB / 1.184 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.153, allocations: 0.9019 MB / 1.185 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.153, allocations: 0.6562 kB / 1.185 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/1.153, allocations: 314.6 kB / 1.185 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.154, allocations: 269.3 kB / 1.185 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/1.157, allocations: 1.968 MB / 1.187 GB, free: 8.852 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/1.158, allocations: 1.178 MB / 1.188 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006262/1.159, allocations: 255.9 kB / 1.189 GB, free: 7.461 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/1.159, allocations: 55.44 kB / 1.189 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of SimCode: time 7.02e-07/1.159, allocations: 0 / 1.189 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of Templates: time 0.0269/1.186, allocations: 16.68 MB / 1.205 GB, free: 6.934 MB / 0.7761 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar7; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar6; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar7; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar6; ^ ; Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar9; ^ ; Buildings_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar9; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar8; ^ ; Buildings_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1