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.571/1.571, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 188.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.000907/0.0009069, allocations: 90.17 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.545e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7704/0.9741, allocations: 145.2 MB / 1.034 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.9744, allocations: 81.33 kB / 1.034 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/1.102, allocations: 39.27 MB / 1.072 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.614e-06/1.102, allocations: 0 / 1.072 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001238/1.102, allocations: 31.94 kB / 1.072 GB, free: 3.734 MB / 0.6823 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.002289/1.104, allocations: 1.268 MB / 1.073 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.104, allocations: 12.03 kB / 1.073 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/1.105, allocations: 166.3 kB / 1.073 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/1.109, allocations: 1.837 MB / 1.075 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/1.109, allocations: 52.94 kB / 1.075 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.109, allocations: 81.5 kB / 1.075 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/1.11, allocations: 0.5027 MB / 1.076 GB, free: 380 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/1.11, allocations: 4 kB / 1.076 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/1.11, allocations: 18.19 kB / 1.076 GB, free: 372 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.11, allocations: 12 kB / 1.076 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/1.11, allocations: 310.7 kB / 1.076 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/1.115, allocations: 3.23 MB / 1.079 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/1.116, allocations: 447.6 kB / 1.08 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/1.117, allocations: 171.4 kB / 1.08 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/1.117, allocations: 5.406 kB / 1.08 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.117, allocations: 30.56 kB / 1.08 GB, free: 12.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 4.489e-06/1.117, allocations: 4 kB / 1.08 GB, free: 12.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001312/1.118, allocations: 0.5501 MB / 1.08 GB, free: 12.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.118, allocations: 55.41 kB / 1.081 GB, free: 12.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/1.12, allocations: 1.514 MB / 1.082 GB, free: 11.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/1.12, allocations: 52.81 kB / 1.082 GB, free: 10.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/1.121, allocations: 0.579 MB / 1.083 GB, free: 10.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/1.121, allocations: 104.9 kB / 1.083 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/1.121, allocations: 18.94 kB / 1.083 GB, free: 10.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.121, allocations: 352.2 kB / 1.083 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/1.122, allocations: 287.8 kB / 1.083 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/1.122, allocations: 0.8913 MB / 1.084 GB, free: 8.953 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/1.123, allocations: 418.5 kB / 1.085 GB, free: 8.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.123, allocations: 8 kB / 1.085 GB, free: 8.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002434/1.125, allocations: 1.351 MB / 1.086 GB, free: 7.484 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/1.126, allocations: 15.98 kB / 1.086 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/1.126, allocations: 24 kB / 1.086 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/1.126, allocations: 197.5 kB / 1.086 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/1.127, allocations: 226.3 kB / 1.086 GB, free: 7.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004269/1.131, allocations: 4.777 MB / 1.091 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.133, allocations: 178.5 kB / 1.091 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.133, allocations: 60 kB / 1.091 GB, free: 1.969 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 () * 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.0002071/1.133, allocations: 180.5 kB / 1.091 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/1.134, allocations: 142.2 kB / 1.092 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/1.134, allocations: 118.2 kB / 1.092 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.134, allocations: 4 kB / 1.092 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.134, allocations: 4 kB / 1.092 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.134, allocations: 3.984 kB / 1.092 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.136, allocations: 0.9404 MB / 1.093 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.136, allocations: 3.938 kB / 1.093 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.136, allocations: 43.91 kB / 1.093 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/1.136, allocations: 162.4 kB / 1.093 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.136, allocations: 8 kB / 1.093 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/1.141, allocations: 4.702 MB / 1.097 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.141, allocations: 4 kB / 1.097 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.142, allocations: 0.8315 MB / 1.098 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.143, allocations: 0.9407 MB / 1.099 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.143, allocations: 8 kB / 1.099 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/1.144, allocations: 59.77 kB / 1.099 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.95e-05/1.144, allocations: 23.97 kB / 1.099 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/1.144, allocations: 4.094 kB / 1.099 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001848/1.146, allocations: 1.128 MB / 1.1 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.146, allocations: 0 / 1.1 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001537/1.148, allocations: 419.6 kB / 1.101 GB, free: 7.625 MB / 0.7136 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.0003879/1.148, allocations: 218.9 kB / 1.101 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.15, allocations: 1.036 MB / 1.102 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.15, allocations: 0 / 1.102 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000705/1.151, allocations: 0.5428 MB / 1.103 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.152, allocations: 320.6 kB / 1.103 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/1.155, allocations: 1.82 MB / 1.105 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.156, allocations: 1.324 MB / 1.106 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007442/1.157, allocations: 237.6 kB / 1.106 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/1.157, allocations: 67.44 kB / 1.106 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of SimCode: time 1.664e-06/1.157, allocations: 0 / 1.106 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.03183/1.189, allocations: 16.92 MB / 1.123 GB, free: 1.184 MB / 0.7292 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:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar55; ^ ; Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar54; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar55; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar54; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar57; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar57; ^ Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar56; ^ ; Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1