Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008781/0.0008782, allocations: 176 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007068/0.0007068, allocations: 90.91 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 13.84 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.3262, allocations: 145.3 MB / 1.043 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.3265, allocations: 83.97 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4136/0.7401, allocations: 39.3 MB / 1.082 GB, free: 142.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7401, allocations: 0 / 1.082 GB, free: 142.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001811/0.7403, allocations: 32.31 kB / 1.082 GB, free: 142.9 MB / 0.698 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.004725/0.745, allocations: 1.782 MB / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7451, allocations: 12.22 kB / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.7455, allocations: 168 kB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004034/0.7496, allocations: 1.921 MB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.7496, allocations: 52.31 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.7497, allocations: 79.66 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.7505, allocations: 0.5203 MB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.7505, allocations: 4.125 kB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.7505, allocations: 27.66 kB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.7506, allocations: 11.34 kB / 1.086 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.751, allocations: 328.3 kB / 1.086 GB, free: 140.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.754, allocations: 3.23 MB / 1.09 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.7548, allocations: 451 kB / 1.09 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.755, allocations: 182.7 kB / 1.09 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.7551, allocations: 3.375 kB / 1.09 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.7551, allocations: 39.84 kB / 1.09 GB, free: 138.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/0.7551, allocations: 0 / 1.09 GB, free: 138.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001612/0.7567, allocations: 1.056 MB / 1.091 GB, free: 137.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.7567, allocations: 59.36 kB / 1.091 GB, free: 137.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.7585, allocations: 1.723 MB / 1.093 GB, free: 137 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.7585, allocations: 43.92 kB / 1.093 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.7589, allocations: 0.5773 MB / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.759, allocations: 104.8 kB / 1.094 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.759, allocations: 27.94 kB / 1.094 GB, free: 136.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.7591, allocations: 355.7 kB / 1.094 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.7595, allocations: 293.2 kB / 1.094 GB, free: 136.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.76, allocations: 0.9097 MB / 1.095 GB, free: 135.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.7609, allocations: 1.208 MB / 1.096 GB, free: 134 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.7609, allocations: 7.156 kB / 1.096 GB, free: 134 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001596/0.7625, allocations: 1.382 MB / 1.098 GB, free: 133.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.7625, allocations: 14.69 kB / 1.098 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.7625, allocations: 22.22 kB / 1.098 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/0.763, allocations: 194 kB / 1.098 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.7636, allocations: 227.5 kB / 1.098 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.7663, allocations: 4.771 MB / 1.103 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7674, allocations: 182.8 kB / 1.103 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.7675, allocations: 59.84 kB / 1.103 GB, free: 128.4 MB / 0.698 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.0005247/0.768, allocations: 477.1 kB / 1.103 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.7682, allocations: 134.2 kB / 1.104 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.7683, allocations: 130.1 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.7683, allocations: 0 / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.7683, allocations: 4 kB / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7684, allocations: 0 / 1.104 GB, free: 127.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.7691, allocations: 0.9482 MB / 1.105 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7692, allocations: 4 kB / 1.105 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7693, allocations: 35.92 kB / 1.105 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/0.7697, allocations: 166.6 kB / 1.105 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.7697, allocations: 15.92 kB / 1.105 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.7722, allocations: 4.713 MB / 1.109 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7722, allocations: 4.031 kB / 1.109 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.7732, allocations: 0.8361 MB / 1.11 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.7737, allocations: 0.9484 MB / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.7738, allocations: 11.98 kB / 1.111 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.7744, allocations: 51.86 kB / 1.111 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.7745, allocations: 23.97 kB / 1.111 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.7745, allocations: 12 kB / 1.111 GB, free: 119.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001213/0.7757, allocations: 1.149 MB / 1.112 GB, free: 118.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7757, allocations: 0 / 1.112 GB, free: 118.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001117/0.7768, allocations: 415.6 kB / 1.113 GB, free: 117.7 MB / 0.698 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.0002458/0.7771, allocations: 206 kB / 1.113 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.7783, allocations: 1.058 MB / 1.114 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7783, allocations: 1.812 kB / 1.114 GB, free: 116.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.7788, allocations: 0.5586 MB / 1.115 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.7801, allocations: 315.9 kB / 1.115 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.7829, allocations: 2.736 MB / 1.118 GB, free: 112.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7835, allocations: 1.297 MB / 1.119 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005431/0.7841, allocations: 237.6 kB / 1.119 GB, free: 111.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.7842, allocations: 67.44 kB / 1.119 GB, free: 111.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.7842, allocations: 0 / 1.119 GB, free: 111.1 MB / 0.698 GB Notification: Performance of Templates: time 0.0226/0.8068, allocations: 16.67 MB / 1.135 GB, free: 94.68 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar55; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar54; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:126:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar55; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:127:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar54; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar57; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar57; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar56; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1