Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.836/1.836, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 82.5 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.821e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.094/7.35, allocations: 2.243 GB / 3.135 GB, free: 99.87 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/7.351, allocations: 91.02 kB / 3.135 GB, free: 99.83 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/8.58, allocations: 239.2 MB / 3.369 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.324e-06/8.58, allocations: 0 / 3.369 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001178/8.581, allocations: 122.6 kB / 3.369 GB, free: 203.2 MB / 0.8698 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.04097/8.622, allocations: 5.552 MB / 3.374 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/8.622, allocations: 12.03 kB / 3.374 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001598/8.624, allocations: 349.2 kB / 3.374 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05261/8.677, allocations: 5.206 MB / 3.38 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.031/9.708, allocations: 293.5 MB / 3.666 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/9.708, allocations: 212.8 kB / 3.666 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/9.709, allocations: 291.6 kB / 3.667 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006785/9.716, allocations: 4.266 MB / 3.671 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/9.716, allocations: 3.844 kB / 3.671 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/9.716, allocations: 101.5 kB / 3.671 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/9.716, allocations: 60 kB / 3.671 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005361/9.722, allocations: 4.018 MB / 3.675 GB, free: 177 MB / 0.8698 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.116/10.84, allocations: 269.4 MB / 3.938 GB, free: 242.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006681/10.84, allocations: 3.456 MB / 3.941 GB, free: 242.4 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/10.85, allocations: 2.542 MB / 3.944 GB, free: 242.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/10.85, allocations: 92.91 kB / 3.944 GB, free: 242.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004682/10.85, allocations: 2.742 MB / 3.947 GB, free: 242.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 7.695e-06/10.85, allocations: 0 / 3.947 GB, free: 242.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.03663/10.89, allocations: 6.986 MB / 3.953 GB, free: 242 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003074/10.89, allocations: 428 kB / 3.954 GB, free: 241.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.415/12.31, allocations: 325.9 MB / 4.272 GB, free: 238.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001358/12.31, allocations: 80.42 kB / 4.272 GB, free: 238.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005316/12.31, allocations: 2.877 MB / 4.275 GB, free: 238.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/12.31, allocations: 0.6729 MB / 4.276 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/12.31, allocations: 55.42 kB / 4.276 GB, free: 238.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002633/12.31, allocations: 416.9 kB / 4.276 GB, free: 238 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005684/12.32, allocations: 3.673 MB / 4.28 GB, free: 238 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/12.33, allocations: 4.219 MB / 4.284 GB, free: 237.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/12.33, allocations: 3.672 MB / 4.287 GB, free: 237.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/12.33, allocations: 0 / 4.287 GB, free: 237.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04231/12.37, allocations: 10.28 MB / 4.297 GB, free: 236.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001309/12.38, allocations: 3.363 MB / 4.301 GB, free: 233.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04222/12.42, allocations: 11.61 MB / 4.312 GB, free: 231 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.163/12.58, allocations: 46.71 MB / 4.358 GB, free: 225.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/12.59, allocations: 1.213 MB / 4.359 GB, free: 224.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008704/12.6, allocations: 8.531 MB / 4.367 GB, free: 216.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03152/12.63, allocations: 1.618 MB / 4.369 GB, free: 215 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/12.63, allocations: 190 kB / 4.369 GB, free: 214.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/12.63, allocations: 4.938 kB / 4.369 GB, free: 214.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01572/12.65, allocations: 9.319 MB / 4.378 GB, free: 206.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01271/12.66, allocations: 8.474 MB / 4.386 GB, free: 199.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/12.66, allocations: 1.49 MB / 4.388 GB, free: 198.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008757/12.67, allocations: 1.47 MB / 4.389 GB, free: 197.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/12.69, allocations: 12.96 MB / 4.402 GB, free: 185.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03431/12.72, allocations: 1.573 MB / 4.403 GB, free: 184.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/12.72, allocations: 183.2 kB / 4.403 GB, free: 184 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001222/12.72, allocations: 400.6 kB / 4.404 GB, free: 183.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0249/12.75, allocations: 0.5979 MB / 4.404 GB, free: 183.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/12.77, allocations: 7.912 MB / 4.412 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/12.77, allocations: 20 kB / 4.412 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/12.77, allocations: 0 / 4.412 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/12.77, allocations: 11.95 kB / 4.412 GB, free: 176.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2021/12.97, allocations: 135.6 MB / 4.545 GB, free: 40.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04228/13.01, allocations: 10.08 MB / 4.554 GB, free: 30.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/13.01, allocations: 0.6245 MB / 4.555 GB, free: 29.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.135/13.15, allocations: 25.39 MB / 4.58 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/13.15, allocations: 87.92 kB / 4.58 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.757/13.91, allocations: 8.47 MB / 4.588 GB, free: 238.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/13.91, allocations: 4.422 kB / 4.588 GB, free: 238.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07774/13.99, allocations: 10.88 MB / 4.599 GB, free: 238.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1386/14.12, allocations: 64.61 MB / 4.662 GB, free: 235.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02854/14.15, allocations: 61.5 kB / 4.662 GB, free: 235.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02857/14.18, allocations: 1.095 MB / 4.663 GB, free: 235.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000907/14.18, allocations: 131.6 kB / 4.663 GB, free: 235.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004835/14.18, allocations: 132.3 kB / 4.663 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.3128/14.5, allocations: 236.4 MB / 4.894 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.01e-07/14.5, allocations: 0 / 4.894 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.904/15.4, allocations: 37.16 MB / 4.931 GB, free: 256.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05478/15.45, allocations: 9.404 MB / 4.94 GB, free: 255.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03523/15.49, allocations: 14.54 MB / 4.954 GB, free: 254.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/15.49, allocations: 3.641 kB / 4.954 GB, free: 254.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009011/15.5, allocations: 3.687 MB / 4.958 GB, free: 254.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02634/15.53, allocations: 0.8738 MB / 4.958 GB, free: 254 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07446/15.6, allocations: 14.01 MB / 4.972 GB, free: 252.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009508/15.61, allocations: 3.997 MB / 4.976 GB, free: 251.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.1462/15.76, allocations: 87.16 MB / 5.061 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007775/15.76, allocations: 2.569 MB / 5.064 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.763e-06/15.76, allocations: 0 / 5.064 GB, free: 196.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.919/21.68, allocations: 1.645 GB / 6.708 GB, free: 11.25 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/21.68, allocations: 230.3 kB / 6.709 GB, free: 10.98 MB / 1.135 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_maint_7_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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_7_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_7_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_7_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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:22: error: redefinition of 'ths' with a different type: 'modelica_boolean' (aka 'signed char') vs 'boolean_array' (aka 'struct base_array_s') modelica_boolean ths->_D_24tmpVar8; ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447:39: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp103); ~~~^~ . Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5447:41: error: no member named '_D_24tmpVar9' in 'struct base_array_s' simple_alloc_1d_boolean_array(&ths->_D_24tmpVar9,tmp103); ~~~ ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455:12: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? ths->_D_24tmpVar8 = 0; ~~~^~ . Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5455:14: error: no member named '_D_24tmpVar8' in 'struct base_array_s' ths->_D_24tmpVar8 = 0; ~~~ ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:43: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:45: error: no member named '_D_24tmpVar9' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:77: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~^~ . Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5456:79: error: no member named '_D_24tmpVar8' in 'struct base_array_s' *(boolean_array_element_addr1(&ths->_D_24tmpVar9, 1, tmp97++)) = ths->_D_24tmpVar8; ~~~ ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:16: error: member reference type 'boolean_array' (aka 'struct base_array_s') is not a pointer; did you mean to use '.'? tmp98 = ths->_D_24tmpVar9; ~~~^~ . Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:5463:18: error: no member named '_D_24tmpVar9' in 'struct base_array_s' tmp98 = ths->_D_24tmpVar9; ~~~ ^ 2 warnings and 15 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1