Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.733/1.733, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.001185/0.001185, allocations: 182.9 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.873/1.873, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001205/0.001205, allocations: 93.47 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.601e-05/5.613e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4345, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9363/1.371, allocations: 138.7 MB / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.371, allocations: 84.69 kB / 1.115 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003345/1.374, allocations: 1.539 MB / 1.117 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.325e-06/1.374, allocations: 3.469 kB / 1.117 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.374, allocations: 0.625 kB / 1.117 GB, free: 44.01 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.0001777/1.375, allocations: 322.5 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.375, allocations: 8.656 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/1.375, allocations: 112.7 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/1.375, allocations: 77.59 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.375, allocations: 240.6 kB / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/1.375, allocations: 154.3 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/1.375, allocations: 151.7 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.815e-05/1.375, allocations: 106.6 kB / 1.118 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.375, allocations: 83.45 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/1.375, allocations: 155 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/1.375, allocations: 151.2 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/1.375, allocations: 154 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/1.375, allocations: 449.5 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/1.375, allocations: 172.3 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/1.375, allocations: 82.11 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/1.376, allocations: 76.08 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.376, allocations: 105.8 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/1.376, allocations: 0.5938 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.896e-05/1.376, allocations: 35.73 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/1.376, allocations: 126.7 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/1.376, allocations: 96.78 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/1.376, allocations: 25.7 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/1.376, allocations: 88.08 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/1.376, allocations: 0 / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/1.376, allocations: 0 / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/1.376, allocations: 314.7 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/1.376, allocations: 4 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/1.376, allocations: 0 / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/1.376, allocations: 79.28 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/1.376, allocations: 78.23 kB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.035e-05/1.376, allocations: 33.12 kB / 1.12 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.376, allocations: 83.94 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.376, allocations: 79.22 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/1.376, allocations: 156.1 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.255e-05/1.376, allocations: 75.28 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/1.376, allocations: 162.2 kB / 1.121 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/1.376, allocations: 79.28 kB / 1.121 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/1.376, allocations: 82.59 kB / 1.121 GB, free: 39.74 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 (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 prepare postOptimizeDAE: time 5.821e-05/1.376, allocations: 256.1 kB / 1.121 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/1.376, allocations: 112.4 kB / 1.121 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/1.376, allocations: 108 kB / 1.121 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.376, allocations: 176.3 kB / 1.122 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/1.376, allocations: 184.4 kB / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.377, allocations: 180.9 kB / 1.122 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/1.377, allocations: 409 kB / 1.122 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.377, allocations: 104.9 kB / 1.122 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/1.377, allocations: 102.6 kB / 1.123 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.803e-05/1.377, allocations: 180.2 kB / 1.123 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/1.377, allocations: 185.1 kB / 1.123 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.225e-05/1.377, allocations: 182.8 kB / 1.123 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.249e-05/1.377, allocations: 184.2 kB / 1.123 GB, free: 37.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/1.377, allocations: 303.2 kB / 1.124 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/1.377, allocations: 188.4 kB / 1.124 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/1.377, allocations: 184.8 kB / 1.124 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/1.377, allocations: 116.5 kB / 1.124 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/1.377, allocations: 176.3 kB / 1.124 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.377, allocations: 104.8 kB / 1.124 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.292e-05/1.377, allocations: 80.97 kB / 1.124 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.377, allocations: 7.938 kB / 1.124 GB, free: 36.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002674/1.378, allocations: 4 kB / 1.124 GB, free: 36.11 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.0003191/1.378, allocations: 0.8139 MB / 1.125 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.899e-05/1.378, allocations: 4.562 kB / 1.125 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.378, allocations: 0 / 1.125 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/1.378, allocations: 3.938 kB / 1.125 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.379, allocations: 0.532 MB / 1.126 GB, free: 50.74 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/1.379, allocations: 150.7 kB / 1.126 GB, free: 50.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/1.38, allocations: 0.6771 MB / 1.126 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.996e-05/1.38, allocations: 0 / 1.126 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/1.38, allocations: 11.44 kB / 1.126 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of SimCode: time 2.41e-07/1.38, allocations: 0.6562 kB / 1.126 GB, free: 49.86 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/1.393, allocations: 0.9631 MB / 1.127 GB, free: 49.37 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.393, allocations: 195.6 kB / 1.128 GB, free: 49.15 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_GetTimeSpanTMY3LongHeader.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.o Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader_functions.o] Error 1