Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.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.Validation.WindowSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState",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.527/1.527, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.001127/0.001127, allocations: 184.6 kB / 321.3 MB, free: 14.65 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.843/1.843, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.001193/0.001193, allocations: 87.88 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.858e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2795, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.1/7.38, allocations: 2.244 GB / 3.136 GB, free: 99.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/7.38, allocations: 87.7 kB / 3.136 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/8.721, allocations: 263.1 MB / 3.393 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/8.721, allocations: 0 / 3.393 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001278/8.723, allocations: 119.9 kB / 3.393 GB, free: 183.8 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.04152/8.764, allocations: 5.53 MB / 3.398 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/8.764, allocations: 12.02 kB / 3.398 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002169/8.767, allocations: 333.6 kB / 3.399 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05659/8.823, allocations: 5.176 MB / 3.404 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.034/9.857, allocations: 293.4 MB / 3.69 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/9.857, allocations: 208.7 kB / 3.69 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009637/9.858, allocations: 280 kB / 3.691 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006149/9.864, allocations: 4.231 MB / 3.695 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/9.864, allocations: 10.53 kB / 3.695 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/9.865, allocations: 101.5 kB / 3.695 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/9.865, allocations: 60 kB / 3.695 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0053/9.87, allocations: 3.968 MB / 3.699 GB, free: 158.1 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.117/10.99, allocations: 272.8 MB / 3.965 GB, free: 239 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/10.99, allocations: 2.895 MB / 3.968 GB, free: 239 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/10.99, allocations: 2.176 MB / 3.97 GB, free: 238.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/11, allocations: 82.47 kB / 3.97 GB, free: 238.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003036/11, allocations: 2.356 MB / 3.973 GB, free: 237.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=175): time 3.687e-06/11, allocations: 0 / 3.973 GB, free: 237.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=175): time 0.03331/11.03, allocations: 6.225 MB / 3.979 GB, free: 235 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/11.03, allocations: 0.5143 MB / 3.979 GB, free: 234.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.345/12.38, allocations: 326.4 MB / 4.298 GB, free: 235.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001333/12.38, allocations: 76.17 kB / 4.298 GB, free: 235.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005732/12.38, allocations: 2.947 MB / 4.301 GB, free: 235.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/12.39, allocations: 0.5804 MB / 4.301 GB, free: 234.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/12.39, allocations: 53.22 kB / 4.301 GB, free: 234.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000345/12.39, allocations: 420 kB / 4.302 GB, free: 234.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/12.39, allocations: 3.262 MB / 4.305 GB, free: 234.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005929/12.4, allocations: 4.283 MB / 4.309 GB, free: 233.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/12.4, allocations: 3.281 MB / 4.312 GB, free: 233.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/12.4, allocations: 6.219 kB / 4.312 GB, free: 233.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=334) (initialization): time 0.03965/12.44, allocations: 9.716 MB / 4.322 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003119/12.45, allocations: 12.63 MB / 4.334 GB, free: 217.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04185/12.49, allocations: 10.28 MB / 4.344 GB, free: 215 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1676/12.66, allocations: 46.75 MB / 4.39 GB, free: 198.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007314/12.66, allocations: 1.222 MB / 4.391 GB, free: 197.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/12.67, allocations: 8.6 MB / 4.4 GB, free: 189 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03249/12.71, allocations: 1.702 MB / 4.401 GB, free: 187.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/12.71, allocations: 200.5 kB / 4.401 GB, free: 187.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/12.71, allocations: 4 kB / 4.401 GB, free: 187.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01753/12.72, allocations: 8.64 MB / 4.41 GB, free: 180.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01008/12.73, allocations: 6.542 MB / 4.416 GB, free: 175 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004745/12.74, allocations: 1.547 MB / 4.418 GB, free: 173.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0088/12.75, allocations: 1.471 MB / 4.419 GB, free: 172.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/12.76, allocations: 13.03 MB / 4.432 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03084/12.79, allocations: 1.619 MB / 4.434 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/12.8, allocations: 203.5 kB / 4.434 GB, free: 159.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (251): * Single equations (assignments): 246 * 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 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.001285/12.8, allocations: 395.8 kB / 4.434 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02304/12.82, allocations: 0.6133 MB / 4.435 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/12.84, allocations: 6.926 MB / 4.441 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/12.84, allocations: 21.2 kB / 4.441 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/12.84, allocations: 3.984 kB / 4.441 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/12.84, allocations: 11.97 kB / 4.441 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.194/13.03, allocations: 134.6 MB / 4.573 GB, free: 17.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04113/13.07, allocations: 9.41 MB / 4.582 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/13.07, allocations: 0.5473 MB / 4.583 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8555/13.93, allocations: 25.41 MB / 4.607 GB, free: 235.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009206/13.93, allocations: 73.22 kB / 4.608 GB, free: 235.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/13.94, allocations: 8.466 MB / 4.616 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/13.94, allocations: 8.25 kB / 4.616 GB, free: 230.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06827/14.01, allocations: 10.25 MB / 4.626 GB, free: 230.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1285/14.14, allocations: 64.57 MB / 4.689 GB, free: 219.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02733/14.17, allocations: 61.62 kB / 4.689 GB, free: 219.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02883/14.19, allocations: 1.073 MB / 4.69 GB, free: 219.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008685/14.2, allocations: 115.2 kB / 4.69 GB, free: 219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004224/14.2, allocations: 111.4 kB / 4.69 GB, free: 218.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.3054/14.5, allocations: 237.5 MB / 4.922 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.192e-06/14.5, allocations: 0 / 4.922 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.8298/15.33, allocations: 34.42 MB / 4.956 GB, free: 251.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.04267/15.37, allocations: 8.596 MB / 4.964 GB, free: 249.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02724/15.4, allocations: 12.31 MB / 4.976 GB, free: 248.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/15.4, allocations: 3.312 kB / 4.976 GB, free: 248.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006661/15.41, allocations: 3.168 MB / 4.979 GB, free: 248.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02606/15.43, allocations: 0.8826 MB / 4.98 GB, free: 248.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06852/15.5, allocations: 13.39 MB / 4.993 GB, free: 246.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008433/15.51, allocations: 3.953 MB / 4.997 GB, free: 245.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.1357/15.65, allocations: 87.06 MB / 5.082 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006431/15.65, allocations: 2.502 MB / 5.085 GB, free: 174 MB / 0.9167 GB Notification: Performance of SimCode: time 2.555e-06/15.65, allocations: 0 / 5.085 GB, free: 174 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.971/21.63, allocations: 1.655 GB / 6.739 GB, free: 12.12 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/21.63, allocations: 240.2 kB / 6.739 GB, free: 11.79 MB / 1.151 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_Validation_WindowSteadyState.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c In file included from Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_functions.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c In file included from Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_functions.c:1512:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_N == ((modelica_integer) 1))) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_functions.c:1512: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_Validation_WindowSteadyState_functions.c:1512: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_Validation_WindowSteadyState_records.o Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_records.c In file included from Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_records.c:5429:22: error: expected ';' at end of declaration boolean_array ths->_D_24tmpVar9; ^ ; Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_records.c:5429:19: note: previous definition is here boolean_array ths->_D_24tmpVar9; ^ Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_records.c:5430:25: error: expected ';' at end of declaration modelica_boolean ths->_D_24tmpVar8; ^ ; Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_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_Validation_WindowSteadyState_records.o] Error 1