Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.843/3.843, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.921e-05, allocations: 6.719 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 98.72 MB / 0.6302 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.875/7.088, allocations: 2.237 GB / 2.867 GB, free: 181.2 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/7.088, allocations: 88.08 kB / 2.867 GB, free: 181.2 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/8.627, allocations: 237.2 MB / 3.099 GB, free: 189.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/8.627, allocations: 0 / 3.099 GB, free: 189.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001229/8.629, allocations: 119.1 kB / 3.099 GB, free: 189.6 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: 633 * Number of variables: 633 Notification: Performance of Generate backend data structure: time 0.05071/8.679, allocations: 5.584 MB / 3.104 GB, free: 187 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/8.679, allocations: 11.59 kB / 3.104 GB, free: 187 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001552/8.681, allocations: 347.1 kB / 3.105 GB, free: 187 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09711/8.778, allocations: 5.326 MB / 3.11 GB, free: 186.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.221/9.999, allocations: 294.2 MB / 3.397 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/10, allocations: 214.8 kB / 3.397 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/10, allocations: 288.1 kB / 3.398 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/10.01, allocations: 4.268 MB / 3.402 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.197e-05/10.01, allocations: 7.219 kB / 3.402 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008617/10.02, allocations: 101 kB / 3.402 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/10.02, allocations: 59.34 kB / 3.402 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/10.03, allocations: 4.064 MB / 3.406 GB, free: 195.8 MB / 0.8542 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.9709/11, allocations: 269.4 MB / 3.669 GB, free: 27.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/11.01, allocations: 3.495 MB / 3.673 GB, free: 24.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005796/11.01, allocations: 2.576 MB / 3.675 GB, free: 21.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/11.01, allocations: 0.5207 MB / 3.676 GB, free: 21.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006499/11.02, allocations: 2.778 MB / 3.678 GB, free: 18.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=201): time 7.023e-06/11.02, allocations: 3.438 kB / 3.678 GB, free: 18.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=201): time 0.05382/11.07, allocations: 7.036 MB / 3.685 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003446/11.08, allocations: 399 kB / 3.686 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.846/12.92, allocations: 325.4 MB / 4.003 GB, free: 0 / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001591/12.92, allocations: 86.03 kB / 4.003 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006348/12.93, allocations: 2.87 MB / 4.006 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/12.93, allocations: 0.6633 MB / 4.007 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007064/12.93, allocations: 58 kB / 4.007 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003354/12.93, allocations: 422 kB / 4.007 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/12.94, allocations: 3.712 MB / 4.011 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/12.95, allocations: 4.24 MB / 4.015 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6374/13.59, allocations: 4.238 MB / 4.019 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/13.59, allocations: 5.906 kB / 4.019 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.06908/13.66, allocations: 10.56 MB / 4.03 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001073/13.66, allocations: 3.397 MB / 4.033 GB, free: 212 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04359/13.7, allocations: 9.98 MB / 4.043 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3851/14.09, allocations: 46.72 MB / 4.088 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01693/14.11, allocations: 1.224 MB / 4.089 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/14.12, allocations: 8.538 MB / 4.098 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04848/14.17, allocations: 1.628 MB / 4.099 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/14.17, allocations: 193.7 kB / 4.1 GB, free: 207 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/14.17, allocations: 3.469 kB / 4.1 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02953/14.2, allocations: 9.508 MB / 4.109 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02597/14.23, allocations: 8.675 MB / 4.117 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008531/14.23, allocations: 1.489 MB / 4.119 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01836/14.25, allocations: 1.484 MB / 4.12 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/14.28, allocations: 12.97 MB / 4.133 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04844/14.33, allocations: 1.58 MB / 4.134 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/14.33, allocations: 185 kB / 4.135 GB, free: 198.9 MB / 0.8698 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.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 3 * 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.002178/14.33, allocations: 409.4 kB / 4.135 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03442/14.37, allocations: 0.5961 MB / 4.136 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02547/14.39, allocations: 8.007 MB / 4.143 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/14.39, allocations: 23.02 kB / 4.143 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/14.39, allocations: 0 / 4.143 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-05/14.39, allocations: 10.97 kB / 4.143 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3358/14.73, allocations: 135.6 MB / 4.276 GB, free: 79.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08714/14.82, allocations: 10.1 MB / 4.286 GB, free: 69.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007795/14.82, allocations: 0.6414 MB / 4.286 GB, free: 69.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2917/15.11, allocations: 25.39 MB / 4.311 GB, free: 43.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009352/15.12, allocations: 83.92 kB / 4.311 GB, free: 43.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/15.13, allocations: 8.455 MB / 4.32 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/15.13, allocations: 0 / 4.32 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1767/15.31, allocations: 10.89 MB / 4.33 GB, free: 24.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.9038/16.21, allocations: 64.61 MB / 4.393 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04256/16.25, allocations: 56.06 kB / 4.393 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04338/16.3, allocations: 1.104 MB / 4.394 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009668/16.3, allocations: 131 kB / 4.395 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008424/16.3, allocations: 136.4 kB / 4.395 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.4599/16.76, allocations: 236.4 MB / 4.626 GB, free: 36.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.52e-07/16.76, allocations: 0 / 4.626 GB, free: 36.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.1082/16.87, allocations: 32.96 MB / 4.658 GB, free: 3.441 MB / 0.8698 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 123 * 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.6942/17.56, allocations: 10.82 MB / 4.668 GB, free: 228 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04245/17.6, allocations: 14.77 MB / 4.683 GB, free: 227 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/17.6, allocations: 2.719 kB / 4.683 GB, free: 227 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/17.61, allocations: 3.684 MB / 4.686 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03278/17.65, allocations: 0.8171 MB / 4.687 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07548/17.72, allocations: 13.96 MB / 4.701 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008594/17.73, allocations: 3.98 MB / 4.705 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.1853/17.92, allocations: 86.99 MB / 4.79 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006483/17.92, allocations: 2.535 MB / 4.792 GB, free: 190 MB / 0.8855 GB Notification: Performance of SimCode: time 3.286e-06/17.92, allocations: 0 / 4.792 GB, free: 190 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.682/25.61, allocations: 1.652 GB / 6.444 GB, free: 456.4 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/25.61, allocations: 220.7 kB / 6.444 GB, free: 456.1 MB / 1.12 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_6_0_0_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_6_0_0_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); ^ In file included from Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:59:7: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError("Failed to allocate memory in getTimeSpan.c"); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:68:9: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Received unexpected EOF in getTimeSpan.c when searching lines."); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:80:9: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError("Failed to allocate memory in getTimeSpan.c"); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:112:5: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError("Failed to allocate memory in getTimeSpan.c"); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:146:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Failed to open file %s", fileName); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:171:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Received unexpected EOF in getTimeSpan.c when searching for first time stamp in %s.", ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:183:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Received unexpected EOF in getTimeSpan.c when searching last time stamp in %s.", ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/getTimeSpan.c:191:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Expected rowCount larger than 2 when reading %s.", fileName); ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1549:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1549:10: note: remove extraneous parentheses around the comparison to silence this warning if((_N == ((modelica_integer) 1))) ~ ^ ~ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1549:10: note: use '=' to turn this equality comparison into an assignment if((_N == ((modelica_integer) 1))) ^~ = 11 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.o Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c In file included from Buildings_6_0_0_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_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->__omcQuot_24746D7056617237; ^ ; Buildings_6_0_0_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->__omcQuot_24746D7056617236; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:19: note: previous definition is here boolean_array ths->__omcQuot_24746D7056617237; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQuot_24746D7056617236; ^ ; Buildings_6_0_0_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_6_0_0_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_6_0_0_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->__omcQuot_24746D7056617237,tmp103); ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447:41: error: no member named '__omcQuot_24746D7056617237' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->__omcQuot_24746D7056617237,tmp103); ~~~ ^ Buildings_6_0_0_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->__omcQuot_24746D7056617236 = 0; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455:14: error: no member named '__omcQuot_24746D7056617236' in 'struct base_array_s' ths->__omcQuot_24746D7056617236 = 0; ~~~ ^ Buildings_6_0_0_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->__omcQuot_24746D7056617237, 1, tmp97++)) = ths->__omcQuot_24746D7056617236; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:45: error: no member named '__omcQuot_24746D7056617237' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQuot_24746D7056617237, 1, tmp97++)) = ths->__omcQuot_24746D7056617236; ~~~ ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:91: 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->__omcQuot_24746D7056617237, 1, tmp97++)) = ths->__omcQuot_24746D7056617236; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:93: error: no member named '__omcQuot_24746D7056617236' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQuot_24746D7056617237, 1, tmp97++)) = ths->__omcQuot_24746D7056617236; ~~~ ^ Buildings_6_0_0_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->__omcQuot_24746D7056617237; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:18: error: no member named '__omcQuot_24746D7056617237' in 'struct base_array_s' tmp98 = ths->__omcQuot_24746D7056617237; ~~~ ^ 2 warnings and 15 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.o' failed make: *** [Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1