Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.52/4.52, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.535e-05, allocations: 4 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2527, allocations: 107.1 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8842/1.137, allocations: 131.9 MB / 0.8066 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003865/1.137, allocations: 81.56 kB / 0.8067 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0104/1.148, allocations: 2.106 MB / 0.8087 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.148, allocations: 0 / 0.8087 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.148, allocations: 1.156 kB / 0.8087 GB, free: 11.67 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.00029/1.148, allocations: 329 kB / 0.8091 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.148, allocations: 15.59 kB / 0.8091 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/1.148, allocations: 106.7 kB / 0.8092 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.921e-05/1.148, allocations: 75.28 kB / 0.8092 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.149, allocations: 244.5 kB / 0.8095 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/1.149, allocations: 150.6 kB / 0.8096 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/1.149, allocations: 150.6 kB / 0.8098 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.473e-05/1.149, allocations: 108.9 kB / 0.8099 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.149, allocations: 78.97 kB / 0.8099 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/1.149, allocations: 154.6 kB / 0.8101 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/1.149, allocations: 150.6 kB / 0.8102 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/1.149, allocations: 154.5 kB / 0.8104 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/1.149, allocations: 456.7 kB / 0.8108 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/1.15, allocations: 167.7 kB / 0.811 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/1.15, allocations: 80.14 kB / 0.8111 GB, free: 25.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/1.15, allocations: 75.28 kB / 0.8111 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/1.15, allocations: 113.6 kB / 0.8112 GB, free: 25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 3.267e-06/1.15, allocations: 4 kB / 0.8112 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001318/1.15, allocations: 29.64 kB / 0.8113 GB, free: 24.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/1.15, allocations: 126.7 kB / 0.8114 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.15, allocations: 102.5 kB / 0.8115 GB, free: 24.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.15, allocations: 25.7 kB / 0.8115 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/1.151, allocations: 84.11 kB / 0.8116 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/1.151, allocations: 3.938 kB / 0.8116 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.151, allocations: 0 / 0.8116 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.151, allocations: 317.8 kB / 0.8119 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/1.151, allocations: 6.844 kB / 0.8119 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/1.151, allocations: 3.875 kB / 0.8119 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.124e-05/1.151, allocations: 6.812 kB / 0.8119 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.151, allocations: 3.812 kB / 0.8119 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/1.151, allocations: 44.23 kB / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.151, allocations: 7.719 kB / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.151, allocations: 3.938 kB / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.151, allocations: 128 / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-06/1.151, allocations: 4 kB / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.151, allocations: 0 / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/1.151, allocations: 3.875 kB / 0.812 GB, free: 24.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.151, allocations: 6.5 kB / 0.812 GB, free: 24.25 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.0001474/1.152, allocations: 176.3 kB / 0.8122 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.152, allocations: 108.8 kB / 0.8123 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/1.152, allocations: 105.3 kB / 0.8124 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.47e-05/1.152, allocations: 187.1 kB / 0.8125 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.7e-05/1.152, allocations: 176.3 kB / 0.8127 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.656e-05/1.152, allocations: 184.2 kB / 0.8129 GB, free: 23.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/1.153, allocations: 403.3 kB / 0.8133 GB, free: 22.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.134e-05/1.153, allocations: 104.9 kB / 0.8134 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/1.153, allocations: 108 kB / 0.8135 GB, free: 22.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/1.153, allocations: 187.8 kB / 0.8136 GB, free: 22.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.153, allocations: 176.3 kB / 0.8138 GB, free: 22.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-05/1.153, allocations: 180.1 kB / 0.814 GB, free: 22.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/1.153, allocations: 186.9 kB / 0.8142 GB, free: 21.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/1.153, allocations: 308.9 kB / 0.8145 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.154, allocations: 185 kB / 0.8146 GB, free: 21.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.154, allocations: 180.5 kB / 0.8148 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/1.154, allocations: 104.8 kB / 0.8149 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.154, allocations: 187.1 kB / 0.8151 GB, free: 20.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/1.154, allocations: 105 kB / 0.8152 GB, free: 20.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.503e-05/1.154, allocations: 86.91 kB / 0.8153 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.943e-06/1.154, allocations: 0 / 0.8153 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005545/1.155, allocations: 7.906 kB / 0.8153 GB, free: 20.71 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.0007836/1.156, allocations: 0.8303 MB / 0.8161 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/1.156, allocations: 3.844 kB / 0.8161 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.156, allocations: 0 / 0.8161 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/1.156, allocations: 0 / 0.8161 GB, free: 19.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/1.156, allocations: 0.5222 MB / 0.8166 GB, free: 19.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/1.157, allocations: 165.5 kB / 0.8168 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/1.157, allocations: 0.6797 MB / 0.8174 GB, free: 18.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.961e-05/1.157, allocations: 0 / 0.8174 GB, free: 18.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/1.157, allocations: 11.38 kB / 0.8174 GB, free: 18.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.157, allocations: 3.906 kB / 0.8174 GB, free: 18.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/1.199, allocations: 1.039 MB / 0.8185 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/1.199, allocations: 197.9 kB / 0.8186 GB, free: 18.05 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.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1