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="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",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.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11 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.00106/0.00106, allocations: 174.7 kB / 326.5 MB, free: 2.246 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.619/1.619, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008072/0.000807, allocations: 95.83 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003042, allocations: 13 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.3762, allocations: 145.3 MB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3765, allocations: 91.94 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5985/0.9749, allocations: 39.24 MB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.975, allocations: 5.094 kB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002361/0.9752, allocations: 28.44 kB / 1.08 GB, free: 143.1 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.006354/0.9816, allocations: 1.798 MB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.9816, allocations: 14.75 kB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008082/0.9824, allocations: 168.2 kB / 1.082 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.9879, allocations: 1.867 MB / 1.084 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.988, allocations: 55.41 kB / 1.084 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.9881, allocations: 78.19 kB / 1.084 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.989, allocations: 0.5198 MB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.989, allocations: 3.969 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.9891, allocations: 16.28 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.9891, allocations: 11.44 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.9896, allocations: 333.3 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.9929, allocations: 3.228 MB / 1.088 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.9938, allocations: 452.2 kB / 1.089 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.9938, allocations: 3.812 kB / 1.089 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.9938, allocations: 37.23 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.9938, allocations: 0 / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001686/0.9955, allocations: 1.044 MB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.9955, allocations: 55.19 kB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.9972, allocations: 1.547 MB / 1.091 GB, free: 137.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.9972, allocations: 44.02 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.9976, allocations: 0.5769 MB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.071e-05/0.9977, allocations: 102.7 kB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.9977, allocations: 17.72 kB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.9978, allocations: 361.7 kB / 1.092 GB, free: 136.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.9982, allocations: 293.3 kB / 1.093 GB, free: 136.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.9988, allocations: 0.9093 MB / 1.094 GB, free: 135.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.9993, allocations: 434.8 kB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.9993, allocations: 7.688 kB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001649/1.001, allocations: 1.371 MB / 1.095 GB, free: 134.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.001, allocations: 13.53 kB / 1.095 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.001, allocations: 24.53 kB / 1.095 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/1.002, allocations: 206.1 kB / 1.096 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/1.002, allocations: 224.1 kB / 1.096 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/1.005, allocations: 4.838 MB / 1.1 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.006, allocations: 180.3 kB / 1.101 GB, free: 129.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.006, allocations: 61.06 kB / 1.101 GB, free: 129.8 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.0005661/1.007, allocations: 467.8 kB / 1.101 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/1.007, allocations: 138.7 kB / 1.101 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/1.007, allocations: 122.7 kB / 1.101 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.007, allocations: 7.609 kB / 1.101 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.007, allocations: 3.562 kB / 1.101 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.007, allocations: 0 / 1.101 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/1.008, allocations: 0.9425 MB / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.008, allocations: 0 / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/1.008, allocations: 43.91 kB / 1.102 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004093/1.009, allocations: 166.8 kB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/1.009, allocations: 4 kB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/1.012, allocations: 4.787 MB / 1.107 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.012, allocations: 0 / 1.107 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.013, allocations: 0.844 MB / 1.108 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006853/1.013, allocations: 0.9407 MB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/1.013, allocations: 8 kB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006427/1.014, allocations: 55.77 kB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/1.014, allocations: 24.06 kB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.014, allocations: 8 kB / 1.109 GB, free: 120.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00136/1.016, allocations: 1.149 MB / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.016, allocations: 0 / 1.11 GB, free: 119.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001212/1.017, allocations: 411.7 kB / 1.111 GB, free: 119.4 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.0003165/1.017, allocations: 215.1 kB / 1.111 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001272/1.018, allocations: 1.075 MB / 1.112 GB, free: 118.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.018, allocations: 3.938 kB / 1.112 GB, free: 118.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/1.019, allocations: 0.5544 MB / 1.112 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.02, allocations: 320.7 kB / 1.113 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/1.023, allocations: 2.715 MB / 1.115 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/1.024, allocations: 1.324 MB / 1.117 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005343/1.024, allocations: 237.5 kB / 1.117 GB, free: 112.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.024, allocations: 71.44 kB / 1.117 GB, free: 112.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.024, allocations: 0 / 1.117 GB, free: 112.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02377/1.048, allocations: 16.43 MB / 1.133 GB, free: 96.54 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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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 -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -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:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar55; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar54; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar55; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar54; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar57; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar57; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar56; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1