Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.001931, allocations: 182.5 kB / 377.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6367 GB, free: 8.512 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.0009128, allocations: 96.36 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 15.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 116.3 MB / 0.9883 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7895/1.103, allocations: 149.3 MB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/1.103, allocations: 82.64 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1142/1.217, allocations: 33.8 MB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/1.217, allocations: 0 / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.426e-05/1.217, allocations: 20 kB / 1.167 GB, free: 15.32 MB / 0.7448 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.004663/1.222, allocations: 1.609 MB / 1.169 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.222, allocations: 12.02 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/1.223, allocations: 110.1 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/1.227, allocations: 2.085 MB / 1.171 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/1.227, allocations: 32.66 kB / 1.171 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/1.227, allocations: 52 kB / 1.171 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/1.228, allocations: 0.536 MB / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.228, allocations: 3.938 kB / 1.172 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/1.228, allocations: 16 kB / 1.172 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/1.228, allocations: 13.03 kB / 1.172 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/1.229, allocations: 341.9 kB / 1.172 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/1.233, allocations: 3.136 MB / 1.175 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.235, allocations: 0.6635 MB / 1.176 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/1.235, allocations: 4 kB / 1.176 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/1.235, allocations: 36.44 kB / 1.176 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.375e-06/1.235, allocations: 4 kB / 1.176 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.001351/1.236, allocations: 0.7639 MB / 1.176 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/1.236, allocations: 51.41 kB / 1.177 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/1.238, allocations: 1.279 MB / 1.178 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/1.238, allocations: 37.69 kB / 1.178 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/1.238, allocations: 412.8 kB / 1.178 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/1.238, allocations: 111.5 kB / 1.178 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/1.238, allocations: 15.94 kB / 1.178 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.239, allocations: 338 kB / 1.179 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/1.239, allocations: 285.1 kB / 1.179 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/1.24, allocations: 0.5823 MB / 1.179 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/1.24, allocations: 382 kB / 1.18 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.24, allocations: 0 / 1.18 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001975/1.242, allocations: 1.255 MB / 1.181 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.242, allocations: 9.562 kB / 1.181 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.242, allocations: 12 kB / 1.181 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/1.243, allocations: 442.8 kB / 1.182 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/1.244, allocations: 116.8 kB / 1.182 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/1.25, allocations: 4.994 MB / 1.187 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/1.252, allocations: 430.5 kB / 1.187 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/1.252, allocations: 34.06 kB / 1.187 GB, free: 10.53 MB / 0.7605 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.0007459/1.253, allocations: 437.2 kB / 1.187 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1.253, allocations: 90.78 kB / 1.187 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/1.253, allocations: 104.8 kB / 1.188 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/1.253, allocations: 4 kB / 1.188 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.253, allocations: 0 / 1.188 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.253, allocations: 0 / 1.188 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.255, allocations: 1.13 MB / 1.189 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.255, allocations: 0.9375 kB / 1.189 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/1.255, allocations: 95.84 kB / 1.189 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/1.255, allocations: 40.83 kB / 1.189 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/1.255, allocations: 15.98 kB / 1.189 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/1.257, allocations: 1.432 MB / 1.19 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.257, allocations: 0 / 1.19 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.258, allocations: 0.8253 MB / 1.191 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.259, allocations: 0.9457 MB / 1.192 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.259, allocations: 20.92 kB / 1.192 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.261, allocations: 207.5 kB / 1.192 GB, free: 4.844 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/1.261, allocations: 19.97 kB / 1.192 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/1.261, allocations: 11.94 kB / 1.192 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001795/1.262, allocations: 0.9666 MB / 1.193 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/1.262, allocations: 0 / 1.193 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001824/1.264, allocations: 0.5818 MB / 1.194 GB, free: 3.254 MB / 0.7605 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.0004913/1.265, allocations: 219.8 kB / 1.194 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00213/1.267, allocations: 0.9322 MB / 1.195 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/1.267, allocations: 0 / 1.195 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004667/1.267, allocations: 327 kB / 1.195 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.269, allocations: 268.2 kB / 1.195 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/1.272, allocations: 2.636 MB / 1.198 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008221/1.273, allocations: 1.169 MB / 1.199 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006285/1.274, allocations: 258.8 kB / 1.199 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/1.274, allocations: 56.12 kB / 1.199 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/1.274, allocations: 0 / 1.199 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.02854/1.303, allocations: 16.07 MB / 1.215 GB, free: 13.48 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization.o Buildings_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_functions.o Buildings_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar7; ^ ; Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar6; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:124:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar7; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:125:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar6; ^ ; Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:22: error: expected ';' at end of declaration integer_array ths->__omcQ_24tmpVar9; ^ ; Buildings_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:156:19: note: previous definition is here integer_array ths->__omcQ_24tmpVar9; ^ Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.c:157:25: error: expected ';' at end of declaration modelica_integer ths->__omcQ_24tmpVar8; ^ ; Buildings_8_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_8_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_8_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_8_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_8_Buildings.HeatTransfer.Examples.ConductorInitialization_records.o] Error 1