Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.Window.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) 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 4.374/4.374, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.585e-05, allocations: 4.219 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.03/7.252, allocations: 2.237 GB / 2.872 GB, free: 59.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/7.252, allocations: 95.06 kB / 2.872 GB, free: 59.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.678/8.931, allocations: 237.2 MB / 3.103 GB, free: 158.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/8.931, allocations: 0 / 3.103 GB, free: 158.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001175/8.932, allocations: 131.9 kB / 3.104 GB, free: 158.8 MB / 0.823 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.05592/8.988, allocations: 5.585 MB / 3.109 GB, free: 153.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/8.988, allocations: 11.97 kB / 3.109 GB, free: 153.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/8.989, allocations: 346.1 kB / 3.109 GB, free: 152.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1027/9.092, allocations: 5.316 MB / 3.115 GB, free: 147.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.389/10.48, allocations: 293.5 MB / 3.401 GB, free: 127.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/10.48, allocations: 216.8 kB / 3.401 GB, free: 127.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/10.48, allocations: 288 kB / 3.402 GB, free: 126.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/10.5, allocations: 4.295 MB / 3.406 GB, free: 123.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/10.5, allocations: 3.281 kB / 3.406 GB, free: 123.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006838/10.5, allocations: 103.9 kB / 3.406 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/10.5, allocations: 60 kB / 3.406 GB, free: 123 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/10.51, allocations: 4.099 MB / 3.41 GB, free: 119.4 MB / 0.823 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 1.581/12.09, allocations: 269.4 MB / 3.673 GB, free: 212.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009477/12.1, allocations: 3.522 MB / 3.677 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005945/12.11, allocations: 2.57 MB / 3.679 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/12.11, allocations: 0.53 MB / 3.68 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007046/12.11, allocations: 2.788 MB / 3.682 GB, free: 204 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=201): time 6.232e-06/12.11, allocations: 3.906 kB / 3.682 GB, free: 204 MB / 0.8542 GB Notification: Performance of matching and sorting (n=201): time 0.0599/12.17, allocations: 7.031 MB / 3.689 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003837/12.17, allocations: 401.6 kB / 3.69 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.796/13.97, allocations: 326.1 MB / 4.008 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001429/13.97, allocations: 83.14 kB / 4.008 GB, free: 197 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005648/13.98, allocations: 2.864 MB / 4.011 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/13.98, allocations: 0.665 MB / 4.012 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006504/13.98, allocations: 52 kB / 4.012 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002235/13.98, allocations: 422.5 kB / 4.012 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008106/13.99, allocations: 3.716 MB / 4.016 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009122/14, allocations: 4.251 MB / 4.02 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009038/14.01, allocations: 3.76 MB / 4.023 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/14.01, allocations: 4 kB / 4.023 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.06684/14.07, allocations: 10.57 MB / 4.034 GB, free: 174 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008779/14.07, allocations: 3.397 MB / 4.037 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04106/14.12, allocations: 9.985 MB / 4.047 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3533/14.47, allocations: 46.72 MB / 4.092 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/14.48, allocations: 1.232 MB / 4.094 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/14.5, allocations: 8.536 MB / 4.102 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04884/14.55, allocations: 1.628 MB / 4.104 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/14.55, allocations: 192.6 kB / 4.104 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/14.55, allocations: 6.5 kB / 4.104 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02913/14.58, allocations: 9.526 MB / 4.113 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02659/14.61, allocations: 8.675 MB / 4.122 GB, free: 107.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008476/14.61, allocations: 1.474 MB / 4.123 GB, free: 106 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01802/14.63, allocations: 1.488 MB / 4.124 GB, free: 104.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/14.66, allocations: 12.96 MB / 4.137 GB, free: 91.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04865/14.71, allocations: 1.589 MB / 4.139 GB, free: 89.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/14.71, allocations: 188.7 kB / 4.139 GB, free: 89.42 MB / 0.8542 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.003562/14.71, allocations: 404 kB / 4.139 GB, free: 89.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0394/14.75, allocations: 0.5901 MB / 4.14 GB, free: 88.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02691/14.78, allocations: 8.004 MB / 4.148 GB, free: 80.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/14.78, allocations: 20 kB / 4.148 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/14.78, allocations: 0 / 4.148 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/14.78, allocations: 14.03 kB / 4.148 GB, free: 80.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9915/15.77, allocations: 135.6 MB / 4.28 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.09011/15.86, allocations: 10.1 MB / 4.29 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008011/15.87, allocations: 0.6337 MB / 4.291 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3207/16.19, allocations: 25.4 MB / 4.315 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008907/16.19, allocations: 83.08 kB / 4.315 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/16.21, allocations: 8.457 MB / 4.324 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/16.21, allocations: 0 / 4.324 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1529/16.36, allocations: 10.89 MB / 4.334 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2286/16.59, allocations: 64.61 MB / 4.397 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04858/16.64, allocations: 60 kB / 4.397 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04329/16.68, allocations: 1.104 MB / 4.399 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009323/16.68, allocations: 143.8 kB / 4.399 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005999/16.68, allocations: 136 kB / 4.399 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.144/17.83, allocations: 237.9 MB / 4.631 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.032e-06/17.83, allocations: 0 / 4.631 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.1108/17.94, allocations: 32.96 MB / 4.663 GB, free: 174.4 MB / 0.8542 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.07909/18.02, allocations: 10.21 MB / 4.673 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03597/18.05, allocations: 14.88 MB / 4.688 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/18.05, allocations: 3.625 kB / 4.688 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009946/18.06, allocations: 3.701 MB / 4.692 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03247/18.09, allocations: 0.8215 MB / 4.692 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07319/18.17, allocations: 13.97 MB / 4.706 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007398/18.18, allocations: 3.977 MB / 4.71 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.2049/18.38, allocations: 86.98 MB / 4.795 GB, free: 50.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007032/18.39, allocations: 2.536 MB / 4.797 GB, free: 48.51 MB / 0.8542 GB Notification: Performance of SimCode: time 1.583e-06/18.39, allocations: 0 / 4.797 GB, free: 48.51 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.231/26.62, allocations: 1.644 GB / 6.441 GB, free: 36.21 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/26.62, allocations: 229.2 kB / 6.441 GB, free: 35.96 MB / 1.073 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->_D_24tmpVar7; ^ ; 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->_D_24tmpVar6; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar7; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar6; ^ ; 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->_D_24tmpVar7,tmp103); ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447:41: error: no member named '_D_24tmpVar7' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->_D_24tmpVar7,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->_D_24tmpVar6 = 0; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455:14: error: no member named '_D_24tmpVar6' in 'struct base_array_s' ths->_D_24tmpVar6 = 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->_D_24tmpVar7, 1, tmp97++)) = ths->_D_24tmpVar6; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:45: error: no member named '_D_24tmpVar7' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar7, 1, tmp97++)) = ths->_D_24tmpVar6; ~~~ ^ Buildings_6_0_0_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_24tmpVar7, 1, tmp97++)) = ths->_D_24tmpVar6; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:79: error: no member named '_D_24tmpVar6' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar7, 1, tmp97++)) = ths->_D_24tmpVar6; ~~~ ^ 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->_D_24tmpVar7; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:18: error: no member named '_D_24tmpVar7' in 'struct base_array_s' tmp98 = ths->_D_24tmpVar7; ~~~ ^ 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