Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.00113/0.00113, allocations: 189 kB / 377.1 MB, free: 1.535 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.824/1.824, allocations: 205.4 MB / 0.6367 GB, free: 8.668 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.0008948/0.0008948, allocations: 94.52 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 16 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.283, allocations: 116.3 MB / 0.9883 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7559/1.039, allocations: 152.5 MB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.039, allocations: 82.56 kB / 1.137 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1372/1.176, allocations: 43.16 MB / 1.179 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.294e-06/1.176, allocations: 0 / 1.179 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001156/1.177, allocations: 36.48 kB / 1.18 GB, free: 2.918 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.005693/1.182, allocations: 2.094 MB / 1.182 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.182, allocations: 8.031 kB / 1.182 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/1.183, allocations: 185.8 kB / 1.182 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/1.189, allocations: 2.496 MB / 1.184 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/1.189, allocations: 65.31 kB / 1.184 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/1.189, allocations: 92.84 kB / 1.184 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/1.19, allocations: 0.6861 MB / 1.185 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.19, allocations: 4 kB / 1.185 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/1.19, allocations: 20 kB / 1.185 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/1.19, allocations: 12 kB / 1.185 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/1.191, allocations: 431.5 kB / 1.185 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/1.197, allocations: 4.097 MB / 1.189 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.198, allocations: 0.6833 MB / 1.19 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/1.198, allocations: 4 kB / 1.19 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.198, allocations: 40.69 kB / 1.19 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 2.334e-06/1.198, allocations: 1.031 kB / 1.19 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.002403/1.201, allocations: 1.155 MB / 1.191 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.201, allocations: 55.41 kB / 1.191 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/1.203, allocations: 1.547 MB / 1.193 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/1.203, allocations: 49.7 kB / 1.193 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/1.204, allocations: 0.6312 MB / 1.194 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/1.204, allocations: 137.9 kB / 1.194 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/1.204, allocations: 28 kB / 1.194 GB, free: 3.941 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.204, allocations: 353.9 kB / 1.194 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/1.205, allocations: 390.3 kB / 1.194 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.206, allocations: 1.041 MB / 1.195 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/1.206, allocations: 0.543 MB / 1.196 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.206, allocations: 4 kB / 1.196 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002548/1.209, allocations: 1.619 MB / 1.198 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.209, allocations: 12 kB / 1.198 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.209, allocations: 24 kB / 1.198 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/1.21, allocations: 197.7 kB / 1.198 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/1.21, allocations: 275.5 kB / 1.198 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/1.214, allocations: 3.78 MB / 1.202 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.216, allocations: 295 kB / 1.202 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/1.216, allocations: 64 kB / 1.202 GB, free: 10.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (135): * Single equations (assignments): 133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008752/1.217, allocations: 0.5093 MB / 1.203 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.217, allocations: 146.1 kB / 1.203 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/1.218, allocations: 143.2 kB / 1.203 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/1.218, allocations: 7.938 kB / 1.203 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.218, allocations: 0 / 1.203 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/1.218, allocations: 0 / 1.203 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.219, allocations: 1.153 MB / 1.204 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.219, allocations: 1.719 kB / 1.204 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/1.219, allocations: 75.94 kB / 1.204 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/1.22, allocations: 163.6 kB / 1.204 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.22, allocations: 11.98 kB / 1.204 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/1.224, allocations: 3.74 MB / 1.208 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.224, allocations: 5.984 kB / 1.208 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/1.225, allocations: 1.038 MB / 1.209 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.226, allocations: 0.9644 MB / 1.21 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.227, allocations: 15.98 kB / 1.21 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/1.227, allocations: 112.3 kB / 1.21 GB, free: 2.203 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/1.228, allocations: 31.95 kB / 1.21 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/1.228, allocations: 8 kB / 1.21 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001621/1.229, allocations: 1.151 MB / 1.211 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/1.229, allocations: 0 / 1.211 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001701/1.231, allocations: 0.5543 MB / 1.212 GB, free: 476 kB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],con2.T[1],con2.T[2]) * 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): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/1.231, allocations: 218.9 kB / 1.212 GB, free: 252 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.233, allocations: 1.127 MB / 1.213 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.233, allocations: 4.062 kB / 1.213 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/1.234, allocations: 0.5088 MB / 1.213 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/1.235, allocations: 356.6 kB / 1.214 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/1.24, allocations: 3.268 MB / 1.217 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.241, allocations: 1.399 MB / 1.218 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009168/1.242, allocations: 295.9 kB / 1.219 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/1.242, allocations: 79.44 kB / 1.219 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of SimCode: time 8.12e-07/1.242, allocations: 0 / 1.219 GB, free: 9.121 MB / 0.7917 GB Notification: Performance of Templates: time 0.0348/1.277, allocations: 18 MB / 1.236 GB, free: 7.348 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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_ConductorSteadyStateTransient -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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_ConductorSteadyStateTransient -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_ConductorSteadyStateTransient -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:131:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:134:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = 0.0; /* defaultValue */ ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:99: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:56:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:118: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.h:56:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:143:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:143:40: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:143:66: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar103 = ths->__omcQ_24tmpVar103 + ths->__omcQ_24tmpVar102; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:150:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar103; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->__omcQ_24tmpVar104; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:165:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp13 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:165:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:172:39: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar105,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:172:41: error: no member named '__omcQ_24tmpVar105' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar105,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1