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.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 191.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0008944/0.0008945, allocations: 102.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 9.594 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2432, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/5.842, allocations: 2.243 GB / 3.143 GB, free: 314.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.842, allocations: 101.8 kB / 3.143 GB, free: 314.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5593/6.402, allocations: 239.5 MB / 3.377 GB, free: 97.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/6.402, allocations: 0 / 3.377 GB, free: 97.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001118/6.403, allocations: 127.9 kB / 3.377 GB, free: 97.72 MB / 0.8855 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.1839/6.587, allocations: 71.56 MB / 3.447 GB, free: 26.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/6.587, allocations: 8.031 kB / 3.447 GB, free: 26.03 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00172/6.589, allocations: 350.2 kB / 3.448 GB, free: 25.68 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05415/6.643, allocations: 5.207 MB / 3.453 GB, free: 20.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8776/7.52, allocations: 294.7 MB / 3.74 GB, free: 31.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/7.521, allocations: 219.4 kB / 3.741 GB, free: 31.22 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009423/7.522, allocations: 291.6 kB / 3.741 GB, free: 30.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/7.533, allocations: 4.937 MB / 3.746 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/7.533, allocations: 4 kB / 3.746 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/7.533, allocations: 107.8 kB / 3.746 GB, free: 26.91 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/7.533, allocations: 60 kB / 3.746 GB, free: 26.86 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/7.544, allocations: 4.751 MB / 3.75 GB, free: 23.06 MB / 0.8855 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.9732/8.517, allocations: 269.4 MB / 4.014 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/8.527, allocations: 4.18 MB / 4.018 GB, free: 107 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/8.527, allocations: 92.95 kB / 4.018 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007988/8.535, allocations: 3.388 MB / 4.021 GB, free: 104.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 5.451e-06/8.535, allocations: 0 / 4.021 GB, free: 104.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.06772/8.603, allocations: 16.18 MB / 4.037 GB, free: 92.63 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003733/8.604, allocations: 432.8 kB / 4.037 GB, free: 92.16 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.232/9.836, allocations: 326.5 MB / 4.356 GB, free: 99.12 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/9.838, allocations: 86.47 kB / 4.356 GB, free: 99.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004282/9.842, allocations: 2.883 MB / 4.359 GB, free: 96.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/9.843, allocations: 0.6621 MB / 4.36 GB, free: 96.22 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/9.844, allocations: 52 kB / 4.36 GB, free: 96.17 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002081/9.844, allocations: 421.6 kB / 4.36 GB, free: 95.79 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/9.857, allocations: 4.89 MB / 4.365 GB, free: 91.89 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01341/9.87, allocations: 5.431 MB / 4.37 GB, free: 87.34 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/9.883, allocations: 4.888 MB / 4.375 GB, free: 83.32 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/9.883, allocations: 1.547 kB / 4.375 GB, free: 83.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.05535/9.939, allocations: 13.28 MB / 4.388 GB, free: 72.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009457/9.94, allocations: 3.361 MB / 4.391 GB, free: 69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05981/9.999, allocations: 13.89 MB / 4.405 GB, free: 58.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1873/10.19, allocations: 47.11 MB / 4.451 GB, free: 27.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007613/10.19, allocations: 1.219 MB / 4.452 GB, free: 26.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/10.21, allocations: 9.161 MB / 4.461 GB, free: 17.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02927/10.24, allocations: 1.619 MB / 4.462 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/10.24, allocations: 184.8 kB / 4.463 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/10.24, allocations: 4 kB / 4.463 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03458/10.27, allocations: 11.75 MB / 4.474 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03201/10.31, allocations: 10.53 MB / 4.484 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/10.31, allocations: 1.502 MB / 4.486 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/10.32, allocations: 1.467 MB / 4.487 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5689/10.89, allocations: 13.36 MB / 4.5 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03045/10.92, allocations: 1.565 MB / 4.502 GB, free: 215.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/10.92, allocations: 186 kB / 4.502 GB, free: 215.2 MB / 0.9167 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.007773/10.93, allocations: 2.603 MB / 4.505 GB, free: 215 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02185/10.95, allocations: 0.6024 MB / 4.505 GB, free: 214.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03061/10.98, allocations: 9.761 MB / 4.515 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/10.98, allocations: 19.88 kB / 4.515 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/10.98, allocations: 1.094 kB / 4.515 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/10.98, allocations: 9.031 kB / 4.515 GB, free: 214.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.239/11.22, allocations: 137.4 MB / 4.649 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.05522/11.28, allocations: 11.6 MB / 4.66 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004006/11.28, allocations: 0.6267 MB / 4.661 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1539/11.43, allocations: 25.79 MB / 4.686 GB, free: 158.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009677/11.44, allocations: 85.36 kB / 4.686 GB, free: 158.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/11.45, allocations: 9.09 MB / 4.695 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/11.45, allocations: 0 / 4.695 GB, free: 148.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07813/11.53, allocations: 12.39 MB / 4.707 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1381/11.66, allocations: 64.61 MB / 4.77 GB, free: 71.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02985/11.69, allocations: 63.95 kB / 4.77 GB, free: 71.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02685/11.72, allocations: 1.09 MB / 4.771 GB, free: 70.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/11.72, allocations: 144.7 kB / 4.772 GB, free: 70.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/11.72, allocations: 135.6 kB / 4.772 GB, free: 70.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.8756/12.6, allocations: 237.6 MB / 5.004 GB, free: 153.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.52e-07/12.6, allocations: 0 / 5.004 GB, free: 153.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.07929/12.68, allocations: 32.93 MB / 5.036 GB, free: 121 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) * 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.04983/12.73, allocations: 10.84 MB / 5.046 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04046/12.77, allocations: 17.02 MB / 5.063 GB, free: 98.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/12.77, allocations: 6.219 kB / 5.063 GB, free: 98.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/12.78, allocations: 4.332 MB / 5.067 GB, free: 95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02316/12.8, allocations: 0.8788 MB / 5.068 GB, free: 94.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06942/12.87, allocations: 24.93 MB / 5.093 GB, free: 70.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008418/12.88, allocations: 3.986 MB / 5.096 GB, free: 68.04 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.04872/12.93, allocations: 34.19 MB / 5.13 GB, free: 34.97 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06231/12.99, allocations: 12.25 MB / 5.142 GB, free: 27.14 MB / 0.9167 GB Notification: Performance of SimCode: time 2.044e-06/12.99, allocations: 0 / 5.142 GB, free: 27.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.053/19.04, allocations: 1.632 GB / 6.774 GB, free: 121.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/19.04, allocations: 261.8 kB / 6.774 GB, free: 120.9 MB / 1.151 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 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: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 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: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_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 -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 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: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_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:22: error: expected ';' at end of declaration boolean_array ths->__omcQ_24tmpVar9; ^ ; Buildings_maint_7_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_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4576:19: note: previous definition is here boolean_array ths->__omcQ_24tmpVar9; ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.c:4577:25: error: expected ';' at end of declaration modelica_boolean ths->__omcQ_24tmpVar8; ^ ; Buildings_maint_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window_records.o] Error 1