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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01084/0.01084, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001148/0.001148, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.612/2.612, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007188/0.000719, allocations: 16 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6909, allocations: 98.72 MB / 0.6834 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.832, allocations: 2.227 GB / 2.91 GB, free: 161.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/7.833, allocations: 98.77 kB / 2.91 GB, free: 161.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.701/9.534, allocations: 237.5 MB / 3.142 GB, free: 183.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.046e-06/9.534, allocations: 2.719 kB / 3.142 GB, free: 183.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001488/9.535, allocations: 122.2 kB / 3.142 GB, free: 183.7 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.3083/9.844, allocations: 71.58 MB / 3.212 GB, free: 161.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/9.844, allocations: 11.5 kB / 3.212 GB, free: 161.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001629/9.845, allocations: 354.8 kB / 3.213 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1658/10.01, allocations: 5.326 MB / 3.218 GB, free: 157.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.372/11.38, allocations: 294.7 MB / 3.506 GB, free: 169.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/11.38, allocations: 218.6 kB / 3.506 GB, free: 169.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/11.39, allocations: 284 kB / 3.506 GB, free: 169.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/11.41, allocations: 4.995 MB / 3.511 GB, free: 165.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/11.41, allocations: 4.375 kB / 3.511 GB, free: 165.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/11.41, allocations: 102.4 kB / 3.511 GB, free: 165.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/11.41, allocations: 60 kB / 3.511 GB, free: 165.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/11.43, allocations: 4.879 MB / 3.516 GB, free: 161.3 MB / 0.8386 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.483/12.91, allocations: 269.4 MB / 3.779 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/12.93, allocations: 4.329 MB / 3.783 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/12.93, allocations: 0.5148 MB / 3.784 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01533/12.95, allocations: 3.465 MB / 3.787 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=201): time 6.392e-06/12.95, allocations: 2.688 kB / 3.787 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=201): time 0.1291/13.08, allocations: 16.33 MB / 3.803 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003642/13.08, allocations: 398.9 kB / 3.804 GB, free: 202 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.843/14.92, allocations: 325.5 MB / 4.121 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001534/14.92, allocations: 86.64 kB / 4.121 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005778/14.93, allocations: 2.868 MB / 4.124 GB, free: 202.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/14.93, allocations: 0.6673 MB / 4.125 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/14.93, allocations: 56.97 kB / 4.125 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003333/14.93, allocations: 421 kB / 4.125 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02447/14.96, allocations: 4.952 MB / 4.13 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02533/14.98, allocations: 5.496 MB / 4.136 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02472/15.01, allocations: 4.986 MB / 4.14 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-05/15.01, allocations: 6.062 kB / 4.14 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=342) (initialization): time 0.1048/15.11, allocations: 13.63 MB / 4.154 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001045/15.11, allocations: 3.398 MB / 4.157 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06967/15.18, allocations: 12.29 MB / 4.169 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4148/15.6, allocations: 47.12 MB / 4.215 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0183/15.61, allocations: 1.236 MB / 4.216 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02869/15.64, allocations: 9.149 MB / 4.225 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06622/15.71, allocations: 1.641 MB / 4.227 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/15.71, allocations: 191 kB / 4.227 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/15.71, allocations: 5.562 kB / 4.227 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08153/15.79, allocations: 12.01 MB / 4.239 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05449/15.85, allocations: 10.78 MB / 4.249 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008805/15.86, allocations: 1.49 MB / 4.251 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01814/15.87, allocations: 1.484 MB / 4.252 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02721/15.9, allocations: 13.36 MB / 4.265 GB, free: 88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04932/15.95, allocations: 1.582 MB / 4.267 GB, free: 86.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/15.95, allocations: 187.6 kB / 4.267 GB, free: 86.29 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 () * Number of clocked 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.007661/15.96, allocations: 2.603 MB / 4.27 GB, free: 83.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03681/16, allocations: 0.5901 MB / 4.27 GB, free: 83.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04856/16.05, allocations: 9.908 MB / 4.28 GB, free: 73.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/16.05, allocations: 20 kB / 4.28 GB, free: 73.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/16.05, allocations: 4 kB / 4.28 GB, free: 73.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.871e-05/16.05, allocations: 14.31 kB / 4.28 GB, free: 73.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.027/17.07, allocations: 137.5 MB / 4.414 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1068/17.18, allocations: 11.66 MB / 4.426 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007714/17.19, allocations: 0.6453 MB / 4.426 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2958/17.48, allocations: 25.79 MB / 4.451 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008711/17.48, allocations: 87.14 kB / 4.451 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/17.51, allocations: 9.083 MB / 4.46 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/17.51, allocations: 0 / 4.46 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1438/17.65, allocations: 12.44 MB / 4.472 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2326/17.88, allocations: 64.61 MB / 4.536 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.06092/17.94, allocations: 67.95 kB / 4.536 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04253/17.99, allocations: 1.102 MB / 4.537 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009144/17.99, allocations: 138.7 kB / 4.537 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000587/17.99, allocations: 134 kB / 4.537 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.231/19.22, allocations: 238.5 MB / 4.77 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.082e-06/19.22, allocations: 0 / 4.77 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.1475/19.37, allocations: 32.97 MB / 4.802 GB, free: 156.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) * Number of clocked states: 0 () * 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.09662/19.46, allocations: 11.69 MB / 4.813 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.08298/19.55, allocations: 17.46 MB / 4.831 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/19.55, allocations: 0 / 4.831 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/19.56, allocations: 4.375 MB / 4.835 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03301/19.6, allocations: 0.8205 MB / 4.836 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09038/19.69, allocations: 24.89 MB / 4.86 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008971/19.7, allocations: 3.957 MB / 4.864 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.07563/19.77, allocations: 34.14 MB / 4.897 GB, free: 69.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1062/19.88, allocations: 12.21 MB / 4.909 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/19.88, allocations: 0 / 4.909 GB, free: 61.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.951/28.83, allocations: 1.631 GB / 6.54 GB, free: 102.1 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/28.83, allocations: 253.7 kB / 6.54 GB, free: 101.7 MB / 1.089 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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); ^ 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 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:22: error: expected ';' at end of declaration boolean_array ths->__omcQ_24tmpVar7; ^ ; Buildings_6_0_0_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_24tmpVar6; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:19: note: previous definition is here boolean_array ths->__omcQ_24tmpVar7; ^ Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQ_24tmpVar6; ^ ; Buildings_6_0_0_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_6_0_0_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_6_0_0_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_24tmpVar7,tmp97); ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4594:41: error: no member named '__omcQ_24tmpVar7' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->__omcQ_24tmpVar7,tmp97); ~~~ ^ Buildings_6_0_0_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_24tmpVar6 = 0; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4602:14: error: no member named '__omcQ_24tmpVar6' in 'struct base_array_s' ths->__omcQ_24tmpVar6 = 0; ~~~ ^ Buildings_6_0_0_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_24tmpVar7, 1, tmp91++)) = ths->__omcQ_24tmpVar6; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:45: error: no member named '__omcQ_24tmpVar7' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar7, 1, tmp91++)) = ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_6_0_0_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_24tmpVar7, 1, tmp91++)) = ths->__omcQ_24tmpVar6; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:83: error: no member named '__omcQ_24tmpVar6' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar7, 1, tmp91++)) = ths->__omcQ_24tmpVar6; ~~~ ^ Buildings_6_0_0_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_24tmpVar7; ~~~^~ . Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4610:18: error: no member named '__omcQ_24tmpVar7' in 'struct base_array_s' tmp92 = ths->__omcQ_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