Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009614/0.0009614, allocations: 178.8 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6383 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007719/0.0007715, allocations: 93.7 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005733/0.0005734, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2681, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6149/0.8831, allocations: 152.6 MB / 1.139 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.8834, allocations: 82.03 kB / 1.14 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1105/0.9939, allocations: 39.31 MB / 1.178 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.994, allocations: 0 / 1.178 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001719/0.9941, allocations: 28 kB / 1.178 GB, free: 5.516 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.004763/0.9989, allocations: 1.782 MB / 1.18 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.999, allocations: 8.969 kB / 1.18 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005603/0.9995, allocations: 166.9 kB / 1.18 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/1.004, allocations: 1.924 MB / 1.182 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/1.004, allocations: 53.38 kB / 1.182 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/1.004, allocations: 76.38 kB / 1.182 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/1.005, allocations: 0.524 MB / 1.182 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.005, allocations: 192 / 1.182 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/1.005, allocations: 23.94 kB / 1.182 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/1.005, allocations: 16 kB / 1.182 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/1.006, allocations: 328.5 kB / 1.183 GB, free: 500 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/1.01, allocations: 3.229 MB / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/1.011, allocations: 458.7 kB / 1.186 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/1.011, allocations: 172.8 kB / 1.187 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/1.012, allocations: 9.406 kB / 1.187 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.012, allocations: 38.5 kB / 1.187 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/1.012, allocations: 3.938 kB / 1.187 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.001988/1.014, allocations: 1.054 MB / 1.188 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.014, allocations: 55.41 kB / 1.188 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/1.016, allocations: 1.723 MB / 1.189 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/1.016, allocations: 49.7 kB / 1.189 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/1.017, allocations: 0.58 MB / 1.19 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.017, allocations: 94.56 kB / 1.19 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/1.017, allocations: 20 kB / 1.19 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.017, allocations: 357.9 kB / 1.19 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/1.018, allocations: 294.4 kB / 1.191 GB, free: 8.039 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/1.019, allocations: 0.9082 MB / 1.192 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/1.02, allocations: 1.218 MB / 1.193 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/1.02, allocations: 4 kB / 1.193 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002571/1.023, allocations: 1.382 MB / 1.194 GB, free: 3.906 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.023, allocations: 12 kB / 1.194 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/1.023, allocations: 24 kB / 1.194 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/1.023, allocations: 195.6 kB / 1.194 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/1.024, allocations: 227.6 kB / 1.195 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004777/1.029, allocations: 4.782 MB / 1.199 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.031, allocations: 186.4 kB / 1.199 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.031, allocations: 60 kB / 1.199 GB, free: 14.03 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001031/1.032, allocations: 482.5 kB / 1.2 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.032, allocations: 126.3 kB / 1.2 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/1.032, allocations: 126.1 kB / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.032, allocations: 5.375 kB / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.032, allocations: 0 / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.032, allocations: 0.8438 kB / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/1.034, allocations: 0.9521 MB / 1.201 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.034, allocations: 0 / 1.201 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.034, allocations: 31.98 kB / 1.201 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/1.035, allocations: 175.2 kB / 1.201 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/1.035, allocations: 11.92 kB / 1.201 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/1.04, allocations: 4.722 MB / 1.206 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.04, allocations: 4.125 kB / 1.206 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.041, allocations: 0.84 MB / 1.207 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.042, allocations: 0.9414 MB / 1.208 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/1.043, allocations: 11.98 kB / 1.208 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/1.044, allocations: 47.92 kB / 1.208 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.044, allocations: 23.97 kB / 1.208 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.044, allocations: 7.938 kB / 1.208 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002365/1.046, allocations: 1.157 MB / 1.209 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/1.046, allocations: 0 / 1.209 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001736/1.048, allocations: 419.5 kB / 1.209 GB, free: 3.336 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],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 (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/1.049, allocations: 204.5 kB / 1.209 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.05, allocations: 1.051 MB / 1.21 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.05, allocations: 0 / 1.21 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/1.051, allocations: 0.5599 MB / 1.211 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.053, allocations: 312.7 kB / 1.211 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/1.056, allocations: 2.729 MB / 1.214 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.057, allocations: 1.297 MB / 1.215 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006854/1.058, allocations: 229.6 kB / 1.215 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/1.058, allocations: 75.44 kB / 1.216 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of SimCode: time 4.01e-07/1.058, allocations: 0 / 1.216 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.0298/1.088, allocations: 16.67 MB / 1.232 GB, free: 12.32 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar55; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar54; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar55; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar54; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:133:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:136:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar55 = 0.0; /* defaultValue */ ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:144:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:144:98: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.h:54:158: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:144:117: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.h:54:221: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:145:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar55 = ths->__omcQ_24tmpVar55 + ths->__omcQ_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:145:39: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar55 = ths->__omcQ_24tmpVar55 + ths->__omcQ_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:145:64: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar55 = ths->__omcQ_24tmpVar55 + ths->__omcQ_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:152:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar55; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar57; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159: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_24tmpVar56; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar57; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar56; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:167:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp13 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:167:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174: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_24tmpVar57,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:41: error: no member named '__omcQ_24tmpVar57' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_24tmpVar57,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1