Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.716/1.716, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009221/0.0009221, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 94.8 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 17 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7868, allocations: 120.3 MB / 1.026 GB, free: 56.53 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/1.003, allocations: 154.8 MB / 1.177 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.003, allocations: 85.88 kB / 1.178 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1246/1.127, allocations: 39.63 MB / 1.216 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.795e-06/1.127, allocations: 0 / 1.216 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002385/1.128, allocations: 39.92 kB / 1.216 GB, free: 11.53 MB / 0.7917 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.005716/1.133, allocations: 1.778 MB / 1.218 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.133, allocations: 8.031 kB / 1.218 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008687/1.134, allocations: 175 kB / 1.218 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/1.14, allocations: 1.913 MB / 1.22 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/1.14, allocations: 61.38 kB / 1.22 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.14, allocations: 84.36 kB / 1.22 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000995/1.141, allocations: 0.5123 MB / 1.221 GB, free: 6.855 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.141, allocations: 4.188 kB / 1.221 GB, free: 6.852 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/1.141, allocations: 27.92 kB / 1.221 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.141, allocations: 12 kB / 1.221 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/1.142, allocations: 327.7 kB / 1.221 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/1.147, allocations: 3.224 MB / 1.224 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/1.148, allocations: 461 kB / 1.225 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/1.148, allocations: 180.8 kB / 1.225 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/1.148, allocations: 5.406 kB / 1.225 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.148, allocations: 46.42 kB / 1.225 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=28): time 3.727e-06/1.149, allocations: 3.938 kB / 1.225 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of matching and sorting (n=28): time 0.002249/1.151, allocations: 1.048 MB / 1.226 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.151, allocations: 55.41 kB / 1.226 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003472/1.154, allocations: 1.726 MB / 1.228 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-05/1.154, allocations: 41.7 kB / 1.228 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/1.155, allocations: 0.5761 MB / 1.228 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/1.155, allocations: 102.6 kB / 1.228 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/1.155, allocations: 24 kB / 1.228 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.155, allocations: 349.9 kB / 1.229 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/1.156, allocations: 298.4 kB / 1.229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.157, allocations: 0.9082 MB / 1.23 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/1.159, allocations: 1.216 MB / 1.231 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/1.159, allocations: 8 kB / 1.231 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00265/1.161, allocations: 1.366 MB / 1.232 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/1.161, allocations: 16 kB / 1.232 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/1.161, allocations: 20 kB / 1.232 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000685/1.162, allocations: 202.6 kB / 1.233 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.163, allocations: 223.6 kB / 1.233 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/1.167, allocations: 4.79 MB / 1.237 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.169, allocations: 178.6 kB / 1.238 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/1.169, allocations: 64 kB / 1.238 GB, free: 4.031 MB / 0.8073 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.0008401/1.17, allocations: 469.1 kB / 1.238 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/1.17, allocations: 134.2 kB / 1.238 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/1.17, allocations: 126.1 kB / 1.238 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.17, allocations: 4 kB / 1.238 GB, free: 3.293 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.17, allocations: 4.25 kB / 1.238 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.17, allocations: 7.984 kB / 1.238 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.172, allocations: 0.9443 MB / 1.239 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.172, allocations: 0 / 1.239 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.172, allocations: 35.97 kB / 1.239 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/1.173, allocations: 166.4 kB / 1.24 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/1.173, allocations: 11.94 kB / 1.24 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/1.177, allocations: 4.717 MB / 1.244 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.177, allocations: 0 / 1.244 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.178, allocations: 0.8419 MB / 1.245 GB, free: 12.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.179, allocations: 0.9445 MB / 1.246 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.179, allocations: 8 kB / 1.246 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/1.18, allocations: 47.92 kB / 1.246 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/1.18, allocations: 27.91 kB / 1.246 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/1.18, allocations: 8 kB / 1.246 GB, free: 10.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001973/1.182, allocations: 1.153 MB / 1.247 GB, free: 9.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 1.247 GB, free: 9.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001657/1.184, allocations: 423.5 kB / 1.248 GB, free: 9.336 MB / 0.823 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.0003683/1.184, allocations: 204.5 kB / 1.248 GB, free: 9.137 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001715/1.186, allocations: 1.067 MB / 1.249 GB, free: 8.035 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.186, allocations: 0 / 1.249 GB, free: 8.035 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/1.187, allocations: 0.5561 MB / 1.249 GB, free: 7.441 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.188, allocations: 325.6 kB / 1.25 GB, free: 7.125 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/1.192, allocations: 2.716 MB / 1.252 GB, free: 4.379 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.194, allocations: 1.297 MB / 1.254 GB, free: 3.047 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008214/1.194, allocations: 233.6 kB / 1.254 GB, free: 2.816 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/1.195, allocations: 71.42 kB / 1.254 GB, free: 2.746 MB / 0.823 GB Notification: Performance of SimCode: time 1.022e-06/1.195, allocations: 0 / 1.254 GB, free: 2.746 MB / 0.823 GB Notification: Performance of Templates: time 0.03515/1.23, allocations: 16.66 MB / 1.27 GB, free: 2.328 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar55; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar54; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar55; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar54; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar57; ^ ; Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar57; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar56; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1