Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 182.5 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.1 MB / 0.7992 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.0009869, allocations: 100.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004065, allocations: 12.59 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5017, allocations: 150.2 MB / 1.376 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.502, allocations: 83.94 kB / 1.376 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005686/0.5077, allocations: 2.29 MB / 1.378 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5078, allocations: 4 kB / 1.378 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.5078, allocations: 3.938 kB / 1.378 GB, free: 0.9805 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002881/0.5081, allocations: 331.4 kB / 1.379 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5081, allocations: 8.031 kB / 1.379 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.5082, allocations: 105.8 kB / 1.379 GB, free: 500 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.5082, allocations: 83.17 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5084, allocations: 246.3 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.5085, allocations: 154.6 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.5085, allocations: 154.6 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.179e-05/0.5086, allocations: 108.9 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.5086, allocations: 75.28 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.5087, allocations: 150.6 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.5088, allocations: 154.5 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.5088, allocations: 154.6 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.5091, allocations: 453.9 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.5092, allocations: 173.2 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.5092, allocations: 75.28 kB / 1.381 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.5093, allocations: 113.8 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 3.967e-06/0.5093, allocations: 7.984 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.125e-05/0.5094, allocations: 29.69 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.5094, allocations: 126.7 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5095, allocations: 100.9 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5096, allocations: 29.69 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.5096, allocations: 80.14 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.5096, allocations: 4 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5097, allocations: 0 / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5098, allocations: 318.8 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.5098, allocations: 0 / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.5098, allocations: 15.98 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.5099, allocations: 7.938 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5099, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.51, allocations: 37.7 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.51, allocations: 10 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.51, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5101, allocations: 3.984 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.5101, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5101, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.5102, allocations: 8.156 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5102, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.5103, allocations: 193.8 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.5104, allocations: 113 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.5105, allocations: 108.3 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-05/0.5105, allocations: 184.2 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/0.5106, allocations: 176.3 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.886e-05/0.5107, allocations: 180.2 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.5109, allocations: 409.2 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.5109, allocations: 105 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.5109, allocations: 104.9 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.646e-05/0.511, allocations: 184.2 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.5111, allocations: 184.2 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.939e-05/0.5111, allocations: 176.3 kB / 1.383 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/0.5112, allocations: 180.3 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.5113, allocations: 311.8 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.5114, allocations: 190 kB / 1.384 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.5115, allocations: 180.2 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.5116, allocations: 101 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.5116, allocations: 192.2 kB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.5117, allocations: 101.3 kB / 1.385 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.744e-05/0.5117, allocations: 83.28 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5117, allocations: 0 / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002176/0.512, allocations: 4 kB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.5125, allocations: 0.8242 MB / 1.386 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.5126, allocations: 7.984 kB / 1.386 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5126, allocations: 0 / 1.386 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.5126, allocations: 11.92 kB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.5129, allocations: 0.5263 MB / 1.386 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/0.5134, allocations: 373.9 kB / 1.386 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5136, allocations: 0.677 MB / 1.387 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.5137, allocations: 4 kB / 1.387 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.5137, allocations: 15.06 kB / 1.387 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.5137, allocations: 0 / 1.387 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5295, allocations: 1.041 MB / 1.388 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/0.5299, allocations: 223.1 kB / 1.388 GB, free: 6.246 MB / 0.8855 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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1