Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Window.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001201/0.001201, allocations: 182.6 kB / 498.1 MB, free: 5.727 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.492/1.492, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001167/0.001167, allocations: 99.95 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3044, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.407/4.711, allocations: 1.784 GB / 3.007 GB, free: 199.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/4.712, allocations: 98.83 kB / 3.007 GB, free: 199.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.191/5.903, allocations: 242.6 MB / 3.244 GB, free: 307.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/5.903, allocations: 3.844 kB / 3.244 GB, free: 307.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00121/5.904, allocations: 127.3 kB / 3.244 GB, free: 307.6 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.1825/6.087, allocations: 71.59 MB / 3.314 GB, free: 304.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/6.087, allocations: 7.938 kB / 3.314 GB, free: 304.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001794/6.089, allocations: 354.6 kB / 3.314 GB, free: 304.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05443/6.143, allocations: 5.214 MB / 3.32 GB, free: 303.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3712/6.514, allocations: 294.7 MB / 3.607 GB, free: 37.93 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/6.515, allocations: 216.9 kB / 3.608 GB, free: 37.72 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/6.517, allocations: 295.8 kB / 3.608 GB, free: 37.43 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/6.533, allocations: 4.968 MB / 3.613 GB, free: 33.49 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/6.533, allocations: 3.656 kB / 3.613 GB, free: 33.49 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/6.534, allocations: 103.7 kB / 3.613 GB, free: 33.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/6.534, allocations: 60 kB / 3.613 GB, free: 33.33 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/6.546, allocations: 4.768 MB / 3.617 GB, free: 29.52 MB / 1.167 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 1.103/7.649, allocations: 270 MB / 3.881 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/7.661, allocations: 4.176 MB / 3.885 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/7.661, allocations: 98.42 kB / 3.885 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008838/7.67, allocations: 3.384 MB / 3.889 GB, free: 185.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=201): time 6.382e-06/7.67, allocations: 2.656 kB / 3.889 GB, free: 185.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=201): time 0.06957/7.74, allocations: 16.18 MB / 3.904 GB, free: 174 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002906/7.74, allocations: 438.6 kB / 3.905 GB, free: 173.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.298/9.039, allocations: 323.7 MB / 4.221 GB, free: 287.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/9.04, allocations: 77.7 kB / 4.221 GB, free: 287.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.004228/9.044, allocations: 2.887 MB / 4.224 GB, free: 284.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/9.046, allocations: 0.6718 MB / 4.225 GB, free: 284.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/9.046, allocations: 52 kB / 4.225 GB, free: 284.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001924/9.046, allocations: 417.8 kB / 4.225 GB, free: 283.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01383/9.06, allocations: 4.887 MB / 4.23 GB, free: 279.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01414/9.074, allocations: 5.434 MB / 4.235 GB, free: 275.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/9.088, allocations: 4.877 MB / 4.24 GB, free: 271.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/9.088, allocations: 0 / 4.24 GB, free: 271.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.05711/9.145, allocations: 13.3 MB / 4.253 GB, free: 260.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007628/9.146, allocations: 3.351 MB / 4.256 GB, free: 257 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05787/9.204, allocations: 13.94 MB / 4.27 GB, free: 246.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1792/9.383, allocations: 47.11 MB / 4.316 GB, free: 219.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007767/9.391, allocations: 1.214 MB / 4.317 GB, free: 218.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/9.403, allocations: 9.159 MB / 4.326 GB, free: 210.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02776/9.431, allocations: 1.615 MB / 4.327 GB, free: 208.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/9.432, allocations: 193.8 kB / 4.328 GB, free: 208.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/9.432, allocations: 4 kB / 4.328 GB, free: 208.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0326/9.465, allocations: 11.75 MB / 4.339 GB, free: 199.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02761/9.492, allocations: 10.52 MB / 4.349 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00468/9.497, allocations: 1.503 MB / 4.351 GB, free: 189.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009614/9.507, allocations: 1.468 MB / 4.352 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/9.522, allocations: 13.37 MB / 4.365 GB, free: 174.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02743/9.549, allocations: 1.57 MB / 4.367 GB, free: 173 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/9.551, allocations: 183.8 kB / 4.367 GB, free: 172.8 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 () * Number of clocked 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.005465/9.556, allocations: 2.607 MB / 4.37 GB, free: 170.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0217/9.578, allocations: 0.6055 MB / 4.37 GB, free: 169.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/9.603, allocations: 9.762 MB / 4.38 GB, free: 159.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/9.603, allocations: 20 kB / 4.38 GB, free: 159.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/9.603, allocations: 0 / 4.38 GB, free: 159.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/9.603, allocations: 11.95 kB / 4.38 GB, free: 159.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2536/9.857, allocations: 137.5 MB / 4.514 GB, free: 22.08 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05676/9.913, allocations: 11.63 MB / 4.525 GB, free: 10.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004159/9.918, allocations: 0.6362 MB / 4.526 GB, free: 9.879 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8269/10.74, allocations: 25.78 MB / 4.551 GB, free: 311 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/10.75, allocations: 84.94 kB / 4.551 GB, free: 311 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/10.76, allocations: 9.09 MB / 4.56 GB, free: 306.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/10.76, allocations: 1.531 kB / 4.56 GB, free: 306.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0808/10.84, allocations: 12.46 MB / 4.572 GB, free: 306.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1236/10.96, allocations: 64.61 MB / 4.635 GB, free: 305.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0259/10.99, allocations: 60.91 kB / 4.635 GB, free: 305.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02582/11.02, allocations: 1.091 MB / 4.636 GB, free: 305.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008144/11.02, allocations: 133.7 kB / 4.637 GB, free: 305.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008494/11.02, allocations: 138.5 kB / 4.637 GB, free: 305.7 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2697/11.29, allocations: 237.7 MB / 4.869 GB, free: 97.29 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.61e-07/11.29, allocations: 3.875 kB / 4.869 GB, free: 97.29 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07327/11.36, allocations: 32.97 MB / 4.901 GB, free: 64.64 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) * Number of clocked states: 0 () * 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.04773/11.41, allocations: 10.86 MB / 4.912 GB, free: 56.28 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0401/11.45, allocations: 17.04 MB / 4.928 GB, free: 42.01 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/11.45, allocations: 0 / 4.928 GB, free: 42.01 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/11.46, allocations: 4.327 MB / 4.932 GB, free: 38.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02267/11.48, allocations: 0.8812 MB / 4.933 GB, free: 37.67 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06582/11.55, allocations: 25.01 MB / 4.958 GB, free: 14.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005382/11.55, allocations: 3.984 MB / 4.962 GB, free: 11.12 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.7/12.25, allocations: 34.55 MB / 4.995 GB, free: 299.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06261/12.32, allocations: 12.26 MB / 5.007 GB, free: 299.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.583e-06/12.32, allocations: 0 / 5.007 GB, free: 299.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.718/17.03, allocations: 1.632 GB / 6.64 GB, free: 30.95 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/17.03, allocations: 245.3 kB / 6.64 GB, free: 30.62 MB / 1.339 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1630:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_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_9_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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.o Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c In file included from Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:22: error: expected ';' at end of declaration boolean_array ths->__omcQ_24tmpVar9; ^ ; Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577: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->__omcQ_24tmpVar8; ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:19: note: previous definition is here boolean_array ths->__omcQ_24tmpVar9; ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQ_24tmpVar8; ^ ; Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4585:45: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp96 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4585:47: error: no member named '_glass' in 'struct base_array_s' tmp96 = size_of_dimension_base_array(ths->_glass, ((modelica_integer) 1)); ~~~ ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4594: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->__omcQ_24tmpVar9,tmp97); ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4594:41: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->__omcQ_24tmpVar9,tmp97); ~~~ ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4602:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar8 = 0; ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4602:14: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' ths->__omcQ_24tmpVar8 = 0; ~~~ ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603: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->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:45: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:81: 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->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:83: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4610:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp92 = ths->__omcQ_24tmpVar9; ~~~^~ . Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4610:18: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' tmp92 = ths->__omcQ_24tmpVar9; ~~~ ^ 2 warnings and 15 errors generated. make: *** [: Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1