Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001543/0.001543, allocations: 172.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009538/0.0009537, allocations: 99.88 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.814e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3504, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9171/1.268, allocations: 163.5 MB / 1.378 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/1.268, allocations: 76.16 kB / 1.378 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1502/1.418, allocations: 43.62 MB / 1.421 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.418, allocations: 0 / 1.421 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001346/1.418, allocations: 35.98 kB / 1.421 GB, free: 0.8555 MB / 0.8698 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.002917/1.421, allocations: 1.43 MB / 1.422 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.421, allocations: 12.03 kB / 1.422 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/1.422, allocations: 186 kB / 1.423 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/1.427, allocations: 2.446 MB / 1.425 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/1.427, allocations: 65 kB / 1.425 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.427, allocations: 90.72 kB / 1.425 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/1.429, allocations: 0.6721 MB / 1.426 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.429, allocations: 0 / 1.426 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/1.429, allocations: 24.19 kB / 1.426 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.429, allocations: 12 kB / 1.426 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/1.429, allocations: 412.8 kB / 1.426 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/1.435, allocations: 4.094 MB / 1.43 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.436, allocations: 0.6628 MB / 1.431 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/1.437, allocations: 220.2 kB / 1.431 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/1.437, allocations: 4 kB / 1.431 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/1.437, allocations: 38.31 kB / 1.431 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 3.036e-06/1.437, allocations: 0 / 1.431 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001374/1.438, allocations: 0.67 MB / 1.432 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.438, allocations: 55.41 kB / 1.432 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.44, allocations: 1.524 MB / 1.433 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/1.44, allocations: 50.45 kB / 1.433 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/1.441, allocations: 0.6328 MB / 1.434 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/1.441, allocations: 146 kB / 1.434 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/1.441, allocations: 23.94 kB / 1.434 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.441, allocations: 357.9 kB / 1.435 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/1.442, allocations: 378.4 kB / 1.435 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/1.443, allocations: 1.021 MB / 1.436 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008445/1.444, allocations: 0.5383 MB / 1.436 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.444, allocations: 7.953 kB / 1.436 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002987/1.447, allocations: 1.599 MB / 1.438 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.447, allocations: 17.56 kB / 1.438 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/1.447, allocations: 20 kB / 1.438 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/1.447, allocations: 189.7 kB / 1.438 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/1.448, allocations: 283.5 kB / 1.438 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.452, allocations: 3.721 MB / 1.442 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.454, allocations: 286.2 kB / 1.442 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.454, allocations: 68 kB / 1.442 GB, free: 12.58 MB / 0.9011 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 () * 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.0001991/1.455, allocations: 184.5 kB / 1.443 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.455, allocations: 146 kB / 1.443 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/1.455, allocations: 143.4 kB / 1.443 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.455, allocations: 7.953 kB / 1.443 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.455, allocations: 4 kB / 1.443 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.455, allocations: 3.984 kB / 1.443 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/1.457, allocations: 1.141 MB / 1.444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.457, allocations: 0 / 1.444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/1.457, allocations: 71.89 kB / 1.444 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/1.457, allocations: 161.6 kB / 1.444 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.458, allocations: 12 kB / 1.444 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/1.461, allocations: 3.675 MB / 1.448 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.461, allocations: 0 / 1.448 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.462, allocations: 1.018 MB / 1.449 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.463, allocations: 0.96 MB / 1.45 GB, free: 4.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.464, allocations: 11.98 kB / 1.45 GB, free: 4.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/1.464, allocations: 107.7 kB / 1.45 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/1.465, allocations: 27.91 kB / 1.45 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/1.465, allocations: 12 kB / 1.45 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001662/1.466, allocations: 1.139 MB / 1.451 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/1.466, allocations: 4 kB / 1.451 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001723/1.468, allocations: 0.5543 MB / 1.452 GB, free: 2.715 MB / 0.9011 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 () * 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.000414/1.468, allocations: 236.4 kB / 1.452 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.47, allocations: 1.106 MB / 1.453 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.47, allocations: 0 / 1.453 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/1.471, allocations: 498.5 kB / 1.453 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.472, allocations: 358.6 kB / 1.454 GB, free: 492 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/1.476, allocations: 2.275 MB / 1.456 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/1.477, allocations: 1.395 MB / 1.457 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009109/1.478, allocations: 298.6 kB / 1.458 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.478, allocations: 79.44 kB / 1.458 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/1.478, allocations: 0 / 1.458 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.03356/1.512, allocations: 18.6 MB / 1.476 GB, free: 10.01 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_functions.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar103; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar102; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar103; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar102; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:148:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = 0.0; /* defaultValue */ ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:95: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:159:114: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar102 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:36: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:160:58: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar103 = ths->_D_24tmpVar103 + ths->_D_24tmpVar102; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar103; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar105; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_24tmpVar104; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar105; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar104; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:182:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_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_24tmpVar105,tmp14); ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:189:41: error: no member named '_D_24tmpVar105' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar105,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1