Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001342/0.001342, allocations: 184 kB / 492.3 MB, free: 0.6172 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.47/1.47, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008368/0.0008365, allocations: 98.8 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.064e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9714/1.247, allocations: 162.7 MB / 1.371 GB, free: 18.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.248, allocations: 75.48 kB / 1.371 GB, free: 18.75 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1125/1.36, allocations: 39.63 MB / 1.41 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.975e-06/1.36, allocations: 0 / 1.41 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000128/1.36, allocations: 28 kB / 1.41 GB, free: 17.05 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002525/1.363, allocations: 1.276 MB / 1.411 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/1.363, allocations: 12.03 kB / 1.411 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/1.364, allocations: 170.2 kB / 1.412 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/1.368, allocations: 1.834 MB / 1.413 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/1.368, allocations: 57.5 kB / 1.413 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.368, allocations: 76.62 kB / 1.413 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009394/1.369, allocations: 0.4949 MB / 1.414 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.369, allocations: 11.98 kB / 1.414 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/1.369, allocations: 20.44 kB / 1.414 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.369, allocations: 8 kB / 1.414 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/1.37, allocations: 311.7 kB / 1.414 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/1.374, allocations: 3.23 MB / 1.417 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/1.375, allocations: 448.1 kB / 1.418 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/1.375, allocations: 166.9 kB / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/1.375, allocations: 5.406 kB / 1.418 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.376, allocations: 45.44 kB / 1.418 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.514e-06/1.376, allocations: 0 / 1.418 GB, free: 9.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.001065/1.377, allocations: 0.5501 MB / 1.419 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.377, allocations: 59.41 kB / 1.419 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.379, allocations: 1.524 MB / 1.42 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/1.379, allocations: 45.64 kB / 1.42 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/1.379, allocations: 0.57 MB / 1.421 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.379, allocations: 105.3 kB / 1.421 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/1.379, allocations: 19.56 kB / 1.421 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.379, allocations: 353.4 kB / 1.421 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/1.38, allocations: 281.9 kB / 1.421 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/1.381, allocations: 0.8902 MB / 1.422 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/1.381, allocations: 426.1 kB / 1.423 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.381, allocations: 8 kB / 1.423 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00199/1.383, allocations: 1.351 MB / 1.424 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.383, allocations: 12 kB / 1.424 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.383, allocations: 27.95 kB / 1.424 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/1.384, allocations: 200 kB / 1.424 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/1.385, allocations: 222.7 kB / 1.425 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/1.389, allocations: 4.762 MB / 1.429 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.39, allocations: 183.2 kB / 1.429 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/1.39, allocations: 63.19 kB / 1.429 GB, free: 15.38 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000175/1.39, allocations: 180.7 kB / 1.43 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.391, allocations: 138.2 kB / 1.43 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/1.391, allocations: 124.2 kB / 1.43 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/1.391, allocations: 4 kB / 1.43 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.391, allocations: 7.938 kB / 1.43 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.391, allocations: 4 kB / 1.43 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/1.392, allocations: 0.9453 MB / 1.431 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/1.392, allocations: 0 / 1.431 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/1.392, allocations: 39.91 kB / 1.431 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/1.393, allocations: 167.8 kB / 1.431 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/1.393, allocations: 11.55 kB / 1.431 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/1.397, allocations: 4.714 MB / 1.436 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.397, allocations: 0 / 1.436 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.398, allocations: 0.8174 MB / 1.436 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.399, allocations: 0.9453 MB / 1.437 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/1.399, allocations: 7.625 kB / 1.437 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/1.4, allocations: 46.92 kB / 1.437 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.4, allocations: 25.78 kB / 1.437 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/1.4, allocations: 4 kB / 1.437 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002152/1.402, allocations: 1.141 MB / 1.438 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.402, allocations: 0 / 1.438 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001754/1.404, allocations: 418.3 kB / 1.439 GB, free: 6.324 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/1.405, allocations: 215.3 kB / 1.439 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001801/1.406, allocations: 1.035 MB / 1.44 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.406, allocations: 0 / 1.44 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/1.407, allocations: 0.5359 MB / 1.441 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.409, allocations: 324.9 kB / 1.441 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/1.413, allocations: 1.816 MB / 1.443 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.414, allocations: 1.318 MB / 1.444 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008648/1.415, allocations: 237.6 kB / 1.444 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/1.415, allocations: 67.44 kB / 1.444 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/1.415, allocations: 0 / 1.444 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of Templates: time 0.03619/1.451, allocations: 16.92 MB / 1.461 GB, free: 0.4961 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar55; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar54; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar55; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar54; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:148:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:151:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = 0.0; /* defaultValue */ ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:94: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.h:53:164: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:113: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar54 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.h:53:227: note: expanded from macro 'Buildings_HeatTransfer_Data_BaseClasses_Material_array_get' #define Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(src,ndims,...) (*(Buildings_HeatTransfer_Data_BaseClasses_Material*)(generic_array_get(&src, sizeof(Buildings_HeatTransfer_Data_BaseClasses_Material), __VA_ARGS__))) ^~~~~~~~~~~ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:35: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:160:56: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar55 = ths->_D_24tmpVar55 + ths->_D_24tmpVar54; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:167:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar55; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar57; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:22: error: redefinition of 'ths' with a different type: 'modelica_integer' (aka 'long') vs 'integer_array' (aka 'struct base_array_s') modelica_integer ths->_D_24tmpVar56; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar57; ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar56; ^ ; Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:182:16: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp13 = ths->_nLay /* Range stop-value */; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:182:18: error: no member named '_nLay' in 'struct base_array_s' tmp13 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:189:39: error: member reference type 'integer_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_integer_array(&ths->_D_24tmpVar57,tmp14); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:189:41: error: no member named '_D_24tmpVar57' in 'struct base_array_s' simple_alloc_1d_integer_array(&ths->_D_24tmpVar57,tmp14); ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1