Running command: translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU") Notification: Performance of loadModel(Buildings): time 3.458/3.458, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.77e-05, allocations: 4 kB / 0.5003 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 92.69 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.438/1.603, allocations: 441.2 MB / 1.022 GB, free: 130.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004587/1.604, allocations: 106.5 kB / 1.022 GB, free: 130.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.1/7.704, allocations: 1.265 GB / 2.287 GB, free: 53.19 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.577e-06/7.704, allocations: 0 / 2.287 GB, free: 53.19 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001315/7.705, allocations: 147.8 kB / 2.287 GB, free: 53.04 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: 728 * Number of variables: 728 Notification: Performance of Generate backend data structure: time 0.02015/7.725, allocations: 6.016 MB / 2.293 GB, free: 46.95 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/7.726, allocations: 8.031 kB / 2.293 GB, free: 46.94 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/7.731, allocations: 0.7413 MB / 2.293 GB, free: 46.19 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0895/7.82, allocations: 31 MB / 2.324 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/7.821, allocations: 265.7 kB / 2.324 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/7.823, allocations: 383.9 kB / 2.324 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/7.836, allocations: 4.393 MB / 2.329 GB, free: 9.812 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/7.836, allocations: 7.938 kB / 2.329 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009679/7.837, allocations: 116 kB / 2.329 GB, free: 9.691 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-05/7.837, allocations: 83.98 kB / 2.329 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/7.847, allocations: 3.514 MB / 2.332 GB, free: 6.082 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/7.896, allocations: 22.8 MB / 2.355 GB, free: 14.61 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/7.908, allocations: 4.134 MB / 2.359 GB, free: 10.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5675/8.476, allocations: 11.21 MB / 2.37 GB, free: 98.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004638/8.481, allocations: 1.615 MB / 2.371 GB, free: 98.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=182): time 6.168e-06/8.481, allocations: 0 / 2.371 GB, free: 98.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=188): time 0.03419/8.515, allocations: 10.69 MB / 2.382 GB, free: 96.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/8.515, allocations: 184.1 kB / 2.382 GB, free: 95.83 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02065/8.536, allocations: 8.371 MB / 2.39 GB, free: 95.46 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008649/8.537, allocations: 93.77 kB / 2.39 GB, free: 95.43 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004665/8.541, allocations: 2.764 MB / 2.393 GB, free: 94.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/8.543, allocations: 0.693 MB / 2.393 GB, free: 94.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/8.543, allocations: 71.97 kB / 2.393 GB, free: 94.62 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003902/8.544, allocations: 473.2 kB / 2.394 GB, free: 94.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005197/8.549, allocations: 2.2 MB / 2.396 GB, free: 94.31 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006696/8.556, allocations: 4.184 MB / 2.4 GB, free: 92.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006132/8.562, allocations: 2.804 MB / 2.403 GB, free: 92.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.638e-05/8.562, allocations: 14.56 kB / 2.403 GB, free: 92.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.01698/8.579, allocations: 6.607 MB / 2.409 GB, free: 91.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004771/8.584, allocations: 25.76 MB / 2.434 GB, free: 64.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/8.584, allocations: 51.92 kB / 2.435 GB, free: 64.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009392/8.585, allocations: 251.9 kB / 2.435 GB, free: 64.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/8.59, allocations: 1.044 MB / 2.436 GB, free: 64.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/8.594, allocations: 4.79 MB / 2.44 GB, free: 61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/8.608, allocations: 1.882 MB / 2.442 GB, free: 60.98 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009847/8.609, allocations: 199.5 kB / 2.442 GB, free: 60.98 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/8.609, allocations: 3.562 kB / 2.442 GB, free: 60.98 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01227/8.621, allocations: 6.029 MB / 2.448 GB, free: 60.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/8.621, allocations: 53.62 kB / 2.448 GB, free: 60.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/8.622, allocations: 252.7 kB / 2.449 GB, free: 60.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005256/8.627, allocations: 1.039 MB / 2.45 GB, free: 60.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/8.631, allocations: 4.781 MB / 2.454 GB, free: 57.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/8.644, allocations: 1.876 MB / 2.456 GB, free: 57.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/8.645, allocations: 190.7 kB / 2.456 GB, free: 57.09 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 235 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (458): * Single equations (assignments): 454 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005943/8.651, allocations: 2.667 MB / 2.459 GB, free: 56.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/8.653, allocations: 0.5566 MB / 2.46 GB, free: 56.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/8.662, allocations: 4.008 MB / 2.463 GB, free: 56.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/8.662, allocations: 25.91 kB / 2.463 GB, free: 56.43 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/8.662, allocations: 3.719 kB / 2.463 GB, free: 56.43 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006031/8.668, allocations: 3.116 MB / 2.466 GB, free: 55.89 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/8.691, allocations: 10.67 MB / 2.477 GB, free: 55.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/8.691, allocations: 2.25 kB / 2.477 GB, free: 55.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/8.694, allocations: 495.8 kB / 2.477 GB, free: 55.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/8.696, allocations: 304.1 kB / 2.478 GB, free: 55.12 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/8.696, allocations: 99.36 kB / 2.478 GB, free: 55.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/8.701, allocations: 6.416 MB / 2.484 GB, free: 49.81 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/8.701, allocations: 1.5 kB / 2.484 GB, free: 49.81 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/8.712, allocations: 5.423 MB / 2.489 GB, free: 48.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007051/8.719, allocations: 4.838 MB / 2.494 GB, free: 45.38 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/8.721, allocations: 89.36 kB / 2.494 GB, free: 45.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007654/8.729, allocations: 0.9775 MB / 2.495 GB, free: 45.37 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/8.729, allocations: 136.4 kB / 2.495 GB, free: 45.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/8.73, allocations: 64.98 kB / 2.495 GB, free: 45.36 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01394/8.743, allocations: 6.311 MB / 2.501 GB, free: 45.14 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.076e-06/8.744, allocations: 0 / 2.501 GB, free: 45.14 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01498/8.759, allocations: 3.169 MB / 2.505 GB, free: 45.14 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 33 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla1.con_b[1].lay[2].T[3],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla2.con_b[1].lay[2].T[3],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],sla3.sla.con_b[1].lay[2].T[3],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003769/8.762, allocations: 1.776 MB / 2.506 GB, free: 44.83 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0157/8.778, allocations: 8.34 MB / 2.514 GB, free: 43.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.181e-06/8.778, allocations: 0 / 2.514 GB, free: 43.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003666/8.782, allocations: 1.846 MB / 2.516 GB, free: 43.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01459/8.796, allocations: 2.477 MB / 2.519 GB, free: 43.58 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03106/8.827, allocations: 16.52 MB / 2.535 GB, free: 38.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008634/8.836, allocations: 4.549 MB / 2.539 GB, free: 37.21 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02077/8.857, allocations: 5.697 MB / 2.545 GB, free: 37 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/8.858, allocations: 296.1 kB / 2.545 GB, free: 36.99 MB / 0.823 GB Notification: Performance of SimCode: time 1.96e-06/8.859, allocations: 0 / 2.545 GB, free: 36.99 MB / 0.823 GB Notification: Performance of Templates: time 0.2814/9.14, allocations: 128.4 MB / 2.67 GB, free: 7.465 MB / 0.8542 GB make -j1 -f Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.makefile clang -Os -fPIC -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_5_0_1_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.c clang -Os -fPIC -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_5_0_1_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_functions.o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_functions.c clang -Os -fPIC -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_5_0_1_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.o Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4148:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar5; ^ ; Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4149:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar4; ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4148:19: note: previous definition is here modelica_real ths->_D_24tmpVar5; ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4149:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar4; ^ ; Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4155:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4158:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = 0.0; /* defaultValue */ ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4166:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4166:93: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_functions.h:175: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_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4166:112: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar4 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_functions.h:175: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_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4167:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4167:34: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4167:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar5 = ths->_D_24tmpVar5 + ths->_D_24tmpVar4; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4174:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar5; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4180:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar7; ^ ; Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4181: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_24tmpVar6; ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4180:19: note: previous definition is here integer_array ths->_D_24tmpVar7; ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4181:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar6; ^ ; Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4189: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_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4189:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4196: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_24tmpVar7,tmp14); ~~~^~ . Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.c:4196:41: error: no member named '_D_24tmpVar7' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar7,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.o' failed make: *** [Buildings_5.0.1_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_records.o] Error 1