Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8441/0.8441, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001156/0.001156, allocations: 178.7 kB / 180.9 MB, free: 15.05 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.672/1.672, allocations: 170.7 MB / 383.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001743/0.001743, allocations: 104.3 kB / 454.6 MB, free: 9.707 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.187/0.1876, allocations: 73.4 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5654/0.753, allocations: 114.6 MB / 0.7931 GB, free: 14.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.7534, allocations: 81.28 kB / 0.7931 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08304/0.8365, allocations: 30.06 MB / 0.8225 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.14e-06/0.8365, allocations: 0 / 0.8225 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001264/0.8367, allocations: 24 kB / 0.8225 GB, free: 2.945 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003433/0.8401, allocations: 1.625 MB / 0.8241 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.8402, allocations: 8.562 kB / 0.8241 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.8404, allocations: 150.2 kB / 0.8243 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.8429, allocations: 1.19 MB / 0.8254 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.843, allocations: 86.62 kB / 0.8255 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8432, allocations: 83.98 kB / 0.8256 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.844, allocations: 456.6 kB / 0.826 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.844, allocations: 0 / 0.826 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.8441, allocations: 20 kB / 0.826 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.8441, allocations: 12 kB / 0.8261 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.8447, allocations: 347.8 kB / 0.8264 GB, free: 14.88 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.8505, allocations: 2.824 MB / 0.8291 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.8522, allocations: 0.516 MB / 0.8296 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.8523, allocations: 4 kB / 0.8297 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.8523, allocations: 42.56 kB / 0.8297 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=36): time 4.098e-06/0.8523, allocations: 0 / 0.8297 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.003227/0.8556, allocations: 1.072 MB / 0.8307 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.8556, allocations: 55.41 kB / 0.8308 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.8586, allocations: 1.358 MB / 0.8321 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.8588, allocations: 49.7 kB / 0.8322 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/0.8594, allocations: 0.5055 MB / 0.8327 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.8597, allocations: 134.2 kB / 0.8328 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.8598, allocations: 20 kB / 0.8328 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.86, allocations: 345.9 kB / 0.8331 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.8608, allocations: 306.4 kB / 0.8334 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.8621, allocations: 0.8876 MB / 0.8343 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.8631, allocations: 441.2 kB / 0.8347 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.8631, allocations: 4 kB / 0.8347 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003494/0.8666, allocations: 1.361 MB / 0.836 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.8667, allocations: 16 kB / 0.8361 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.8668, allocations: 23.94 kB / 0.8361 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009861/0.8677, allocations: 182.4 kB / 0.8363 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.8691, allocations: 227.6 kB / 0.8365 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/0.8759, allocations: 4.6 MB / 0.841 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.8788, allocations: 186.5 kB / 0.8411 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.8789, allocations: 56 kB / 0.8412 GB, free: 14.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * 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 (120): * Single equations (assignments): 117 * 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.001206/0.8802, allocations: 445.2 kB / 0.8416 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.8806, allocations: 118.4 kB / 0.8417 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.8809, allocations: 112.8 kB / 0.8418 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8809, allocations: 4 kB / 0.8418 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/0.8809, allocations: 4 kB / 0.8419 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.881, allocations: 4.359 kB / 0.8419 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.8831, allocations: 0.9763 MB / 0.8428 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.8831, allocations: 4 kB / 0.8428 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.8836, allocations: 51.97 kB / 0.8429 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.8845, allocations: 150.4 kB / 0.843 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.8845, allocations: 15.98 kB / 0.843 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/0.891, allocations: 4.557 MB / 0.8475 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.891, allocations: 0 / 0.8475 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.8936, allocations: 0.889 MB / 0.8483 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.8953, allocations: 0.9346 MB / 0.8493 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.8956, allocations: 15.94 kB / 0.8493 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8971, allocations: 79.73 kB / 0.8493 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.8973, allocations: 23.97 kB / 0.8494 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.8973, allocations: 15.98 kB / 0.8494 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002761/0.9001, allocations: 1.003 MB / 0.8504 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.21e-07/0.9001, allocations: 0 / 0.8504 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00261/0.9028, allocations: 411.7 kB / 0.8508 GB, free: 4.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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): 22 * 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.0005423/0.9033, allocations: 217 kB / 0.851 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002951/0.9063, allocations: 1.071 MB / 0.852 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9063, allocations: 0 / 0.852 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.9077, allocations: 0.5751 MB / 0.8526 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.9105, allocations: 315.4 kB / 0.8529 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.9178, allocations: 2.694 MB / 0.8555 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.9194, allocations: 1.273 MB / 0.8567 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001531/0.9209, allocations: 232.8 kB / 0.857 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.9213, allocations: 63.44 kB / 0.857 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.9213, allocations: 0 / 0.857 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of Templates: time 0.03534/0.9566, allocations: 16.41 MB / 0.8731 GB, free: 13.42 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.o Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.o Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_3_0_0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:123:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar17; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:124:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar16; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:123:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar17; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:124:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar16; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:130:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp8 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:133:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar17 = 0.0; /* defaultValue */ ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:98: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:117: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar17 = ths->__omcQ_24tmpVar17 + ths->__omcQ_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:39: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar17 = ths->__omcQ_24tmpVar17 + ths->__omcQ_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:142:64: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar17 = ths->__omcQ_24tmpVar17 + ths->__omcQ_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:149:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->__omcQ_24tmpVar17; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:503:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar17; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:504:19: error: redefinition of 'ths' modelica_real ths->__omcQ_24tmpVar16; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:503:19: note: previous definition is here modelica_real ths->__omcQ_24tmpVar17; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:504:22: error: expected ';' at end of declaration modelica_real ths->__omcQ_24tmpVar16; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:510:18: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp29 = ths->_nLay /* Range stop-value */; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:513:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar17 = 0.0; /* defaultValue */ ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:521:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:521:98: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->__omcQ_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_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__))) ^~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.o] Error 1