Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.265/2.265, allocations: 390.3 MB / 402.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 95.88 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.77e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3058, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9481/1.254, allocations: 160.4 MB / 1.375 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.254, allocations: 73.33 kB / 1.375 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1479/1.402, allocations: 34.23 MB / 1.409 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.402, allocations: 0 / 1.409 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001683/1.402, allocations: 16 kB / 1.409 GB, free: 11.77 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003172/1.406, allocations: 0.9921 MB / 1.41 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.406, allocations: 12.03 kB / 1.41 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/1.407, allocations: 110.7 kB / 1.41 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/1.412, allocations: 2.015 MB / 1.412 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/1.412, allocations: 38.72 kB / 1.412 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/1.412, allocations: 56.86 kB / 1.412 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/1.413, allocations: 0.5302 MB / 1.413 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.413, allocations: 0 / 1.413 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/1.413, allocations: 18.56 kB / 1.413 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/1.413, allocations: 8 kB / 1.413 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/1.414, allocations: 332 kB / 1.413 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/1.418, allocations: 3.126 MB / 1.416 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/1.419, allocations: 0.652 MB / 1.417 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/1.42, allocations: 191.2 kB / 1.417 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/1.42, allocations: 4 kB / 1.417 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.42, allocations: 41.3 kB / 1.417 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/1.42, allocations: 0 / 1.417 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0009783/1.421, allocations: 0.4913 MB / 1.417 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.421, allocations: 51.41 kB / 1.417 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.423, allocations: 1.264 MB / 1.419 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.423, allocations: 35.64 kB / 1.419 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/1.423, allocations: 411 kB / 1.419 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/1.423, allocations: 118.9 kB / 1.419 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/1.423, allocations: 14.44 kB / 1.419 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.423, allocations: 340.9 kB / 1.419 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/1.424, allocations: 270.2 kB / 1.42 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/1.424, allocations: 0.5706 MB / 1.42 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/1.425, allocations: 381.8 kB / 1.421 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/1.425, allocations: 4 kB / 1.421 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001985/1.427, allocations: 1.228 MB / 1.422 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.427, allocations: 8 kB / 1.422 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.427, allocations: 12 kB / 1.422 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/1.428, allocations: 447 kB / 1.422 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/1.429, allocations: 118.7 kB / 1.422 GB, free: 140 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/1.435, allocations: 4.829 MB / 1.427 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.437, allocations: 437.9 kB / 1.427 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.437, allocations: 31.75 kB / 1.428 GB, free: 11.85 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.438, allocations: 149.4 kB / 1.428 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.438, allocations: 86.88 kB / 1.428 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/1.438, allocations: 104.5 kB / 1.428 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.438, allocations: 7.953 kB / 1.428 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.438, allocations: 0 / 1.428 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.438, allocations: 3.938 kB / 1.428 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.439, allocations: 1.121 MB / 1.429 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.439, allocations: 0 / 1.429 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/1.44, allocations: 95.59 kB / 1.429 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/1.44, allocations: 39.95 kB / 1.429 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/1.44, allocations: 15.55 kB / 1.429 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.441, allocations: 1.428 MB / 1.43 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.441, allocations: 0 / 1.43 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.442, allocations: 0.8042 MB / 1.431 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.443, allocations: 0.949 MB / 1.432 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.443, allocations: 19.94 kB / 1.432 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.444, allocations: 199.6 kB / 1.432 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/1.444, allocations: 23.95 kB / 1.432 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.444, allocations: 4 kB / 1.432 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001398/1.446, allocations: 0.9556 MB / 1.433 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/1.446, allocations: 4 kB / 1.433 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001529/1.447, allocations: 0.5817 MB / 1.434 GB, free: 5.305 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000384/1.448, allocations: 238.2 kB / 1.434 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001712/1.45, allocations: 0.9051 MB / 1.435 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.45, allocations: 0 / 1.435 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/1.45, allocations: 318.4 kB / 1.435 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.451, allocations: 264.5 kB / 1.436 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.454, allocations: 1.975 MB / 1.438 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/1.455, allocations: 1.172 MB / 1.439 GB, free: 364 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006175/1.455, allocations: 258.8 kB / 1.439 GB, free: 100 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/1.456, allocations: 55.44 kB / 1.439 GB, free: 44 kB / 0.8855 GB Notification: Performance of SimCode: time 2.224e-06/1.456, allocations: 0 / 1.439 GB, free: 44 kB / 0.8855 GB Notification: Performance of Templates: time 0.0289/1.485, allocations: 16.67 MB / 1.455 GB, free: 15.54 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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_latest_Buildings_HeatTransfer_Examples_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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_latest_Buildings_HeatTransfer_Examples_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings_HeatTransfer_Examples_ConductorInitialization -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar7; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar6; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar7; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar6; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:148:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = 0.0; /* defaultValue */ ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:93: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:159:112: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:34: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:160:54: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar7 = ths->_D_24tmpVar7 + ths->_D_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar7; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar9; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar8; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar9; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar8; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:182:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar9,tmp14); ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:189:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar9,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1