Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.2 MB, free: 2.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 177.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008559/0.0008561, allocations: 91.67 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.111e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2443, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7513/0.9956, allocations: 139 MB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.9959, allocations: 78.47 kB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00486/1.001, allocations: 2.103 MB / 1.118 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/1.001, allocations: 0 / 1.118 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.001, allocations: 0.6875 kB / 1.118 GB, free: 43.45 MB / 0.7448 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.0002006/1.001, allocations: 326.3 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.001, allocations: 8.031 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/1.001, allocations: 107.2 kB / 1.118 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/1.001, allocations: 79.62 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/1.001, allocations: 239 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.001, allocations: 158.2 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.001, allocations: 156.3 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.372e-05/1.001, allocations: 105.8 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.001, allocations: 79.22 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/1.002, allocations: 151.8 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/1.002, allocations: 152.9 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/1.002, allocations: 151.5 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/1.002, allocations: 452.7 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/1.002, allocations: 174.4 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/1.002, allocations: 82.08 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/1.002, allocations: 75.28 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/1.002, allocations: 114.4 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/1.002, allocations: 3.828 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 8.609e-05/1.002, allocations: 31.98 kB / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.002, allocations: 130.2 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/1.002, allocations: 97.31 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/1.002, allocations: 26.64 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/1.002, allocations: 83.77 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/1.002, allocations: 11.98 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/1.002, allocations: 0 / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/1.002, allocations: 314.3 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/1.002, allocations: 4 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/1.002, allocations: 4 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/1.002, allocations: 7.328 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.002, allocations: 0 / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.161e-05/1.002, allocations: 45.47 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.002, allocations: 8.781 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.002, allocations: 0 / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.002, allocations: 1.453 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/1.002, allocations: 7.938 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.002, allocations: 3.328 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/1.003, allocations: 0 / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/1.003, allocations: 0 / 1.121 GB, free: 39.98 MB / 0.7448 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 () * 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 6.188e-05/1.003, allocations: 181.2 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/1.003, allocations: 106.4 kB / 1.121 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/1.003, allocations: 112.6 kB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/1.003, allocations: 187.5 kB / 1.122 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.154e-05/1.003, allocations: 176.3 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/1.003, allocations: 184.2 kB / 1.122 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.003, allocations: 404.2 kB / 1.122 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/1.003, allocations: 113.1 kB / 1.122 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/1.003, allocations: 105 kB / 1.122 GB, free: 38.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.228e-05/1.003, allocations: 180.2 kB / 1.123 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/1.003, allocations: 180.8 kB / 1.123 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/1.003, allocations: 179.9 kB / 1.123 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.451e-05/1.003, allocations: 188.2 kB / 1.123 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/1.003, allocations: 307.5 kB / 1.123 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/1.003, allocations: 189.4 kB / 1.124 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/1.003, allocations: 180.2 kB / 1.124 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/1.003, allocations: 106.8 kB / 1.124 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/1.004, allocations: 185.2 kB / 1.124 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/1.004, allocations: 105.1 kB / 1.124 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.97e-05/1.004, allocations: 83.53 kB / 1.124 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.004, allocations: 0 / 1.124 GB, free: 36.42 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002274/1.004, allocations: 8 kB / 1.124 GB, free: 36.41 MB / 0.7448 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 () * 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.0003205/1.004, allocations: 0.8242 MB / 1.125 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/1.004, allocations: 4 kB / 1.125 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.004, allocations: 0.6562 kB / 1.125 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/1.004, allocations: 3.938 kB / 1.125 GB, free: 35.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/1.004, allocations: 0.526 MB / 1.126 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/1.005, allocations: 153.6 kB / 1.126 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.006, allocations: 0.6803 MB / 1.126 GB, free: 50.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.811e-05/1.006, allocations: 1.406 kB / 1.126 GB, free: 50.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/1.006, allocations: 7.438 kB / 1.126 GB, free: 50.15 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/1.006, allocations: 0 / 1.126 GB, free: 50.15 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/1.019, allocations: 1.053 MB / 1.127 GB, free: 49.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.02, allocations: 196.4 kB / 1.128 GB, free: 49.38 MB / 0.7605 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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1