Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.2 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 193 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 96.28 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005158, allocations: 13.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.483/5.753, allocations: 2.125 GB / 3.105 GB, free: 181.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/5.754, allocations: 99.89 kB / 3.105 GB, free: 181.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.04/6.794, allocations: 239.8 MB / 3.339 GB, free: 222.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.264e-06/6.794, allocations: 2.469 kB / 3.339 GB, free: 222.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001149/6.795, allocations: 121.5 kB / 3.339 GB, free: 222.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.2044/6.999, allocations: 71.55 MB / 3.409 GB, free: 213.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/6.999, allocations: 12.02 kB / 3.409 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/7.001, allocations: 349.5 kB / 3.409 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05247/7.053, allocations: 5.221 MB / 3.414 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8456/7.899, allocations: 294.7 MB / 3.702 GB, free: 215.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/7.899, allocations: 215.9 kB / 3.702 GB, free: 215.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/7.901, allocations: 286.6 kB / 3.703 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/7.914, allocations: 4.939 MB / 3.707 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-05/7.914, allocations: 7.031 kB / 3.707 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/7.914, allocations: 99.16 kB / 3.707 GB, free: 213.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/7.914, allocations: 65.41 kB / 3.707 GB, free: 213.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/7.925, allocations: 4.748 MB / 3.712 GB, free: 211.8 MB / 0.948 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 0.4694/8.395, allocations: 269.4 MB / 3.975 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/8.406, allocations: 4.18 MB / 3.979 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/8.406, allocations: 90.09 kB / 3.979 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00826/8.414, allocations: 3.388 MB / 3.983 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=201): time 4.118e-06/8.414, allocations: 0 / 3.983 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=201): time 0.07001/8.484, allocations: 16.18 MB / 3.998 GB, free: 7.57 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003309/8.485, allocations: 428.7 kB / 3.999 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.186/9.671, allocations: 323.7 MB / 4.315 GB, free: 48.76 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/9.672, allocations: 81.7 kB / 4.315 GB, free: 48.68 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004068/9.676, allocations: 2.884 MB / 4.318 GB, free: 46.39 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/9.677, allocations: 0.67 MB / 4.319 GB, free: 46.04 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005968/9.678, allocations: 52 kB / 4.319 GB, free: 45.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002089/9.678, allocations: 416.6 kB / 4.319 GB, free: 45.61 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01298/9.691, allocations: 4.891 MB / 4.324 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/9.704, allocations: 5.437 MB / 4.329 GB, free: 37.16 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/9.717, allocations: 4.878 MB / 4.334 GB, free: 33.14 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/9.717, allocations: 4 kB / 4.334 GB, free: 33.13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06136/9.778, allocations: 13.29 MB / 4.347 GB, free: 22.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000729/9.779, allocations: 3.352 MB / 4.35 GB, free: 18.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05955/9.839, allocations: 13.89 MB / 4.364 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6701/10.51, allocations: 47.88 MB / 4.41 GB, free: 252.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008321/10.52, allocations: 1.214 MB / 4.412 GB, free: 252.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/10.53, allocations: 9.161 MB / 4.421 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03112/10.56, allocations: 1.614 MB / 4.422 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/10.56, allocations: 190.1 kB / 4.422 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/10.56, allocations: 5.312 kB / 4.422 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03097/10.59, allocations: 11.75 MB / 4.434 GB, free: 247.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02559/10.62, allocations: 10.52 MB / 4.444 GB, free: 247.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/10.63, allocations: 1.505 MB / 4.446 GB, free: 247.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009413/10.63, allocations: 1.467 MB / 4.447 GB, free: 247.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/10.65, allocations: 13.37 MB / 4.46 GB, free: 241.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02973/10.68, allocations: 1.573 MB / 4.462 GB, free: 241.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/10.68, allocations: 184 kB / 4.462 GB, free: 241.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005263/10.69, allocations: 2.605 MB / 4.464 GB, free: 241.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02155/10.71, allocations: 0.5967 MB / 4.465 GB, free: 241.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02654/10.73, allocations: 9.757 MB / 4.474 GB, free: 240.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/10.73, allocations: 20.97 kB / 4.474 GB, free: 240.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/10.73, allocations: 6.812 kB / 4.474 GB, free: 240.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/10.73, allocations: 10.97 kB / 4.474 GB, free: 240.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2111/10.95, allocations: 137.4 MB / 4.609 GB, free: 147.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05443/11, allocations: 11.61 MB / 4.62 GB, free: 135.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00397/11, allocations: 0.6264 MB / 4.621 GB, free: 135.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1476/11.15, allocations: 25.8 MB / 4.646 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/11.15, allocations: 83.92 kB / 4.646 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/11.16, allocations: 9.085 MB / 4.655 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/11.16, allocations: 0 / 4.655 GB, free: 99.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07679/11.24, allocations: 12.4 MB / 4.667 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1196/11.36, allocations: 64.62 MB / 4.73 GB, free: 22.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02922/11.39, allocations: 56 kB / 4.73 GB, free: 22.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02725/11.42, allocations: 1.093 MB / 4.731 GB, free: 21.61 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007846/11.42, allocations: 138.8 kB / 4.731 GB, free: 21.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006969/11.42, allocations: 133.2 kB / 4.731 GB, free: 21.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.8617/12.28, allocations: 237.7 MB / 4.963 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.021e-06/12.28, allocations: 0 / 4.963 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.07897/12.36, allocations: 32.93 MB / 4.996 GB, free: 103.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05201/12.41, allocations: 10.82 MB / 5.006 GB, free: 95.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.03869/12.45, allocations: 17.02 MB / 5.023 GB, free: 81.55 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/12.45, allocations: 0 / 5.023 GB, free: 81.55 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009835/12.46, allocations: 4.337 MB / 5.027 GB, free: 77.94 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02421/12.49, allocations: 0.8832 MB / 5.028 GB, free: 77.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0691/12.55, allocations: 24.93 MB / 5.052 GB, free: 53.89 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006525/12.56, allocations: 3.984 MB / 5.056 GB, free: 50.94 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.05113/12.61, allocations: 34.19 MB / 5.089 GB, free: 17.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06304/12.68, allocations: 12.25 MB / 5.101 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of SimCode: time 4.278e-06/12.68, allocations: 4 kB / 5.101 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.696/18.37, allocations: 1.634 GB / 6.735 GB, free: 450.7 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/18.37, allocations: 277.1 kB / 6.735 GB, free: 450.3 MB / 1.214 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:25:5: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError("Failed to allocate memory in getTimeSpan.c"); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:41:8: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("%s:%u,%u: Received unexpected EOF when searching for new line.", ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:81:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("Failed to open file %s", fileName); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:97:8: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("%s:%u,%u: Received unexpected EOF when searching for first character of line.", ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:101:7: warning: implicit declaration of function 'ModelicaError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaError("Unexpected EOF when putting character back."); ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:113:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("%s:%u,%u: Received unexpected EOF when searching for first time stamp.", ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:123:5: warning: implicit declaration of function 'ModelicaFormatError' is invalid in C99 [-Wimplicit-function-declaration] ModelicaFormatError("%s:%u,%u: Received unexpected EOF when searching last time stamp.", ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/getTimeSpan.c:130: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_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:1549:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_8_0_x_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_maint_8_0_x_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.o Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:22: error: expected ';' at end of declaration boolean_array ths->__omcQ_24tmpVar9; ^ ; Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577:22: error: redefinition of 'ths' with a different type: 'modelica_boolean' (aka 'signed char') vs 'boolean_array' (aka 'struct base_array_s') modelica_boolean ths->__omcQ_24tmpVar8; ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:19: note: previous definition is here boolean_array ths->__omcQ_24tmpVar9; ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQ_24tmpVar8; ^ ; Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4594:39: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_boolean_array(&ths->__omcQ_24tmpVar9,tmp97); ~~~^~ . Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4594:41: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->__omcQ_24tmpVar9,tmp97); ~~~ ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4602:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->__omcQ_24tmpVar8 = 0; ~~~^~ . Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4602:14: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' ths->__omcQ_24tmpVar8 = 0; ~~~ ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:43: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:45: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:81: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~^~ . Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4603:83: error: no member named '__omcQ_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->__omcQ_24tmpVar9, 1, tmp91++)) = ths->__omcQ_24tmpVar8; ~~~ ^ Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4610:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp92 = ths->__omcQ_24tmpVar9; ~~~^~ . Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4610:18: error: no member named '__omcQ_24tmpVar9' in 'struct base_array_s' tmp92 = ths->__omcQ_24tmpVar9; ~~~ ^ 2 warnings and 15 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1