Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") translateModel(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con1.T.1.|con1.T.2.|con1.T.3.|con2.T.1.|con2.T.2.|conMul.T.1.|conMul.T.2.|conMul.T.3.|conMul.T.4.|conMul.T.5.|con.T.1.|con.T.2.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 177 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 102 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 12.83 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.361, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.5758, allocations: 162.7 MB / 1.382 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/0.5763, allocations: 83.95 kB / 1.382 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1471/0.7234, allocations: 43.57 MB / 1.424 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.017e-06/0.7235, allocations: 0 / 1.424 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001565/0.7236, allocations: 32 kB / 1.424 GB, free: 3.469 MB / 0.9167 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.007787/0.7314, allocations: 2.105 MB / 1.426 GB, free: 1.305 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.7315, allocations: 8.031 kB / 1.426 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.7326, allocations: 186 kB / 1.427 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7337/1.466, allocations: 2.492 MB / 1.429 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/1.466, allocations: 62.72 kB / 1.429 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.467, allocations: 92.84 kB / 1.429 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.468, allocations: 0.6823 MB / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.468, allocations: 0 / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/1.468, allocations: 23.91 kB / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.469, allocations: 12.84 kB / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/1.469, allocations: 434 kB / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/1.478, allocations: 4.091 MB / 1.434 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/1.48, allocations: 0.6707 MB / 1.435 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/1.48, allocations: 9.031 kB / 1.435 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.48, allocations: 35.81 kB / 1.435 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 3.176e-06/1.48, allocations: 0 / 1.435 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.003208/1.483, allocations: 1.159 MB / 1.436 GB, free: 177 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.483, allocations: 59.81 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.486, allocations: 1.549 MB / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.486, allocations: 46.23 kB / 1.438 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/1.487, allocations: 0.6342 MB / 1.438 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.487, allocations: 143.7 kB / 1.439 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/1.487, allocations: 22.59 kB / 1.439 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.488, allocations: 354 kB / 1.439 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/1.488, allocations: 391.9 kB / 1.439 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.489, allocations: 1.033 MB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/1.49, allocations: 0.5441 MB / 1.441 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/1.49, allocations: 10.91 kB / 1.441 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003379/1.494, allocations: 1.616 MB / 1.442 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/1.494, allocations: 15.59 kB / 1.442 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/1.494, allocations: 26.72 kB / 1.442 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/1.495, allocations: 189.3 kB / 1.443 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/1.496, allocations: 284 kB / 1.443 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/1.499, allocations: 3.783 MB / 1.447 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/1.502, allocations: 298.1 kB / 1.447 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.502, allocations: 71.48 kB / 1.447 GB, free: 172.5 MB / 0.9167 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.001087/1.503, allocations: 0.5066 MB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/1.504, allocations: 143.5 kB / 1.448 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/1.504, allocations: 143 kB / 1.448 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.504, allocations: 4.219 kB / 1.448 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.504, allocations: 5.312 kB / 1.448 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.504, allocations: 2.156 kB / 1.448 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/1.507, allocations: 1.146 MB / 1.449 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.507, allocations: 1.031 kB / 1.449 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/1.507, allocations: 73.27 kB / 1.449 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/1.508, allocations: 164.5 kB / 1.449 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/1.508, allocations: 18.39 kB / 1.449 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/1.511, allocations: 3.741 MB / 1.453 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.511, allocations: 0.6562 kB / 1.453 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/1.514, allocations: 1.037 MB / 1.454 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.515, allocations: 0.9736 MB / 1.455 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.515, allocations: 8.938 kB / 1.455 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/1.516, allocations: 107.8 kB / 1.455 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.516, allocations: 31.31 kB / 1.455 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/1.516, allocations: 10.66 kB / 1.455 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002226/1.519, allocations: 1.154 MB / 1.456 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.61e-07/1.519, allocations: 0 / 1.456 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002677/1.521, allocations: 0.554 MB / 1.457 GB, free: 167.9 MB / 0.9167 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.0004791/1.522, allocations: 211.9 kB / 1.457 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.524, allocations: 1.126 MB / 1.458 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.524, allocations: 0 / 1.458 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/1.525, allocations: 0.5186 MB / 1.458 GB, free: 167 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.527, allocations: 356.9 kB / 1.459 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/1.533, allocations: 3.259 MB / 1.462 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/1.534, allocations: 1.399 MB / 1.463 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001296/1.535, allocations: 300.8 kB / 1.464 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/1.536, allocations: 85.19 kB / 1.464 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.393e-06/1.536, allocations: 0 / 1.464 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.03167/1.567, allocations: 17.99 MB / 1.481 GB, free: 162.3 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_9_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_9_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_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1