Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001086/0.001086, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.624/1.624, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009951/0.0009953, allocations: 91.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.662e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2719, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.21, allocations: 163.6 MB / 1.378 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.21, allocations: 82.33 kB / 1.379 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/1.342, allocations: 39.65 MB / 1.417 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.342, allocations: 4 kB / 1.417 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002369/1.342, allocations: 28 kB / 1.417 GB, free: 4.305 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.003336/1.345, allocations: 1.268 MB / 1.419 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.345, allocations: 8.031 kB / 1.419 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/1.346, allocations: 174.2 kB / 1.419 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.351, allocations: 1.825 MB / 1.42 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/1.351, allocations: 59.56 kB / 1.421 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/1.352, allocations: 73.19 kB / 1.421 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/1.353, allocations: 0.513 MB / 1.421 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/1.353, allocations: 0 / 1.421 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/1.353, allocations: 17 kB / 1.421 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.353, allocations: 12 kB / 1.421 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/1.353, allocations: 311.4 kB / 1.421 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005888/1.359, allocations: 3.238 MB / 1.425 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.36, allocations: 448.1 kB / 1.425 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/1.361, allocations: 165.4 kB / 1.425 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/1.361, allocations: 5.406 kB / 1.425 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.361, allocations: 34.19 kB / 1.425 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 3.737e-06/1.361, allocations: 0 / 1.425 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.001414/1.362, allocations: 0.5515 MB / 1.426 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.362, allocations: 59.36 kB / 1.426 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/1.365, allocations: 1.521 MB / 1.427 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.365, allocations: 47.7 kB / 1.427 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/1.366, allocations: 0.572 MB / 1.428 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.366, allocations: 104 kB / 1.428 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/1.366, allocations: 20.81 kB / 1.428 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.366, allocations: 352.5 kB / 1.428 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/1.367, allocations: 279 kB / 1.429 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/1.368, allocations: 0.8878 MB / 1.429 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/1.368, allocations: 437.5 kB / 1.43 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.369, allocations: 4 kB / 1.43 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002805/1.371, allocations: 1.35 MB / 1.431 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/1.371, allocations: 19.95 kB / 1.431 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/1.371, allocations: 27.94 kB / 1.431 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/1.372, allocations: 192.7 kB / 1.431 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/1.373, allocations: 222.3 kB / 1.432 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/1.378, allocations: 4.78 MB / 1.436 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.379, allocations: 174.6 kB / 1.436 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/1.38, allocations: 67.92 kB / 1.437 GB, free: 2.465 MB / 0.8855 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.0002591/1.38, allocations: 184.4 kB / 1.437 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/1.38, allocations: 134.3 kB / 1.437 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/1.381, allocations: 126.2 kB / 1.437 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.381, allocations: 4 kB / 1.437 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.381, allocations: 0 / 1.437 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.381, allocations: 3.984 kB / 1.437 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.383, allocations: 0.9443 MB / 1.438 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.383, allocations: 3.953 kB / 1.438 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/1.383, allocations: 31.92 kB / 1.438 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/1.383, allocations: 166.4 kB / 1.438 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.384, allocations: 8 kB / 1.438 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/1.388, allocations: 4.713 MB / 1.443 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.388, allocations: 0 / 1.443 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.39, allocations: 0.8197 MB / 1.444 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/1.391, allocations: 0.9446 MB / 1.444 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/1.392, allocations: 4 kB / 1.444 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.393, allocations: 59.75 kB / 1.444 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.393, allocations: 27.92 kB / 1.445 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/1.393, allocations: 12 kB / 1.445 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002633/1.396, allocations: 1.125 MB / 1.446 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.396, allocations: 0 / 1.446 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002207/1.398, allocations: 415.7 kB / 1.446 GB, free: 8.121 MB / 0.9011 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.0005855/1.399, allocations: 218.4 kB / 1.446 GB, free: 7.895 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002203/1.401, allocations: 1.038 MB / 1.447 GB, free: 6.816 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.401, allocations: 4 kB / 1.447 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008286/1.402, allocations: 0.5443 MB / 1.448 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.404, allocations: 323.5 kB / 1.448 GB, free: 5.918 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/1.408, allocations: 1.809 MB / 1.45 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.409, allocations: 1.328 MB / 1.451 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008975/1.41, allocations: 225.6 kB / 1.451 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/1.41, allocations: 79.36 kB / 1.451 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/1.41, allocations: 4 kB / 1.451 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of Templates: time 0.03312/1.444, allocations: 16.9 MB / 1.468 GB, free: 1.73 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar55; ^ ; Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar54; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:19: note: previous definition is here modelica_real ths->_D_24tmpVar55; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar54; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:22: error: expected ';' at end of declaration integer_array ths->_D_24tmpVar57; ^ ; Buildings_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:173:19: note: previous definition is here integer_array ths->_D_24tmpVar57; ^ Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:174:25: error: expected ';' at end of declaration modelica_integer ths->_D_24tmpVar56; ^ ; Buildings_latest_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_latest_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_latest_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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1