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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.001168/0.001169, allocations: 173.2 kB / 377.1 MB, free: 1.453 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.755/1.755, allocations: 205.4 MB / 0.6367 GB, free: 8.594 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.001112/0.001113, allocations: 93.98 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003392, allocations: 11.98 kB / 0.8748 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 116.3 MB / 0.9884 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6893/0.9421, allocations: 152.5 MB / 1.137 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.9425, allocations: 85.34 kB / 1.137 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.12/1.063, allocations: 39.25 MB / 1.176 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.285e-06/1.063, allocations: 0 / 1.176 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002611/1.063, allocations: 32 kB / 1.176 GB, free: 6.766 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.006106/1.069, allocations: 1.794 MB / 1.178 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.069, allocations: 12.02 kB / 1.178 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/1.07, allocations: 169.9 kB / 1.178 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005012/1.075, allocations: 1.867 MB / 1.18 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/1.075, allocations: 57 kB / 1.18 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.075, allocations: 74.41 kB / 1.18 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/1.076, allocations: 0.5195 MB / 1.18 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.076, allocations: 0 / 1.18 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.475e-05/1.076, allocations: 20 kB / 1.18 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.076, allocations: 12.84 kB / 1.18 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/1.076, allocations: 333.9 kB / 1.18 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/1.081, allocations: 3.232 MB / 1.184 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/1.082, allocations: 455 kB / 1.184 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/1.082, allocations: 11.89 kB / 1.184 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.082, allocations: 34.5 kB / 1.184 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 1.963e-06/1.082, allocations: 0 / 1.184 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.002093/1.084, allocations: 1.04 MB / 1.185 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/1.084, allocations: 59.41 kB / 1.185 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.087, allocations: 1.543 MB / 1.187 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/1.087, allocations: 45.7 kB / 1.187 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/1.087, allocations: 0.5761 MB / 1.187 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.087, allocations: 102.5 kB / 1.187 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/1.087, allocations: 24 kB / 1.187 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.088, allocations: 353.9 kB / 1.188 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004688/1.088, allocations: 290.4 kB / 1.188 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008632/1.089, allocations: 0.9044 MB / 1.189 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/1.09, allocations: 431.5 kB / 1.189 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.09, allocations: 8 kB / 1.189 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002162/1.092, allocations: 1.37 MB / 1.191 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/1.092, allocations: 16.84 kB / 1.191 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.092, allocations: 20 kB / 1.191 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/1.092, allocations: 198.6 kB / 1.191 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/1.093, allocations: 223.6 kB / 1.191 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/1.097, allocations: 4.846 MB / 1.196 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.099, allocations: 186.5 kB / 1.196 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/1.099, allocations: 56 kB / 1.196 GB, free: 0.7539 MB / 0.7605 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.000831/1.1, allocations: 485.1 kB / 1.197 GB, free: 276 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/1.1, allocations: 134.2 kB / 1.197 GB, free: 140 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/1.1, allocations: 122.8 kB / 1.197 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.1, allocations: 4 kB / 1.197 GB, free: 12 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.1, allocations: 0 / 1.197 GB, free: 12 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.1, allocations: 3.984 kB / 1.197 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/1.102, allocations: 0.9521 MB / 1.198 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.102, allocations: 0 / 1.198 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.102, allocations: 31.98 kB / 1.198 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/1.102, allocations: 167.6 kB / 1.198 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.102, allocations: 7.938 kB / 1.198 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/1.106, allocations: 4.793 MB / 1.203 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.106, allocations: 0 / 1.203 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/1.108, allocations: 0.8477 MB / 1.203 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.109, allocations: 0.9368 MB / 1.204 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.109, allocations: 12 kB / 1.204 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006501/1.109, allocations: 51.83 kB / 1.204 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/1.11, allocations: 31.89 kB / 1.204 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.11, allocations: 4 kB / 1.204 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001731/1.111, allocations: 1.149 MB / 1.206 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.41e-07/1.111, allocations: 0 / 1.206 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001405/1.113, allocations: 419.6 kB / 1.206 GB, free: 5.996 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.0003535/1.113, allocations: 202.6 kB / 1.206 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001622/1.115, allocations: 1.063 MB / 1.207 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.115, allocations: 0 / 1.207 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/1.115, allocations: 0.5428 MB / 1.208 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.117, allocations: 325 kB / 1.208 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/1.12, allocations: 2.718 MB / 1.211 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.121, allocations: 1.32 MB / 1.212 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006975/1.122, allocations: 235.5 kB / 1.212 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.122, allocations: 72.56 kB / 1.212 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of SimCode: time 4.51e-07/1.122, allocations: 0 / 1.212 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of Templates: time 0.03209/1.154, allocations: 16.45 MB / 1.228 GB, free: 15.18 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar55; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar54; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar55; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar54; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:131: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:134: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:142: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:142: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: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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142: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: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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:143: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:143: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:143: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:150: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:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar57; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_24tmpVar56; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar57; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar56; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:165: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: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_24tmpVar57,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:172: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