Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.18/2.18, allocations: 248.5 MB / 261 MB, free: 6.008 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.001479/0.001478, allocations: 174.6 kB / 320.4 MB, free: 15.33 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.959/1.959, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001853/0.001853, allocations: 98.36 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.551e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8354/1.036, allocations: 131.5 MB / 1.019 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.036, allocations: 89.09 kB / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008519/1.045, allocations: 2.107 MB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.045, allocations: 0 / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.045, allocations: 4 kB / 1.021 GB, free: 1.734 MB / 0.6355 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.0003359/1.045, allocations: 322.5 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.046, allocations: 12.03 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/1.046, allocations: 109.8 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/1.046, allocations: 79.16 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/1.046, allocations: 238.3 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/1.046, allocations: 154.6 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/1.046, allocations: 150.6 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/1.046, allocations: 104.9 kB / 1.022 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/1.046, allocations: 79.28 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/1.046, allocations: 154.5 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/1.046, allocations: 151.4 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/1.046, allocations: 154.6 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/1.047, allocations: 452.1 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.597e-05/1.047, allocations: 177.1 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/1.047, allocations: 80.14 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/1.047, allocations: 75.28 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/1.047, allocations: 105.8 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/1.047, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 9.156e-05/1.047, allocations: 37.39 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/1.047, allocations: 126.7 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.047, allocations: 108.4 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/1.047, allocations: 25.7 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/1.048, allocations: 84.08 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/1.048, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/1.048, allocations: 3.938 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.048, allocations: 314.8 kB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/1.048, allocations: 8 kB / 1.024 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/1.048, allocations: 15.73 kB / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/1.048, allocations: 4 kB / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.048, allocations: 0 / 1.024 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/1.048, allocations: 37.7 kB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.048, allocations: 14.27 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.048, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.048, allocations: 0 / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/1.048, allocations: 128 / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/1.048, allocations: 4 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/1.048, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/1.048, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.6511 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 0.0001152/1.048, allocations: 184.2 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/1.048, allocations: 108.4 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/1.048, allocations: 109.3 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-05/1.049, allocations: 184.2 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-05/1.049, allocations: 180.3 kB / 1.025 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/1.049, allocations: 180.3 kB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/1.049, allocations: 413 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/1.049, allocations: 101 kB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/1.049, allocations: 104.9 kB / 1.026 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/1.049, allocations: 184.2 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/1.049, allocations: 188 kB / 1.026 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.476e-05/1.049, allocations: 176.3 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-05/1.05, allocations: 176.3 kB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/1.05, allocations: 311.5 kB / 1.027 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.05, allocations: 189.9 kB / 1.027 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/1.05, allocations: 180.3 kB / 1.027 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.05, allocations: 101 kB / 1.027 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/1.05, allocations: 185.2 kB / 1.028 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/1.05, allocations: 107.9 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.454e-05/1.05, allocations: 87.53 kB / 1.028 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.05, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002931/1.051, allocations: 8 kB / 1.028 GB, free: 10.63 MB / 0.6511 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.0006393/1.051, allocations: 0.8335 MB / 1.029 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.974e-05/1.051, allocations: 7.625 kB / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.051, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/1.051, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/1.052, allocations: 0.5185 MB / 1.029 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/1.052, allocations: 169.9 kB / 1.029 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/1.052, allocations: 0.6809 MB / 1.03 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.331e-05/1.053, allocations: 0 / 1.03 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/1.053, allocations: 11.44 kB / 1.03 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.053, allocations: 0 / 1.03 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/1.078, allocations: 1.046 MB / 1.031 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/1.079, allocations: 188.2 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_7_0_0_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 -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.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1