Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001108/0.001108, allocations: 176.1 kB / 492.3 MB, free: 0.6094 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.737/1.737, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.001017/0.001017, allocations: 91.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.089e-05, allocations: 7.938 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3319, allocations: 142.4 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.492, allocations: 165.4 MB / 1.374 GB, free: 18.74 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.492, allocations: 90.05 kB / 1.374 GB, free: 18.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08289/1.575, allocations: 34.63 MB / 1.408 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.934e-06/1.575, allocations: 0 / 1.408 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.892e-05/1.575, allocations: 20 kB / 1.408 GB, free: 18.95 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002345/1.578, allocations: 1.432 MB / 1.409 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.578, allocations: 12.03 kB / 1.409 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/1.608, allocations: 4.432 MB / 1.414 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/1.612, allocations: 1.453 MB / 1.415 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/1.612, allocations: 56.44 kB / 1.415 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006429/1.612, allocations: 75.94 kB / 1.415 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/1.616, allocations: 1.906 MB / 1.417 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.616, allocations: 0 / 1.417 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.617, allocations: 30 kB / 1.417 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/1.617, allocations: 23.95 kB / 1.417 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/1.619, allocations: 1.743 MB / 1.419 GB, free: 9.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/1.632, allocations: 8.219 MB / 1.427 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/1.634, allocations: 1.652 MB / 1.428 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/1.636, allocations: 1.42 MB / 1.43 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/1.636, allocations: 51.27 kB / 1.43 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.636, allocations: 37.94 kB / 1.43 GB, free: 436 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 3.357e-06/1.636, allocations: 4 kB / 1.43 GB, free: 432 kB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.007221/1.644, allocations: 4.115 MB / 1.434 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.644, allocations: 59.91 kB / 1.434 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/1.646, allocations: 1.152 MB / 1.435 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/1.646, allocations: 40.64 kB / 1.435 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/1.646, allocations: 499.8 kB / 1.436 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/1.647, allocations: 238.1 kB / 1.436 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.647, allocations: 17.81 kB / 1.436 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.647, allocations: 334 kB / 1.436 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.65, allocations: 2.049 MB / 1.438 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/1.653, allocations: 2.211 MB / 1.44 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/1.655, allocations: 1.745 MB / 1.442 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.655, allocations: 0 / 1.442 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008769/1.664, allocations: 5.594 MB / 1.447 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/1.664, allocations: 97.56 kB / 1.448 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007775/1.672, allocations: 4.522 MB / 1.452 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1805/1.852, allocations: 46.16 MB / 1.497 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006138/1.858, allocations: 0.7996 MB / 1.498 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/1.866, allocations: 3.543 MB / 1.501 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00831/1.875, allocations: 1.025 MB / 1.502 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000537/1.875, allocations: 67.86 kB / 1.502 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.875, allocations: 4 kB / 1.502 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01013/1.885, allocations: 4.879 MB / 1.507 GB, free: 8.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008418/1.894, allocations: 4.4 MB / 1.511 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.898, allocations: 1.109 MB / 1.513 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007494/1.905, allocations: 1.057 MB / 1.514 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.919, allocations: 7.165 MB / 1.521 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007952/1.927, allocations: 1.017 MB / 1.522 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.927, allocations: 67.91 kB / 1.522 GB, free: 9.715 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006458/1.928, allocations: 136.9 kB / 1.522 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/1.929, allocations: 106.7 kB / 1.522 GB, free: 9.469 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/1.937, allocations: 4.331 MB / 1.526 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.937, allocations: 4 kB / 1.526 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.937, allocations: 8 kB / 1.526 GB, free: 5.109 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.937, allocations: 7.984 kB / 1.526 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.948, allocations: 6.523 MB / 1.532 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04232/1.99, allocations: 7.445 MB / 1.54 GB, free: 6.891 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.993, allocations: 415.4 kB / 1.54 GB, free: 6.484 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1458/2.139, allocations: 24.82 MB / 1.564 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003589/2.14, allocations: 43.94 kB / 1.564 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/2.145, allocations: 3.479 MB / 1.568 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/2.145, allocations: 0 / 1.568 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0424/2.188, allocations: 7.667 MB / 1.575 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/2.19, allocations: 0.554 MB / 1.576 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000606/2.19, allocations: 19.94 kB / 1.576 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005177/2.195, allocations: 0.6357 MB / 1.576 GB, free: 1.129 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/2.196, allocations: 40.72 kB / 1.577 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/2.196, allocations: 51.89 kB / 1.577 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00184/2.198, allocations: 0.902 MB / 1.577 GB, free: 128 kB / 0.9792 GB Notification: Performance of sort global known variables: time 1.803e-06/2.198, allocations: 0 / 1.577 GB, free: 128 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003241/2.201, allocations: 0.8115 MB / 1.578 GB, free: 15.31 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009492/2.202, allocations: 357.3 kB / 1.579 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01074/2.213, allocations: 6.003 MB / 1.584 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/2.213, allocations: 0 / 1.584 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/2.216, allocations: 1.537 MB / 1.586 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/2.217, allocations: 255.3 kB / 1.586 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/2.223, allocations: 2.687 MB / 1.589 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/2.224, allocations: 1.324 MB / 1.59 GB, free: 3.078 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004145/2.228, allocations: 0.9869 MB / 1.591 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007549/2.229, allocations: 95.34 kB / 1.591 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of SimCode: time 1.553e-06/2.229, allocations: 7.938 kB / 1.591 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of Templates: time 0.1072/2.336, allocations: 69.44 MB / 1.659 GB, free: 12.64 MB / 1.073 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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_Windows_BaseClasses_Examples_CenterOfGlass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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_Windows_BaseClasses_Examples_CenterOfGlass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_functions.o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_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_Windows_BaseClasses_Examples_CenterOfGlass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.o Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:528:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:529:22: error: redefinition of 'ths' with a different type: 'modelica_boolean' (aka 'signed char') vs 'boolean_array' (aka 'struct base_array_s') modelica_boolean ths->_D_24tmpVar8; ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:528:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:529:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:537:45: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp10 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:537:47: error: no member named '_glass' in 'struct base_array_s' tmp10 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:546:39: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp11); ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:546:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp11); ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:554:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_24tmpVar8 = 0; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:554:14: error: no member named '_D_24tmpVar8' in 'struct base_array_s' ths->_D_24tmpVar8 = 0; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:555:43: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp5++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:555:45: error: no member named '_D_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp5++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:555:76: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp5++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:555:78: error: no member named '_D_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp5++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:562:15: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp6 = ths->_D_24tmpVar9; ~~~^~ . Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.c:562:17: error: no member named '_D_24tmpVar9' in 'struct base_array_s' tmp6 = ths->_D_24tmpVar9; ~~~ ^ 15 errors generated. make: *** [: Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_records.o] Error 1