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.195/2.195, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.0009555/0.0009555, allocations: 180 kB / 492.3 MB, free: 0.6133 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.474/1.474, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009839/0.0009838, allocations: 97.8 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.951e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2905, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9996/1.29, allocations: 162.7 MB / 1.371 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.29, allocations: 81.92 kB / 1.371 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1352/1.426, allocations: 43.62 MB / 1.414 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/1.426, allocations: 0 / 1.414 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001295/1.426, allocations: 36 kB / 1.414 GB, free: 13.55 MB / 0.8386 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.002782/1.429, allocations: 1.422 MB / 1.415 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.429, allocations: 11.97 kB / 1.415 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/1.429, allocations: 186.2 kB / 1.416 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/1.434, allocations: 2.463 MB / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/1.434, allocations: 60.19 kB / 1.418 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.434, allocations: 92.61 kB / 1.418 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.436, allocations: 0.6652 MB / 1.419 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.436, allocations: 8 kB / 1.419 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/1.436, allocations: 23.92 kB / 1.419 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.436, allocations: 16 kB / 1.419 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/1.436, allocations: 404.3 kB / 1.419 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005216/1.441, allocations: 4.087 MB / 1.423 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/1.443, allocations: 0.6634 MB / 1.424 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/1.443, allocations: 223 kB / 1.424 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/1.443, allocations: 4 kB / 1.424 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.443, allocations: 37.94 kB / 1.424 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 3.085e-06/1.443, allocations: 0 / 1.424 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.001388/1.445, allocations: 0.6699 MB / 1.425 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.445, allocations: 55.41 kB / 1.425 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.447, allocations: 1.539 MB / 1.426 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/1.447, allocations: 46.64 kB / 1.426 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1.448, allocations: 0.6303 MB / 1.427 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/1.448, allocations: 139.7 kB / 1.427 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/1.448, allocations: 22.44 kB / 1.427 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.448, allocations: 355.3 kB / 1.427 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.449, allocations: 377.4 kB / 1.428 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/1.45, allocations: 1.017 MB / 1.429 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/1.45, allocations: 0.5362 MB / 1.429 GB, free: 156 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.45, allocations: 8 kB / 1.429 GB, free: 148 kB / 0.8386 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002526/1.453, allocations: 1.594 MB / 1.431 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/1.453, allocations: 12 kB / 1.431 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.453, allocations: 24 kB / 1.431 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/1.453, allocations: 209.5 kB / 1.431 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/1.454, allocations: 273 kB / 1.431 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/1.458, allocations: 3.725 MB / 1.435 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.46, allocations: 297 kB / 1.435 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.46, allocations: 66.81 kB / 1.435 GB, free: 10.45 MB / 0.8542 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.0001837/1.46, allocations: 178.9 kB / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/1.461, allocations: 149.7 kB / 1.436 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/1.461, allocations: 140.8 kB / 1.436 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.461, allocations: 4 kB / 1.436 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.461, allocations: 7.953 kB / 1.436 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.461, allocations: 4 kB / 1.436 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/1.462, allocations: 1.148 MB / 1.437 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.462, allocations: 0 / 1.437 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/1.463, allocations: 71.88 kB / 1.437 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/1.463, allocations: 156.7 kB / 1.437 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/1.463, allocations: 15.42 kB / 1.437 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/1.467, allocations: 3.67 MB / 1.441 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.467, allocations: 0 / 1.441 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/1.468, allocations: 1.012 MB / 1.442 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.469, allocations: 0.9686 MB / 1.443 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.469, allocations: 11.19 kB / 1.443 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009286/1.47, allocations: 107.4 kB / 1.443 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/1.47, allocations: 31.77 kB / 1.443 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.47, allocations: 15.44 kB / 1.443 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001671/1.472, allocations: 1.133 MB / 1.444 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/1.472, allocations: 0 / 1.444 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001681/1.474, allocations: 0.5511 MB / 1.444 GB, free: 2.031 MB / 0.8542 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.000405/1.474, allocations: 231.1 kB / 1.445 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.476, allocations: 1.1 MB / 1.446 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.476, allocations: 0 / 1.446 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006206/1.476, allocations: 0.504 MB / 1.446 GB, free: 428 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.478, allocations: 365.7 kB / 1.447 GB, free: 152 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/1.481, allocations: 2.263 MB / 1.449 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/1.482, allocations: 1.401 MB / 1.45 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008168/1.483, allocations: 294.7 kB / 1.45 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/1.483, allocations: 79.44 kB / 1.451 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of SimCode: time 1.453e-06/1.483, allocations: 0 / 1.451 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of Templates: time 0.03541/1.519, allocations: 18.6 MB / 1.469 GB, free: 9.965 MB / 0.8855 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:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar103; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar102; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar103; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar102; ^ ; Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar105; ^ ; Buildings_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar105; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar104; ^ ; Buildings_9_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_9_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_9_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_9_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_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient_records.o] Error 1