Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Window.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.165/2.165, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001144/0.001144, allocations: 164.9 kB / 496.1 MB, free: 12.88 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.454/1.454, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009251/0.0009249, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.855e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.247, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/4.751, allocations: 1.785 GB / 3.004 GB, free: 27.51 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/4.751, allocations: 88.52 kB / 3.004 GB, free: 27.43 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/6.083, allocations: 242.4 MB / 3.24 GB, free: 241.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.745e-06/6.083, allocations: 0 / 3.24 GB, free: 241.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001286/6.084, allocations: 123.9 kB / 3.241 GB, free: 241.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.03571/6.12, allocations: 5.587 MB / 3.246 GB, free: 235.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/6.12, allocations: 8.031 kB / 3.246 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/6.121, allocations: 350.4 kB / 3.246 GB, free: 235.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0505/6.172, allocations: 5.215 MB / 3.251 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.03/7.202, allocations: 293.5 MB / 3.538 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/7.202, allocations: 219.2 kB / 3.538 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007659/7.203, allocations: 290.1 kB / 3.539 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00647/7.209, allocations: 4.297 MB / 3.543 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/7.209, allocations: 0 / 3.543 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/7.21, allocations: 111.5 kB / 3.543 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/7.21, allocations: 65.33 kB / 3.543 GB, free: 308.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/7.215, allocations: 4.029 MB / 3.547 GB, free: 308.7 MB / 1.167 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.46/7.675, allocations: 270 MB / 3.811 GB, free: 95.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/7.68, allocations: 3.451 MB / 3.814 GB, free: 91.59 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/7.683, allocations: 2.538 MB / 3.816 GB, free: 89.04 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/7.683, allocations: 91.67 kB / 3.816 GB, free: 88.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/7.686, allocations: 2.746 MB / 3.819 GB, free: 86.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=201): time 3.286e-06/7.686, allocations: 0 / 3.819 GB, free: 86.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=201): time 0.03134/7.717, allocations: 6.979 MB / 3.826 GB, free: 79.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/7.718, allocations: 428.7 kB / 3.826 GB, free: 78.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.318/9.035, allocations: 322.5 MB / 4.141 GB, free: 201.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/9.037, allocations: 81.7 kB / 4.141 GB, free: 201.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003523/9.04, allocations: 2.886 MB / 4.144 GB, free: 199.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009803/9.041, allocations: 0.6695 MB / 4.145 GB, free: 198.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/9.042, allocations: 52 kB / 4.145 GB, free: 198.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001372/9.042, allocations: 417.7 kB / 4.145 GB, free: 198.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004113/9.046, allocations: 3.67 MB / 4.149 GB, free: 195.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/9.05, allocations: 4.225 MB / 4.153 GB, free: 191.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/9.054, allocations: 3.664 MB / 4.157 GB, free: 188.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/9.054, allocations: 3 kB / 4.157 GB, free: 188.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03292/9.087, allocations: 10.29 MB / 4.167 GB, free: 179.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006361/9.088, allocations: 3.366 MB / 4.17 GB, free: 175.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0416/9.13, allocations: 11.64 MB / 4.181 GB, free: 166.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1646/9.294, allocations: 46.71 MB / 4.227 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007545/9.302, allocations: 1.216 MB / 4.228 GB, free: 139.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009348/9.311, allocations: 8.541 MB / 4.236 GB, free: 130.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02826/9.34, allocations: 1.621 MB / 4.238 GB, free: 129.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/9.341, allocations: 186.3 kB / 4.238 GB, free: 129.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/9.341, allocations: 4 kB / 4.238 GB, free: 129.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01753/9.358, allocations: 9.312 MB / 4.247 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0146/9.373, allocations: 8.477 MB / 4.256 GB, free: 111.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/9.378, allocations: 1.488 MB / 4.257 GB, free: 110.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008899/9.387, allocations: 1.472 MB / 4.258 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/9.402, allocations: 12.97 MB / 4.271 GB, free: 95.44 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02725/9.429, allocations: 1.575 MB / 4.273 GB, free: 93.95 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/9.43, allocations: 186.9 kB / 4.273 GB, free: 93.77 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001816/9.432, allocations: 399.9 kB / 4.273 GB, free: 93.39 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01948/9.451, allocations: 0.5979 MB / 4.274 GB, free: 92.79 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/9.465, allocations: 7.91 MB / 4.282 GB, free: 84.92 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/9.465, allocations: 20 kB / 4.282 GB, free: 84.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/9.465, allocations: 3.438 kB / 4.282 GB, free: 84.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/9.465, allocations: 7.969 kB / 4.282 GB, free: 84.89 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8575/10.32, allocations: 135.6 MB / 4.414 GB, free: 326.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04497/10.37, allocations: 10.11 MB / 4.424 GB, free: 326.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003979/10.37, allocations: 0.6289 MB / 4.424 GB, free: 326.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1391/10.51, allocations: 25.39 MB / 4.449 GB, free: 326.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007769/10.51, allocations: 82.98 kB / 4.449 GB, free: 326.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/10.52, allocations: 8.481 MB / 4.458 GB, free: 321.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/10.52, allocations: 0 / 4.458 GB, free: 321.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06494/10.59, allocations: 10.91 MB / 4.468 GB, free: 320.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1268/10.71, allocations: 64.62 MB / 4.531 GB, free: 264 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02627/10.74, allocations: 59.95 kB / 4.531 GB, free: 264 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02484/10.76, allocations: 1.093 MB / 4.532 GB, free: 263.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007897/10.76, allocations: 135.1 kB / 4.533 GB, free: 263 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006435/10.76, allocations: 136.1 kB / 4.533 GB, free: 262.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2621/11.03, allocations: 236.4 MB / 4.764 GB, free: 41.73 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.704e-06/11.03, allocations: 0 / 4.764 GB, free: 41.73 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07037/11.1, allocations: 32.96 MB / 4.796 GB, free: 9.078 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.7237/11.82, allocations: 9.45 MB / 4.805 GB, free: 323.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02826/11.85, allocations: 14.55 MB / 4.819 GB, free: 323 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/11.85, allocations: 0.7031 kB / 4.819 GB, free: 323 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/11.86, allocations: 3.693 MB / 4.823 GB, free: 322.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02052/11.88, allocations: 0.876 MB / 4.824 GB, free: 322.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05428/11.93, allocations: 14.02 MB / 4.837 GB, free: 320.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005946/11.94, allocations: 4 MB / 4.841 GB, free: 319.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.1158/12.05, allocations: 87.05 MB / 4.926 GB, free: 285.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005592/12.06, allocations: 2.571 MB / 4.929 GB, free: 285.7 MB / 1.182 GB Notification: Performance of SimCode: time 8.62e-07/12.06, allocations: 0 / 4.929 GB, free: 285.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.731/16.79, allocations: 1.647 GB / 6.576 GB, free: 10.7 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/16.79, allocations: 227.7 kB / 6.576 GB, free: 10.47 MB / 1.354 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1630:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1630:10: note: remove extraneous parentheses around the comparison to silence this warning if((_N == ((modelica_integer) 1))) ~ ^ ~ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1630:10: note: use '=' to turn this equality comparison into an assignment if((_N == ((modelica_integer) 1))) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430: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_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5438:46: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp102 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~^~ . Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5438:48: error: no member named '_glass' in 'struct base_array_s' tmp102 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~ ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447: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,tmp103); ~~~^~ . Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp103); ~~~ ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455: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_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455:14: error: no member named '_D_24tmpVar8' in 'struct base_array_s' ths->_D_24tmpVar8 = 0; ~~~ ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456: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, tmp97++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:45: error: no member named '_D_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:77: 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, tmp97++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:79: error: no member named '_D_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp98 = ths->_D_24tmpVar9; ~~~^~ . Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:18: error: no member named '_D_24tmpVar9' in 'struct base_array_s' tmp98 = ths->_D_24tmpVar9; ~~~ ^ 2 warnings and 15 errors generated. make: *** [: Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1