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.6967/0.6967, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.0009967/0.0009968, allocations: 184.1 kB / 176.9 MB, free: 2.273 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.196/1.196, allocations: 170.5 MB / 379.3 MB, free: 11.82 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.001514/0.001514, allocations: 117.6 kB / 450 MB, free: 5.781 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.4322/0.4323, allocations: 73.39 MB / 0.6736 GB, free: 47.6 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5736, allocations: 114.5 MB / 0.7854 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5739, allocations: 80.92 kB / 0.7855 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08079/0.6547, allocations: 30.05 MB / 0.8148 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6548, allocations: 0 / 0.8148 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.596e-05/0.6549, allocations: 20 kB / 0.8149 GB, free: 3.988 MB / 0.5105 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.002005/0.6569, allocations: 1.241 MB / 0.8161 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6569, allocations: 8.031 kB / 0.8161 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.6572, allocations: 160.1 kB / 0.8162 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.6593, allocations: 1.185 MB / 0.8174 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.817e-05/0.6594, allocations: 91.47 kB / 0.8175 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.843e-05/0.6596, allocations: 76 kB / 0.8175 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.6602, allocations: 426.5 kB / 0.8179 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6603, allocations: 4 kB / 0.818 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.6603, allocations: 20 kB / 0.818 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6603, allocations: 12 kB / 0.818 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.6608, allocations: 323.9 kB / 0.8183 GB, free: 368 kB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.004007/0.6649, allocations: 2.824 MB / 0.8211 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6659, allocations: 0.4985 MB / 0.8215 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.6662, allocations: 201.8 kB / 0.8217 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6663, allocations: 4 kB / 0.8217 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.6663, allocations: 42.42 kB / 0.8218 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.6663, allocations: 0 / 0.8218 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.001049/0.6674, allocations: 0.5645 MB / 0.8223 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.6674, allocations: 55.41 kB / 0.8224 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.6691, allocations: 1.344 MB / 0.8237 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.6692, allocations: 57.62 kB / 0.8237 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.6696, allocations: 0.5017 MB / 0.8242 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.6697, allocations: 133 kB / 0.8244 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.6698, allocations: 20 kB / 0.8244 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6699, allocations: 345.9 kB / 0.8247 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.6703, allocations: 298.5 kB / 0.825 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/0.6711, allocations: 0.8587 MB / 0.8258 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.6717, allocations: 437.8 kB / 0.8263 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.6717, allocations: 4 kB / 0.8263 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001922/0.6737, allocations: 1.34 MB / 0.8276 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.6737, allocations: 12 kB / 0.8276 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.6737, allocations: 24 kB / 0.8276 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.6743, allocations: 174.5 kB / 0.8278 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.6749, allocations: 231.6 kB / 0.828 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6785, allocations: 4.537 MB / 0.8324 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.6799, allocations: 186.5 kB / 0.8326 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.68, allocations: 63.95 kB / 0.8327 GB, free: 0.6406 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 () * 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.0001859/0.6802, allocations: 185.4 kB / 0.8328 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6804, allocations: 122.4 kB / 0.833 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.6807, allocations: 108.9 kB / 0.8331 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6807, allocations: 4 kB / 0.8331 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.6807, allocations: 4 kB / 0.8331 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6807, allocations: 3.984 kB / 0.8331 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6818, allocations: 0.9725 MB / 0.834 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6819, allocations: 0 / 0.834 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.6821, allocations: 59.89 kB / 0.8341 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.6826, allocations: 142.5 kB / 0.8342 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.6826, allocations: 12 kB / 0.8342 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.6862, allocations: 4.502 MB / 0.8386 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6862, allocations: 0 / 0.8386 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6876, allocations: 0.8578 MB / 0.8395 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/0.6885, allocations: 0.9447 MB / 0.8404 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6886, allocations: 11.95 kB / 0.8404 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.6894, allocations: 82.64 kB / 0.8405 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.6895, allocations: 27.95 kB / 0.8405 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.6895, allocations: 12.25 kB / 0.8405 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001352/0.6909, allocations: 0.9901 MB / 0.8415 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6909, allocations: 0 / 0.8415 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001189/0.6921, allocations: 411.7 kB / 0.8419 GB, free: 6.555 MB / 0.5417 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 () * 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.0003236/0.6924, allocations: 226.5 kB / 0.8421 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.6938, allocations: 1.044 MB / 0.8431 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6938, allocations: 1.875 kB / 0.8431 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.6945, allocations: 0.5621 MB / 0.8437 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6957, allocations: 315.4 kB / 0.844 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.6983, allocations: 1.825 MB / 0.8457 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.6991, allocations: 1.265 MB / 0.847 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005731/0.6997, allocations: 228.8 kB / 0.8472 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.6999, allocations: 71.44 kB / 0.8473 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/0.6999, allocations: 3.938 kB / 0.8473 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of Templates: time 0.0287/0.7286, allocations: 16.87 MB / 0.8637 GB, free: 196 kB / 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:140:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar17; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar16; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:140:19: note: previous definition is here modelica_real ths->_D_24tmpVar17; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:141:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar16; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:147: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:150:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar17 = 0.0; /* defaultValue */ ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:94: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:158:113: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_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_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar17 = ths->_D_24tmpVar17 + ths->_D_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:35: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar17 = ths->_D_24tmpVar17 + ths->_D_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:159:56: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar17 = ths->_D_24tmpVar17 + ths->_D_24tmpVar16; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:166:17: error: member reference type 'modelica_real' (aka 'double') is not a pointer tmp5 = ths->_D_24tmpVar17; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:580:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar17; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:581:19: error: redefinition of 'ths' modelica_real ths->_D_24tmpVar16; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:580:19: note: previous definition is here modelica_real ths->_D_24tmpVar17; ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:581:22: error: expected ';' at end of declaration modelica_real ths->_D_24tmpVar16; ^ ; Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:587: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:590:10: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar17 = 0.0; /* defaultValue */ ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:598:14: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ Buildings_3.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse_records.c:598:94: error: member reference type 'modelica_real' (aka 'double') is not a pointer ths->_D_24tmpVar16 = Buildings_HeatTransfer_Data_BaseClasses_Material_array_get(ths->_material, 1, ths->_i)._R; ~~~ ^ ./Buildings_3.0.0_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__))) ^~~ 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