Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.446/4.446, allocations: 464.6 MB / 476.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.775e-05/4.784e-05, allocations: 5.562 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.142, allocations: 132 MB / 0.8068 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/1.142, allocations: 83.69 kB / 0.8068 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008763/1.151, allocations: 2.306 MB / 0.8091 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.151, allocations: 0 / 0.8091 GB, free: 12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.151, allocations: 0 / 0.8091 GB, free: 12 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.0002302/1.152, allocations: 323.9 kB / 0.8094 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.152, allocations: 7.656 kB / 0.8094 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/1.152, allocations: 112.6 kB / 0.8095 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/1.152, allocations: 79.16 kB / 0.8096 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.152, allocations: 242 kB / 0.8098 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/1.152, allocations: 150.6 kB / 0.81 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/1.152, allocations: 150.6 kB / 0.8101 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.539e-05/1.152, allocations: 108.8 kB / 0.8102 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.152, allocations: 79.28 kB / 0.8103 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/1.152, allocations: 154.5 kB / 0.8104 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.152, allocations: 153.8 kB / 0.8106 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/1.152, allocations: 150.6 kB / 0.8107 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/1.152, allocations: 454.9 kB / 0.8112 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/1.152, allocations: 173.1 kB / 0.8113 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/1.153, allocations: 80.14 kB / 0.8114 GB, free: 25.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/1.153, allocations: 79.16 kB / 0.8115 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.153, allocations: 105.8 kB / 0.8116 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.305e-06/1.153, allocations: 0 / 0.8116 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.555e-05/1.153, allocations: 33.45 kB / 0.8116 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/1.153, allocations: 129.5 kB / 0.8117 GB, free: 25.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/1.153, allocations: 103.6 kB / 0.8118 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.153, allocations: 29.52 kB / 0.8119 GB, free: 25.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/1.153, allocations: 80.14 kB / 0.8119 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/1.153, allocations: 0 / 0.8119 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.153, allocations: 0 / 0.8119 GB, free: 24.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.153, allocations: 314.4 kB / 0.8122 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/1.153, allocations: 11.81 kB / 0.8122 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/1.154, allocations: 14.36 kB / 0.8123 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/1.154, allocations: 3.906 kB / 0.8123 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.154, allocations: 0 / 0.8123 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/1.154, allocations: 42.2 kB / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.154, allocations: 7.688 kB / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.154, allocations: 0 / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.154, allocations: 0 / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/1.154, allocations: 0 / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.154, allocations: 4.125 kB / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.154, allocations: 3.844 kB / 0.8123 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.154, allocations: 6.844 kB / 0.8123 GB, free: 24.57 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.0001114/1.154, allocations: 176.3 kB / 0.8125 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/1.154, allocations: 112.7 kB / 0.8126 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/1.154, allocations: 109.1 kB / 0.8127 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.792e-05/1.154, allocations: 183.4 kB / 0.8129 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.214e-05/1.154, allocations: 188.1 kB / 0.8131 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.629e-05/1.155, allocations: 180.3 kB / 0.8132 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/1.155, allocations: 403.2 kB / 0.8136 GB, free: 23.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.476e-05/1.155, allocations: 104.9 kB / 0.8137 GB, free: 23.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/1.155, allocations: 101 kB / 0.8138 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-05/1.155, allocations: 187.4 kB / 0.814 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/1.155, allocations: 184 kB / 0.8142 GB, free: 22.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.404e-05/1.155, allocations: 179.6 kB / 0.8143 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.669e-05/1.155, allocations: 176.3 kB / 0.8145 GB, free: 22.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.156, allocations: 307.8 kB / 0.8148 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.156, allocations: 187.8 kB / 0.815 GB, free: 21.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.156, allocations: 188 kB / 0.8152 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/1.156, allocations: 101 kB / 0.8153 GB, free: 21.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.156, allocations: 179.4 kB / 0.8154 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/1.156, allocations: 108.9 kB / 0.8155 GB, free: 21.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.221e-05/1.156, allocations: 90.59 kB / 0.8156 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.156, allocations: 0 / 0.8156 GB, free: 21.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003233/1.157, allocations: 3.844 kB / 0.8156 GB, free: 21.04 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.0006173/1.157, allocations: 0.819 MB / 0.8164 GB, free: 20.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/1.157, allocations: 3.875 kB / 0.8164 GB, free: 20.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.157, allocations: 3.844 kB / 0.8164 GB, free: 20.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-06/1.157, allocations: 3.938 kB / 0.8164 GB, free: 20.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/1.158, allocations: 0.5185 MB / 0.8169 GB, free: 19.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/1.158, allocations: 168.3 kB / 0.8171 GB, free: 19.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.158, allocations: 0.6782 MB / 0.8178 GB, free: 18.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.522e-05/1.158, allocations: 7.812 kB / 0.8178 GB, free: 18.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/1.158, allocations: 7.438 kB / 0.8178 GB, free: 18.82 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/1.158, allocations: 0 / 0.8178 GB, free: 18.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/1.179, allocations: 1.089 MB / 0.8188 GB, free: 18.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.18, allocations: 211.4 kB / 0.819 GB, free: 18.36 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_functions.o] Error 1