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.629/2.629, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001149/0.00115, allocations: 187.8 kB / 0.4902 GB, free: 2.293 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.787/1.787, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.00129/0.00129, allocations: 100.2 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.000368, allocations: 8.188 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3661, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.221/0.5872, allocations: 160.4 MB / 1.386 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5875, allocations: 83.95 kB / 1.386 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1249/0.7124, allocations: 34.2 MB / 1.419 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7124, allocations: 0 / 1.419 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.7125, allocations: 16 kB / 1.419 GB, free: 6.605 MB / 0.9167 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.00402/0.7165, allocations: 1.608 MB / 1.421 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7166, allocations: 8.562 kB / 1.421 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.7169, allocations: 118.7 kB / 1.421 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.7212, allocations: 2.077 MB / 1.423 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.7213, allocations: 36.66 kB / 1.423 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.7214, allocations: 51.95 kB / 1.423 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.7222, allocations: 0.5433 MB / 1.424 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7222, allocations: 0 / 1.424 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.7223, allocations: 12 kB / 1.424 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.7223, allocations: 8 kB / 1.424 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.7228, allocations: 353.8 kB / 1.424 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6208/1.344, allocations: 3.123 MB / 1.427 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/1.346, allocations: 0.6661 MB / 1.428 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.346, allocations: 0 / 1.428 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.346, allocations: 44.16 kB / 1.428 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 2.976e-06/1.346, allocations: 0 / 1.428 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.00159/1.347, allocations: 0.7701 MB / 1.429 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.348, allocations: 54.5 kB / 1.429 GB, free: 178 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.349, allocations: 1.272 MB / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/1.349, allocations: 39.83 kB / 1.43 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/1.35, allocations: 415.2 kB / 1.43 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.35, allocations: 104.9 kB / 1.43 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/1.35, allocations: 10.22 kB / 1.43 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/1.35, allocations: 336.2 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/1.351, allocations: 285.7 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/1.351, allocations: 0.5816 MB / 1.432 GB, free: 177 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/1.352, allocations: 391.1 kB / 1.432 GB, free: 177 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.352, allocations: 6.312 kB / 1.432 GB, free: 177 MB / 0.9167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002313/1.354, allocations: 1.245 MB / 1.433 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/1.354, allocations: 10.41 kB / 1.433 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.354, allocations: 15.22 kB / 1.433 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.356, allocations: 447.9 kB / 1.434 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/1.356, allocations: 111.2 kB / 1.434 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/1.363, allocations: 4.997 MB / 1.439 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.366, allocations: 436.9 kB / 1.439 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/1.366, allocations: 32.09 kB / 1.439 GB, free: 175.5 MB / 0.9167 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 () * Number of clocked 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.0008025/1.367, allocations: 428.5 kB / 1.439 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.367, allocations: 92.97 kB / 1.44 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/1.367, allocations: 105.9 kB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.367, allocations: 5.438 kB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.367, allocations: 3.688 kB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.367, allocations: 5.438 kB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.369, allocations: 1.119 MB / 1.441 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.369, allocations: 0 / 1.441 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/1.369, allocations: 92.86 kB / 1.441 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/1.369, allocations: 49.17 kB / 1.441 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/1.369, allocations: 13.52 kB / 1.441 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/1.371, allocations: 1.43 MB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.371, allocations: 0.5 kB / 1.442 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.372, allocations: 0.8251 MB / 1.443 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.373, allocations: 0.9484 MB / 1.444 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.373, allocations: 19.41 kB / 1.444 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.374, allocations: 209 kB / 1.444 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/1.374, allocations: 17.36 kB / 1.444 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/1.374, allocations: 10.03 kB / 1.444 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001734/1.376, allocations: 0.9631 MB / 1.445 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.41e-07/1.376, allocations: 0 / 1.445 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002072/1.378, allocations: 0.5772 MB / 1.446 GB, free: 172.8 MB / 0.9167 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 () * Number of clocked 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.0004066/1.379, allocations: 241.8 kB / 1.446 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.381, allocations: 0.9231 MB / 1.447 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.381, allocations: 0 / 1.447 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005602/1.381, allocations: 324.5 kB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.382, allocations: 270.1 kB / 1.447 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/1.387, allocations: 2.642 MB / 1.45 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/1.388, allocations: 1.173 MB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007099/1.388, allocations: 255.1 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/1.389, allocations: 53.81 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/1.389, allocations: 1.031 kB / 1.451 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.02905/1.418, allocations: 16.06 MB / 1.467 GB, free: 168.5 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:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar7; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar6; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar7; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar6; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:131: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:134:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = 0.0; /* defaultValue */ ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:97: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:142:116: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar6 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:143:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:143:38: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:143:62: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar7 = ths->__omcQ_24tmpVar7 + ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:150:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar7; ~~~ ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar9; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_24tmpVar8; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar9; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar8; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_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_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:165: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: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_24tmpVar9,tmp14); ~~~^~ . Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:172:41: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->__omcQ_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