Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.547/4.547, allocations: 464.6 MB / 476.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.255e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.504/7.769, allocations: 2.19 GB / 2.868 GB, free: 257.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/7.769, allocations: 82.11 kB / 2.868 GB, free: 257.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1132/7.883, allocations: 27.53 MB / 2.894 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/7.883, allocations: 0 / 2.894 GB, free: 238 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.578e-05/7.883, allocations: 23.94 kB / 2.894 GB, free: 238 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.001835/7.885, allocations: 0.9267 MB / 2.895 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/7.885, allocations: 8.031 kB / 2.895 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/7.885, allocations: 105.1 kB / 2.896 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/7.885, allocations: 94.88 kB / 2.896 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/7.886, allocations: 0.5618 MB / 2.896 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/7.886, allocations: 54.62 kB / 2.896 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/7.887, allocations: 54.19 kB / 2.896 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/7.888, allocations: 0.6752 MB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/7.888, allocations: 0 / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/7.888, allocations: 25.88 kB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/7.888, allocations: 16 kB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/7.89, allocations: 0.8945 MB / 2.898 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/7.895, allocations: 2.345 MB / 2.9 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/7.896, allocations: 0.5856 MB / 2.901 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/7.896, allocations: 213.9 kB / 2.901 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.663e-05/7.897, allocations: 28.09 kB / 2.901 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/7.897, allocations: 342.3 kB / 2.901 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.416e-06/7.897, allocations: 0 / 2.901 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001408/7.899, allocations: 0.5239 MB / 2.902 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/7.899, allocations: 291.3 kB / 2.902 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/7.9, allocations: 0.5752 MB / 2.903 GB, free: 231 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/7.9, allocations: 37.2 kB / 2.903 GB, free: 231 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/7.9, allocations: 326.4 kB / 2.903 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/7.901, allocations: 213.9 kB / 2.903 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/7.901, allocations: 15.38 kB / 2.903 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001175/7.901, allocations: 372.6 kB / 2.904 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/7.901, allocations: 161.4 kB / 2.904 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/7.902, allocations: 287.3 kB / 2.904 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/7.902, allocations: 209.4 kB / 2.904 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/7.902, allocations: 0 / 2.904 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001366/7.904, allocations: 0.5332 MB / 2.905 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/7.904, allocations: 4 kB / 2.905 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/7.904, allocations: 4 kB / 2.905 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/7.904, allocations: 4 kB / 2.905 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/7.905, allocations: 115.1 kB / 2.905 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/7.905, allocations: 4 kB / 2.905 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/7.905, allocations: 86.16 kB / 2.905 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/7.906, allocations: 27.62 kB / 2.905 GB, free: 229.1 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.000207/7.906, allocations: 142.5 kB / 2.905 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/7.906, allocations: 71.16 kB / 2.905 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/7.908, allocations: 0.7494 MB / 2.906 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/7.908, allocations: 8 kB / 2.906 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/7.908, allocations: 3.984 kB / 2.906 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/7.908, allocations: 4 kB / 2.906 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/7.91, allocations: 0.9326 MB / 2.907 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/7.91, allocations: 4.031 kB / 2.907 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/7.911, allocations: 119.5 kB / 2.907 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/7.911, allocations: 0 / 2.907 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/7.911, allocations: 19.36 kB / 2.907 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/7.911, allocations: 7.938 kB / 2.907 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/7.911, allocations: 0 / 2.907 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/7.912, allocations: 0.6452 MB / 2.908 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/7.913, allocations: 271.5 kB / 2.908 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/7.913, allocations: 11.5 kB / 2.908 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/7.914, allocations: 55.52 kB / 2.908 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/7.914, allocations: 52.36 kB / 2.908 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/7.914, allocations: 27.42 kB / 2.908 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008072/7.915, allocations: 467.3 kB / 2.908 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.452e-06/7.915, allocations: 0 / 2.908 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00105/7.916, allocations: 248.9 kB / 2.909 GB, free: 226 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.003117/7.919, allocations: 1.706 MB / 2.91 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001221/7.92, allocations: 464.6 kB / 2.911 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.92, allocations: 0 / 2.911 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/7.921, allocations: 270.1 kB / 2.911 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/7.923, allocations: 231.3 kB / 2.911 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/7.926, allocations: 1.178 MB / 2.912 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/7.926, allocations: 0.9701 MB / 2.913 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001192/7.928, allocations: 245.5 kB / 2.914 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/7.928, allocations: 297.9 kB / 2.914 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/7.928, allocations: 0 / 2.914 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06933/7.998, allocations: 16.81 MB / 2.93 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003033/7.998, allocations: 233.9 kB / 2.93 GB, free: 204.6 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_ThreeYears_usingTwoYearData.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_ThreeYears_usingTwoYearData_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1