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 loadModel(Buildings): time 4.58/4.58, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.928e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.111, allocations: 131.5 MB / 0.8003 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.111, allocations: 85.19 kB / 0.8004 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007928/1.119, allocations: 2.105 MB / 0.8024 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/1.119, allocations: 4 kB / 0.8024 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.119, allocations: 3.875 kB / 0.8025 GB, free: 12.34 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.0002489/1.119, allocations: 328.6 kB / 0.8028 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.12, allocations: 12.84 kB / 0.8028 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/1.12, allocations: 105.8 kB / 0.8029 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/1.12, allocations: 79.23 kB / 0.803 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/1.12, allocations: 239.7 kB / 0.8032 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.12, allocations: 154.6 kB / 0.8033 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/1.12, allocations: 150.6 kB / 0.8035 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.193e-05/1.12, allocations: 104.9 kB / 0.8036 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.12, allocations: 77.02 kB / 0.8036 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/1.12, allocations: 154.4 kB / 0.8038 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/1.12, allocations: 150.6 kB / 0.8039 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.028e-05/1.12, allocations: 158.5 kB / 0.8041 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/1.12, allocations: 453.9 kB / 0.8045 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/1.12, allocations: 169.1 kB / 0.8047 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/1.121, allocations: 80.14 kB / 0.8048 GB, free: 25.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.121, allocations: 79.28 kB / 0.8048 GB, free: 25.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.121, allocations: 105.8 kB / 0.8049 GB, free: 25.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/1.121, allocations: 3.969 kB / 0.8049 GB, free: 25.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.991e-05/1.121, allocations: 27.02 kB / 0.805 GB, free: 25.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/1.121, allocations: 126.7 kB / 0.8051 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/1.121, allocations: 99.27 kB / 0.8052 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/1.121, allocations: 25.7 kB / 0.8052 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/1.121, allocations: 88.08 kB / 0.8053 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/1.121, allocations: 0 / 0.8053 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.121, allocations: 7.234 kB / 0.8053 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.122, allocations: 324.3 kB / 0.8056 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/1.122, allocations: 4.344 kB / 0.8056 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/1.122, allocations: 5.266 kB / 0.8056 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/1.122, allocations: 5.188 kB / 0.8056 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.122, allocations: 0 / 0.8056 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001302/1.122, allocations: 47.55 kB / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.122, allocations: 3.875 kB / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.122, allocations: 3.938 kB / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.122, allocations: 4.328 kB / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/1.122, allocations: 0 / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.122, allocations: 0 / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.122, allocations: 1.547 kB / 0.8057 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/1.122, allocations: 7.375 kB / 0.8057 GB, free: 24.93 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.0001081/1.122, allocations: 185.3 kB / 0.8059 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/1.122, allocations: 108.8 kB / 0.806 GB, free: 24.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/1.122, allocations: 106.5 kB / 0.8061 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/1.122, allocations: 177.1 kB / 0.8062 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-05/1.123, allocations: 181.2 kB / 0.8064 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.428e-05/1.123, allocations: 185.3 kB / 0.8066 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/1.123, allocations: 408 kB / 0.807 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.905e-05/1.123, allocations: 109 kB / 0.8071 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/1.123, allocations: 102.2 kB / 0.8072 GB, free: 23.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.969e-05/1.123, allocations: 180.3 kB / 0.8073 GB, free: 23.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-05/1.123, allocations: 181.7 kB / 0.8075 GB, free: 22.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001022/1.123, allocations: 183.9 kB / 0.8077 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.463e-05/1.123, allocations: 181.6 kB / 0.8079 GB, free: 22.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/1.124, allocations: 305.2 kB / 0.8082 GB, free: 22.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/1.124, allocations: 183.3 kB / 0.8083 GB, free: 22.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/1.124, allocations: 190.3 kB / 0.8085 GB, free: 21.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.124, allocations: 106.2 kB / 0.8086 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/1.124, allocations: 180.2 kB / 0.8088 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/1.124, allocations: 106.5 kB / 0.8089 GB, free: 21.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.632e-05/1.124, allocations: 84.38 kB / 0.809 GB, free: 21.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.124, allocations: 3.938 kB / 0.809 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003231/1.124, allocations: 3.875 kB / 0.809 GB, free: 21.39 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.0005907/1.125, allocations: 0.8181 MB / 0.8098 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001104/1.125, allocations: 8.922 kB / 0.8098 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.125, allocations: 0 / 0.8098 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/1.125, allocations: 3.938 kB / 0.8098 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/1.126, allocations: 0.5186 MB / 0.8103 GB, free: 20.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/1.126, allocations: 161.8 kB / 0.8105 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/1.126, allocations: 0.6764 MB / 0.8111 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.304e-05/1.126, allocations: 0 / 0.8111 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/1.126, allocations: 16.98 kB / 0.8111 GB, free: 19.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/1.126, allocations: 4 kB / 0.8111 GB, free: 19.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/1.175, allocations: 1.065 MB / 0.8122 GB, free: 18.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.175, allocations: 181.9 kB / 0.8123 GB, free: 18.71 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11: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