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.715/1.715, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001127/0.001127, allocations: 187.1 kB / 371.6 MB, free: 3.398 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.7/1.7, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0008699/0.0008699, allocations: 91.23 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.349e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8478/1.132, allocations: 152.5 MB / 1.129 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.133, allocations: 80.84 kB / 1.129 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.122/1.255, allocations: 39.24 MB / 1.167 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.083e-06/1.255, allocations: 0 / 1.167 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001165/1.255, allocations: 35.92 kB / 1.167 GB, free: 10.41 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.001988/1.257, allocations: 1.263 MB / 1.168 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.257, allocations: 8.031 kB / 1.168 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/1.257, allocations: 173.9 kB / 1.169 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/1.261, allocations: 1.829 MB / 1.17 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/1.261, allocations: 60.88 kB / 1.17 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/1.261, allocations: 77.44 kB / 1.17 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/1.261, allocations: 0.496 MB / 1.171 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.261, allocations: 7.922 kB / 1.171 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/1.262, allocations: 25.94 kB / 1.171 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.262, allocations: 8 kB / 1.171 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/1.262, allocations: 310.2 kB / 1.171 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/1.265, allocations: 3.228 MB / 1.174 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/1.266, allocations: 449.6 kB / 1.175 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/1.266, allocations: 169.1 kB / 1.175 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/1.266, allocations: 5.406 kB / 1.175 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/1.266, allocations: 41.62 kB / 1.175 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/1.266, allocations: 0.75 kB / 1.175 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009155/1.267, allocations: 0.5475 MB / 1.176 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.267, allocations: 51.41 kB / 1.176 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.269, allocations: 1.526 MB / 1.177 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/1.269, allocations: 46.7 kB / 1.177 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/1.27, allocations: 0.5728 MB / 1.178 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/1.27, allocations: 104.6 kB / 1.178 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/1.27, allocations: 21.38 kB / 1.178 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/1.27, allocations: 353.1 kB / 1.178 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/1.27, allocations: 277.2 kB / 1.178 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/1.271, allocations: 0.8985 MB / 1.179 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/1.271, allocations: 425.9 kB / 1.18 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.271, allocations: 12 kB / 1.18 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002006/1.273, allocations: 1.346 MB / 1.181 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/1.273, allocations: 12 kB / 1.181 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.273, allocations: 24 kB / 1.181 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/1.274, allocations: 196.5 kB / 1.181 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.275, allocations: 232.7 kB / 1.181 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/1.279, allocations: 4.764 MB / 1.186 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.28, allocations: 178 kB / 1.186 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/1.28, allocations: 65.09 kB / 1.186 GB, free: 8.754 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 () * 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.0001635/1.281, allocations: 183.7 kB / 1.187 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.281, allocations: 142.2 kB / 1.187 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/1.281, allocations: 120.5 kB / 1.187 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.281, allocations: 4 kB / 1.187 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.281, allocations: 0 / 1.187 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/1.281, allocations: 4 kB / 1.187 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.282, allocations: 0.943 MB / 1.188 GB, free: 7.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.282, allocations: 4 kB / 1.188 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/1.282, allocations: 39.41 kB / 1.188 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/1.283, allocations: 165.6 kB / 1.188 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.283, allocations: 11.27 kB / 1.188 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/1.287, allocations: 4.708 MB / 1.193 GB, free: 2.711 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.287, allocations: 4.062 kB / 1.193 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.288, allocations: 0.8188 MB / 1.193 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.289, allocations: 0.9429 MB / 1.194 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/1.29, allocations: 11.56 kB / 1.194 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/1.29, allocations: 51.77 kB / 1.194 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/1.291, allocations: 31.7 kB / 1.194 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.291, allocations: 11.25 kB / 1.194 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00213/1.293, allocations: 1.128 MB / 1.195 GB, free: 100 kB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.293, allocations: 0 / 1.195 GB, free: 100 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001612/1.294, allocations: 416 kB / 1.196 GB, free: 15.71 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 () * 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.0004132/1.295, allocations: 223 kB / 1.196 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.296, allocations: 1.034 MB / 1.197 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.296, allocations: 4.188 kB / 1.197 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/1.297, allocations: 0.5369 MB / 1.198 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.299, allocations: 324.1 kB / 1.198 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/1.303, allocations: 1.811 MB / 1.2 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.304, allocations: 1.314 MB / 1.201 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009424/1.305, allocations: 237.6 kB / 1.201 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/1.305, allocations: 70.62 kB / 1.201 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of SimCode: time 1.413e-06/1.305, allocations: 0 / 1.201 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.03901/1.344, allocations: 16.92 MB / 1.218 GB, free: 9.906 MB / 0.7917 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:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar55; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar54; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar55; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar54; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:148: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:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = 0.0; /* defaultValue */ ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:94: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:113: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:35: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:56: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar55; ~~~ ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar57; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_24tmpVar56; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar57; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar56; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:182: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: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_24tmpVar57,tmp14); ~~~^~ . Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:189:41: error: no member named '_D_24tmpVar57' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_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