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: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|window.glaUns.u|window.glaUns.glass_a.T|window.glaUns.glass_b.T|window.glaSha.glass_a.T|window.glaSha.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 249.3 MB / 261.8 MB, free: 5.805 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.001057/0.001057, allocations: 170.2 kB / 321.3 MB, free: 14.66 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.917/1.917, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008569/0.0008569, allocations: 89.28 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.801e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2412, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.097/7.338, allocations: 2.243 GB / 3.135 GB, free: 101 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/7.338, allocations: 88.33 kB / 3.135 GB, free: 101 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.131/8.47, allocations: 240.3 MB / 3.37 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.386e-06/8.47, allocations: 0 / 3.37 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.00108/8.471, allocations: 122 kB / 3.37 GB, free: 203.4 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.04009/8.511, allocations: 5.553 MB / 3.375 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/8.511, allocations: 8.031 kB / 3.375 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05474/8.566, allocations: 5.209 MB / 3.38 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.017/9.583, allocations: 293.5 MB / 3.667 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/9.583, allocations: 216.8 kB / 3.667 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/9.584, allocations: 288 kB / 3.667 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00692/9.591, allocations: 4.267 MB / 3.671 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/9.591, allocations: 3.656 kB / 3.671 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/9.592, allocations: 105.5 kB / 3.672 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/9.592, allocations: 60 kB / 3.672 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/9.597, allocations: 4.014 MB / 3.675 GB, free: 177.7 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.113/10.71, allocations: 269.4 MB / 3.939 GB, free: 242.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/10.72, allocations: 3.455 MB / 3.942 GB, free: 242.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/10.72, allocations: 2.541 MB / 3.944 GB, free: 242.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/10.72, allocations: 89.81 kB / 3.944 GB, free: 242.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003944/10.72, allocations: 2.745 MB / 3.947 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 5.5e-06/10.72, allocations: 7.438 kB / 3.947 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.03327/10.76, allocations: 6.98 MB / 3.954 GB, free: 242.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/10.76, allocations: 428.1 kB / 3.954 GB, free: 241.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.351/12.11, allocations: 325.8 MB / 4.273 GB, free: 239.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/12.11, allocations: 82.77 kB / 4.273 GB, free: 239.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004741/12.11, allocations: 2.884 MB / 4.275 GB, free: 239.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/12.12, allocations: 0.6642 MB / 4.276 GB, free: 238.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/12.12, allocations: 52.62 kB / 4.276 GB, free: 238.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002571/12.12, allocations: 423.2 kB / 4.277 GB, free: 238.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006092/12.12, allocations: 3.671 MB / 4.28 GB, free: 238.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005874/12.13, allocations: 4.218 MB / 4.284 GB, free: 238.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/12.13, allocations: 3.672 MB / 4.288 GB, free: 238 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/12.13, allocations: 1.062 kB / 4.288 GB, free: 238 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04333/12.18, allocations: 10.29 MB / 4.298 GB, free: 237.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001184/12.18, allocations: 3.36 MB / 4.301 GB, free: 234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04184/12.22, allocations: 11.61 MB / 4.313 GB, free: 231.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1661/12.39, allocations: 46.71 MB / 4.358 GB, free: 226.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007408/12.39, allocations: 1.215 MB / 4.359 GB, free: 225.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/12.4, allocations: 8.539 MB / 4.368 GB, free: 217.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03238/12.44, allocations: 1.617 MB / 4.369 GB, free: 215.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/12.44, allocations: 191.8 kB / 4.369 GB, free: 215.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/12.44, allocations: 8 kB / 4.369 GB, free: 215.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01991/12.46, allocations: 9.307 MB / 4.379 GB, free: 207.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01681/12.48, allocations: 8.473 MB / 4.387 GB, free: 200.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/12.48, allocations: 1.495 MB / 4.388 GB, free: 199.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009348/12.49, allocations: 1.465 MB / 4.39 GB, free: 198.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/12.51, allocations: 12.97 MB / 4.402 GB, free: 186.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03376/12.54, allocations: 1.571 MB / 4.404 GB, free: 185 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/12.54, allocations: 181.1 kB / 4.404 GB, free: 184.8 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.003081/12.55, allocations: 409.5 kB / 4.404 GB, free: 184.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02422/12.57, allocations: 0.594 MB / 4.405 GB, free: 183.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/12.59, allocations: 7.909 MB / 4.413 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/12.59, allocations: 20 kB / 4.413 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/12.59, allocations: 0 / 4.413 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/12.59, allocations: 11.95 kB / 4.413 GB, free: 177 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1894/12.78, allocations: 135.6 MB / 4.545 GB, free: 41.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04227/12.82, allocations: 10.08 MB / 4.555 GB, free: 31.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003969/12.82, allocations: 0.6276 MB / 4.556 GB, free: 30.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1348/12.96, allocations: 25.39 MB / 4.58 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/12.96, allocations: 87.98 kB / 4.581 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.726/13.69, allocations: 8.467 MB / 4.589 GB, free: 239.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/13.69, allocations: 0.8125 kB / 4.589 GB, free: 239.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0822/13.77, allocations: 10.88 MB / 4.599 GB, free: 238.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1316/13.9, allocations: 64.62 MB / 4.663 GB, free: 236.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02932/13.93, allocations: 58.69 kB / 4.663 GB, free: 236.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03138/13.96, allocations: 1.092 MB / 4.664 GB, free: 236.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/13.96, allocations: 136.8 kB / 4.664 GB, free: 236 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005107/13.96, allocations: 137.7 kB / 4.664 GB, free: 235.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.2936/14.26, allocations: 236.4 MB / 4.895 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.334e-06/14.26, allocations: 0 / 4.895 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.9442/15.2, allocations: 37.17 MB / 4.931 GB, free: 256.7 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.009176/15.21, allocations: 1.98 MB / 4.933 GB, free: 256.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03472/15.24, allocations: 14.54 MB / 4.947 GB, free: 255.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/15.24, allocations: 0.625 kB / 4.947 GB, free: 255.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008524/15.25, allocations: 3.692 MB / 4.951 GB, free: 255.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02578/15.28, allocations: 0.8724 MB / 4.952 GB, free: 255.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04064/15.32, allocations: 12.18 MB / 4.964 GB, free: 253.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007886/15.33, allocations: 3.995 MB / 4.968 GB, free: 252.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.1293/15.46, allocations: 87.17 MB / 5.053 GB, free: 204.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/15.46, allocations: 290.2 kB / 5.053 GB, free: 204 MB / 0.9167 GB Notification: Performance of SimCode: time 1.834e-06/15.46, allocations: 0 / 5.053 GB, free: 204 MB / 0.9167 GB Notification: Performance of Templates: time 5.506/20.96, allocations: 1.585 GB / 6.638 GB, free: 9.848 MB / 1.089 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.o Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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: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))) ^~ = 9 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_Window -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 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 '.'? tmp100 = 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' tmp100 = 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,tmp101); ~~~^~ . 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,tmp101); ~~~ ^ 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, tmp95++)) = 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, tmp95++)) = 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, tmp95++)) = 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, tmp95++)) = 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 '.'? tmp96 = 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' tmp96 = ths->_D_24tmpVar9; ~~~ ^ 15 errors generated. make: *** [: Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window_records.o] Error 1