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.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 11 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.001095/0.001095, allocations: 175 kB / 0.4902 GB, free: 2.215 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.71/1.71, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0008509/0.0008508, allocations: 90.05 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004281, allocations: 7.844 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3339, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/0.5545, allocations: 163.5 MB / 1.389 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5549, allocations: 83.95 kB / 1.389 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8773/1.432, allocations: 43.59 MB / 1.432 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.206e-06/1.432, allocations: 2.156 kB / 1.432 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001458/1.432, allocations: 31.28 kB / 1.432 GB, free: 175.2 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.00708/1.439, allocations: 2.096 MB / 1.434 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.44, allocations: 8.125 kB / 1.434 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/1.44, allocations: 184.6 kB / 1.434 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008214/1.449, allocations: 2.505 MB / 1.436 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/1.449, allocations: 62.88 kB / 1.436 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.449, allocations: 90.61 kB / 1.436 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/1.45, allocations: 0.6812 MB / 1.437 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.45, allocations: 1.062 kB / 1.437 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/1.451, allocations: 22.75 kB / 1.437 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/1.451, allocations: 14.34 kB / 1.437 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/1.451, allocations: 436.9 kB / 1.437 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/1.459, allocations: 4.086 MB / 1.441 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/1.461, allocations: 0.6813 MB / 1.442 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/1.461, allocations: 6.75 kB / 1.442 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.461, allocations: 34.7 kB / 1.442 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 4.86e-06/1.461, allocations: 3.281 kB / 1.442 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.003092/1.464, allocations: 1.154 MB / 1.443 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.464, allocations: 59.73 kB / 1.443 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.467, allocations: 1.545 MB / 1.445 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/1.467, allocations: 51.45 kB / 1.445 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/1.468, allocations: 0.6333 MB / 1.446 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.468, allocations: 142.6 kB / 1.446 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/1.468, allocations: 21.16 kB / 1.446 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.468, allocations: 355 kB / 1.446 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/1.469, allocations: 392.6 kB / 1.446 GB, free: 170.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.47, allocations: 1.038 MB / 1.447 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/1.471, allocations: 0.5467 MB / 1.448 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.471, allocations: 6.969 kB / 1.448 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00336/1.474, allocations: 1.614 MB / 1.45 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/1.474, allocations: 15.12 kB / 1.45 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/1.474, allocations: 23.34 kB / 1.45 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/1.475, allocations: 197.5 kB / 1.45 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.476, allocations: 278.7 kB / 1.45 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/1.48, allocations: 3.784 MB / 1.454 GB, free: 166.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.483, allocations: 292.6 kB / 1.454 GB, free: 166.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.483, allocations: 65.09 kB / 1.454 GB, free: 166.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.001249/1.484, allocations: 0.507 MB / 1.455 GB, free: 166.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/1.485, allocations: 142.3 kB / 1.455 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/1.485, allocations: 148.1 kB / 1.455 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.485, allocations: 11.92 kB / 1.455 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.485, allocations: 6.188 kB / 1.455 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.485, allocations: 2.828 kB / 1.455 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/1.487, allocations: 1.143 MB / 1.456 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.487, allocations: 1.375 kB / 1.456 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/1.487, allocations: 67.5 kB / 1.456 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/1.488, allocations: 160.4 kB / 1.456 GB, free: 166 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/1.488, allocations: 15.34 kB / 1.456 GB, free: 166 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/1.492, allocations: 3.75 MB / 1.46 GB, free: 163.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.492, allocations: 0 / 1.46 GB, free: 163.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/1.494, allocations: 1.045 MB / 1.461 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.495, allocations: 0.9711 MB / 1.462 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.495, allocations: 10.34 kB / 1.462 GB, free: 162.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009264/1.496, allocations: 109.4 kB / 1.462 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.496, allocations: 29.69 kB / 1.462 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/1.496, allocations: 9.094 kB / 1.462 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002085/1.498, allocations: 1.153 MB / 1.463 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.61e-07/1.498, allocations: 0 / 1.463 GB, free: 162.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002436/1.501, allocations: 0.5514 MB / 1.464 GB, free: 162.2 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.0005325/1.501, allocations: 229.4 kB / 1.464 GB, free: 162.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.504, allocations: 1.128 MB / 1.465 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.504, allocations: 0.5 kB / 1.465 GB, free: 161.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/1.505, allocations: 0.5048 MB / 1.465 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.506, allocations: 361.6 kB / 1.466 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/1.512, allocations: 3.261 MB / 1.469 GB, free: 160 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.513, allocations: 1.393 MB / 1.47 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001454/1.514, allocations: 300.3 kB / 1.471 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.515, allocations: 80.56 kB / 1.471 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of SimCode: time 2.204e-06/1.515, allocations: 0 / 1.471 GB, free: 159.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.05904/1.574, allocations: 17.99 MB / 1.488 GB, free: 153.2 MB / 0.9167 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:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar103; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar102; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar103; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar102; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar105; ^ ; Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar105; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar104; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1