Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.702e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2288, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8368/1.066, allocations: 131.6 MB / 0.8005 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.066, allocations: 82.34 kB / 0.8005 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008622/1.075, allocations: 2.308 MB / 0.8028 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.075, allocations: 0 / 0.8028 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.075, allocations: 4 kB / 0.8028 GB, free: 12.77 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.0002388/1.075, allocations: 329.8 kB / 0.8031 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.075, allocations: 7.688 kB / 0.8031 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/1.075, allocations: 105.8 kB / 0.8032 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/1.075, allocations: 83.64 kB / 0.8033 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/1.075, allocations: 242.5 kB / 0.8035 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.075, allocations: 154.6 kB / 0.8037 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/1.075, allocations: 158.5 kB / 0.8038 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.604e-05/1.075, allocations: 106.4 kB / 0.8039 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.075, allocations: 75.28 kB / 0.804 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/1.075, allocations: 150.6 kB / 0.8041 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/1.075, allocations: 153.8 kB / 0.8043 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/1.076, allocations: 154.6 kB / 0.8044 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/1.076, allocations: 456.6 kB / 0.8049 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/1.076, allocations: 165.1 kB / 0.805 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/1.076, allocations: 82.33 kB / 0.8051 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/1.076, allocations: 80.53 kB / 0.8052 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.076, allocations: 109.8 kB / 0.8053 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.076, allocations: 0 / 0.8053 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.241e-05/1.076, allocations: 29.64 kB / 0.8053 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.076, allocations: 128.4 kB / 0.8054 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/1.077, allocations: 97.45 kB / 0.8055 GB, free: 25.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.077, allocations: 28.83 kB / 0.8056 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/1.077, allocations: 87.92 kB / 0.8056 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/1.077, allocations: 0 / 0.8056 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/1.077, allocations: 0 / 0.8056 GB, free: 25.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.077, allocations: 316.5 kB / 0.8059 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/1.077, allocations: 3.875 kB / 0.8059 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/1.077, allocations: 18.47 kB / 0.806 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.388e-05/1.077, allocations: 3.875 kB / 0.806 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.077, allocations: 0 / 0.806 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001238/1.077, allocations: 40.25 kB / 0.806 GB, free: 25.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.077, allocations: 11.91 kB / 0.806 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.077, allocations: 3.984 kB / 0.806 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.077, allocations: 0 / 0.806 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/1.077, allocations: 3.938 kB / 0.806 GB, free: 25.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.077, allocations: 3.938 kB / 0.806 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/1.077, allocations: 5.359 kB / 0.806 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/1.077, allocations: 0 / 0.806 GB, free: 25.33 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.0001265/1.078, allocations: 182 kB / 0.8062 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/1.078, allocations: 108.3 kB / 0.8063 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/1.078, allocations: 110.1 kB / 0.8064 GB, free: 24.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.856e-05/1.078, allocations: 184.1 kB / 0.8066 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-05/1.078, allocations: 177.6 kB / 0.8068 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/1.078, allocations: 180.3 kB / 0.8069 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/1.078, allocations: 415.8 kB / 0.8073 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-05/1.078, allocations: 102.4 kB / 0.8074 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/1.078, allocations: 101 kB / 0.8075 GB, free: 23.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.825e-05/1.079, allocations: 181.7 kB / 0.8077 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/1.079, allocations: 180.2 kB / 0.8079 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.57e-05/1.079, allocations: 177.7 kB / 0.808 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.873e-05/1.079, allocations: 184.2 kB / 0.8082 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/1.079, allocations: 305.7 kB / 0.8085 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.079, allocations: 187.3 kB / 0.8087 GB, free: 22.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/1.079, allocations: 187 kB / 0.8089 GB, free: 22.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.079, allocations: 104.5 kB / 0.809 GB, free: 22.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/1.079, allocations: 184.2 kB / 0.8091 GB, free: 21.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.08, allocations: 106.1 kB / 0.8092 GB, free: 21.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.54e-05/1.08, allocations: 80.77 kB / 0.8093 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.08, allocations: 0 / 0.8093 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003049/1.08, allocations: 3.906 kB / 0.8093 GB, free: 21.81 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.0005884/1.081, allocations: 0.8255 MB / 0.8101 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/1.081, allocations: 9.203 kB / 0.8101 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.081, allocations: 0 / 0.8101 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/1.081, allocations: 7.75 kB / 0.8101 GB, free: 20.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/1.081, allocations: 0.5186 MB / 0.8107 GB, free: 20.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/1.081, allocations: 158.4 kB / 0.8108 GB, free: 20.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/1.082, allocations: 0.6812 MB / 0.8115 GB, free: 19.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.18e-05/1.082, allocations: 0 / 0.8115 GB, free: 19.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/1.082, allocations: 12.94 kB / 0.8115 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.082, allocations: 0 / 0.8115 GB, free: 19.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/1.104, allocations: 1.077 MB / 0.8125 GB, free: 19.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/1.104, allocations: 211.3 kB / 0.8127 GB, free: 19.13 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_NonzeroStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_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_NonzeroStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1