Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.462/4.462, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.248e-05, allocations: 5.25 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2931, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.34/7.633, allocations: 2.19 GB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/7.633, allocations: 81.67 kB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1117/7.745, allocations: 27.53 MB / 2.894 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/7.745, allocations: 0 / 2.894 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.495e-05/7.745, allocations: 20 kB / 2.894 GB, free: 236.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001929/7.747, allocations: 0.9174 MB / 2.895 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/7.747, allocations: 11.97 kB / 2.895 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/7.747, allocations: 105.1 kB / 2.895 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/7.748, allocations: 98.81 kB / 2.896 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/7.749, allocations: 0.5647 MB / 2.896 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/7.749, allocations: 48.06 kB / 2.896 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/7.749, allocations: 57.05 kB / 2.896 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/7.75, allocations: 0.6763 MB / 2.897 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/7.75, allocations: 0 / 2.897 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/7.751, allocations: 30.23 kB / 2.897 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/7.751, allocations: 16 kB / 2.897 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/7.752, allocations: 0.8937 MB / 2.898 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/7.757, allocations: 2.343 MB / 2.9 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/7.758, allocations: 0.582 MB / 2.901 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/7.759, allocations: 218.9 kB / 2.901 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/7.759, allocations: 28.47 kB / 2.901 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/7.76, allocations: 348.5 kB / 2.901 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.477e-06/7.76, allocations: 0 / 2.901 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001428/7.761, allocations: 0.5198 MB / 2.902 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.712e-05/7.761, allocations: 294.8 kB / 2.902 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/7.763, allocations: 0.5734 MB / 2.903 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/7.763, allocations: 37.08 kB / 2.903 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/7.763, allocations: 328.4 kB / 2.903 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/7.763, allocations: 197.6 kB / 2.903 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/7.763, allocations: 18.89 kB / 2.903 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/7.763, allocations: 385.8 kB / 2.904 GB, free: 228.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/7.764, allocations: 160.9 kB / 2.904 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/7.764, allocations: 283.5 kB / 2.904 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/7.765, allocations: 210.4 kB / 2.904 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/7.765, allocations: 0 / 2.904 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001348/7.766, allocations: 0.534 MB / 2.905 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/7.766, allocations: 4 kB / 2.905 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/7.766, allocations: 4 kB / 2.905 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/7.766, allocations: 4 kB / 2.905 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/7.767, allocations: 119 kB / 2.905 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/7.767, allocations: 4 kB / 2.905 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008174/7.768, allocations: 78.66 kB / 2.905 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/7.768, allocations: 27.62 kB / 2.905 GB, free: 227.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0002344/7.768, allocations: 139.4 kB / 2.905 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/7.769, allocations: 75.14 kB / 2.905 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/7.771, allocations: 0.7519 MB / 2.906 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/7.771, allocations: 8 kB / 2.906 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/7.771, allocations: 0 / 2.906 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/7.771, allocations: 7.984 kB / 2.906 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/7.772, allocations: 0.9326 MB / 2.907 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/7.772, allocations: 0 / 2.907 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/7.773, allocations: 115.8 kB / 2.907 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/7.773, allocations: 8.031 kB / 2.907 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/7.773, allocations: 18.86 kB / 2.907 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/7.773, allocations: 7.938 kB / 2.907 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/7.773, allocations: 0 / 2.907 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/7.775, allocations: 0.645 MB / 2.908 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/7.775, allocations: 273.5 kB / 2.908 GB, free: 225 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/7.775, allocations: 15.56 kB / 2.908 GB, free: 225 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007612/7.776, allocations: 54.58 kB / 2.908 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/7.776, allocations: 48.23 kB / 2.908 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/7.776, allocations: 27.17 kB / 2.908 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007854/7.777, allocations: 472.5 kB / 2.908 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/7.777, allocations: 0 / 2.908 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001029/7.778, allocations: 245.6 kB / 2.909 GB, free: 224.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003026/7.781, allocations: 1.707 MB / 2.91 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001175/7.782, allocations: 462.5 kB / 2.911 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/7.782, allocations: 0 / 2.911 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/7.783, allocations: 269.6 kB / 2.911 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/7.785, allocations: 229.3 kB / 2.911 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/7.788, allocations: 1.174 MB / 2.912 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/7.788, allocations: 0.9667 MB / 2.913 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001088/7.789, allocations: 241.5 kB / 2.914 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/7.79, allocations: 295.5 kB / 2.914 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/7.79, allocations: 7.938 kB / 2.914 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/7.849, allocations: 16.8 MB / 2.93 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/7.85, allocations: 232.8 kB / 2.93 GB, free: 202.9 MB / 0.8855 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_Validation_OverAYear_usingOneYearData.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_Validation_OverAYear_usingOneYearData_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_Validation_OverAYear_usingOneYearData_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_Validation_OverAYear_usingOneYearData_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o] Error 1