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.167/2.167, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001303/0.001303, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.444/1.444, allocations: 221.3 MB / 0.7871 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.0009129/0.0009128, allocations: 95.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.518e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.266, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.297/4.563, allocations: 1.784 GB / 2.997 GB, free: 78.55 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/4.563, allocations: 95.94 kB / 2.997 GB, free: 78.46 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.32/5.883, allocations: 242.4 MB / 3.233 GB, free: 293.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/5.883, allocations: 0 / 3.233 GB, free: 293.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009894/5.884, allocations: 119.9 kB / 3.233 GB, free: 293.8 MB / 1.151 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.03552/5.92, allocations: 5.594 MB / 3.239 GB, free: 288.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/5.92, allocations: 8.031 kB / 3.239 GB, free: 288.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001378/5.921, allocations: 354.4 kB / 3.239 GB, free: 287.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.052/5.973, allocations: 5.207 MB / 3.244 GB, free: 282.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.055/7.028, allocations: 293.5 MB / 3.531 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/7.028, allocations: 218.4 kB / 3.531 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/7.029, allocations: 292.8 kB / 3.531 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/7.037, allocations: 4.293 MB / 3.536 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/7.037, allocations: 5.391 kB / 3.536 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/7.037, allocations: 109.1 kB / 3.536 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/7.038, allocations: 61.12 kB / 3.536 GB, free: 316.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007878/7.045, allocations: 4.027 MB / 3.54 GB, free: 316.8 MB / 1.151 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.4949/7.54, allocations: 270 MB / 3.803 GB, free: 135.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/7.545, allocations: 3.466 MB / 3.807 GB, free: 131.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00277/7.548, allocations: 2.536 MB / 3.809 GB, free: 129.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/7.548, allocations: 90.53 kB / 3.809 GB, free: 129.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00303/7.552, allocations: 2.747 MB / 3.812 GB, free: 126.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=201): time 4.479e-06/7.552, allocations: 0 / 3.812 GB, free: 126.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=201): time 0.02999/7.582, allocations: 6.976 MB / 3.819 GB, free: 119.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000209/7.582, allocations: 430.2 kB / 3.819 GB, free: 118.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.279/8.861, allocations: 322.5 MB / 4.134 GB, free: 263.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/8.862, allocations: 81.7 kB / 4.134 GB, free: 263.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003623/8.866, allocations: 2.886 MB / 4.137 GB, free: 261 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/8.867, allocations: 0.6643 MB / 4.138 GB, free: 260.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/8.867, allocations: 52 kB / 4.138 GB, free: 260.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.000147/8.868, allocations: 424.5 kB / 4.138 GB, free: 260.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/8.872, allocations: 3.669 MB / 4.142 GB, free: 256.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004646/8.877, allocations: 4.22 MB / 4.146 GB, free: 252.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/8.881, allocations: 3.671 MB / 4.149 GB, free: 249.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/8.881, allocations: 0 / 4.149 GB, free: 249.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.03466/8.915, allocations: 10.28 MB / 4.159 GB, free: 240.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008823/8.916, allocations: 3.366 MB / 4.163 GB, free: 237.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0411/8.957, allocations: 11.64 MB / 4.174 GB, free: 228 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1623/9.12, allocations: 46.71 MB / 4.22 GB, free: 200 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007336/9.127, allocations: 1.211 MB / 4.221 GB, free: 198.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008865/9.136, allocations: 8.544 MB / 4.229 GB, free: 189.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02876/9.165, allocations: 1.617 MB / 4.231 GB, free: 188.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/9.167, allocations: 194.1 kB / 4.231 GB, free: 188.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/9.167, allocations: 4 kB / 4.231 GB, free: 188.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/9.184, allocations: 9.32 MB / 4.24 GB, free: 178.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01414/9.199, allocations: 8.469 MB / 4.248 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/9.203, allocations: 1.49 MB / 4.25 GB, free: 168.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009009/9.212, allocations: 1.464 MB / 4.251 GB, free: 167.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/9.227, allocations: 12.97 MB / 4.264 GB, free: 154 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0279/9.255, allocations: 1.576 MB / 4.265 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/9.257, allocations: 186.7 kB / 4.266 GB, free: 152.3 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.00195/9.259, allocations: 408.4 kB / 4.266 GB, free: 151.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02009/9.279, allocations: 0.6018 MB / 4.267 GB, free: 151.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/9.294, allocations: 7.897 MB / 4.274 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/9.294, allocations: 20 kB / 4.274 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/9.294, allocations: 4 kB / 4.274 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/9.294, allocations: 15.61 kB / 4.274 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1831/9.477, allocations: 135.6 MB / 4.407 GB, free: 7.516 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.6854/10.16, allocations: 10.11 MB / 4.417 GB, free: 347.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004221/10.17, allocations: 0.6335 MB / 4.417 GB, free: 347.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1482/10.31, allocations: 25.38 MB / 4.442 GB, free: 347.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/10.32, allocations: 92.69 kB / 4.442 GB, free: 347.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/10.33, allocations: 8.473 MB / 4.45 GB, free: 343.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/10.33, allocations: 0 / 4.45 GB, free: 343.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06861/10.39, allocations: 10.91 MB / 4.461 GB, free: 342.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.114/10.51, allocations: 64.62 MB / 4.524 GB, free: 326.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02643/10.54, allocations: 54.75 kB / 4.524 GB, free: 326.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02615/10.56, allocations: 1.098 MB / 4.525 GB, free: 325.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/10.56, allocations: 134.1 kB / 4.525 GB, free: 325.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005064/10.56, allocations: 132.7 kB / 4.526 GB, free: 325 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.2572/10.82, allocations: 236.4 MB / 4.756 GB, free: 103.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.635e-06/10.82, allocations: 0 / 4.756 GB, free: 103.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06951/10.89, allocations: 32.97 MB / 4.789 GB, free: 71.17 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.03879/10.93, allocations: 9.43 MB / 4.798 GB, free: 63.52 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02101/10.95, allocations: 14.56 MB / 4.812 GB, free: 50.45 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/10.95, allocations: 128 / 4.812 GB, free: 50.45 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005306/10.96, allocations: 3.68 MB / 4.816 GB, free: 47.17 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01977/10.98, allocations: 0.8732 MB / 4.817 GB, free: 46.42 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04616/11.02, allocations: 14.03 MB / 4.83 GB, free: 34.03 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004318/11.03, allocations: 3.998 MB / 4.834 GB, free: 30 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.7611/11.79, allocations: 87.05 MB / 4.919 GB, free: 335.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00539/11.79, allocations: 2.577 MB / 4.922 GB, free: 335.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.182e-06/11.79, allocations: 0 / 4.922 GB, free: 335.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.794/16.59, allocations: 1.645 GB / 6.567 GB, free: 4.84 MB / 1.323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/16.59, allocations: 222.4 kB / 6.567 GB, free: 4.613 MB / 1.323 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 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: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 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: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_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 -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 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: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_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_9_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_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_9_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1