Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.582/4.582, allocations: 464.6 MB / 476.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.949e-05, allocations: 5.25 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.492/7.754, allocations: 2.19 GB / 2.868 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/7.754, allocations: 87.8 kB / 2.868 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1127/7.867, allocations: 27.54 MB / 2.895 GB, free: 238 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.195e-06/7.867, allocations: 0 / 2.895 GB, free: 238 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.68e-05/7.867, allocations: 23.94 kB / 2.895 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.002042/7.869, allocations: 0.912 MB / 2.895 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/7.869, allocations: 12.03 kB / 2.895 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/7.869, allocations: 111.6 kB / 2.896 GB, free: 237 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/7.87, allocations: 98.88 kB / 2.896 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/7.871, allocations: 0.5674 MB / 2.896 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/7.871, allocations: 43.12 kB / 2.896 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/7.871, allocations: 58.75 kB / 2.896 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/7.873, allocations: 0.6698 MB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/7.873, allocations: 7.984 kB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/7.873, allocations: 25.88 kB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/7.873, allocations: 16 kB / 2.897 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/7.875, allocations: 0.9008 MB / 2.898 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/7.88, allocations: 2.342 MB / 2.9 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/7.882, allocations: 0.5781 MB / 2.901 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/7.882, allocations: 219.8 kB / 2.901 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/7.882, allocations: 28.58 kB / 2.901 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007249/7.883, allocations: 343.2 kB / 2.901 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.058e-06/7.883, allocations: 0 / 2.901 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.00152/7.884, allocations: 0.5235 MB / 2.902 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/7.885, allocations: 302.9 kB / 2.902 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/7.886, allocations: 0.5715 MB / 2.903 GB, free: 231 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/7.886, allocations: 40.77 kB / 2.903 GB, free: 231 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/7.886, allocations: 318 kB / 2.903 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/7.887, allocations: 205.7 kB / 2.903 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/7.887, allocations: 7.188 kB / 2.903 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001324/7.887, allocations: 380 kB / 2.904 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/7.887, allocations: 159.3 kB / 2.904 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/7.888, allocations: 295 kB / 2.904 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/7.888, allocations: 210.5 kB / 2.904 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/7.888, allocations: 0 / 2.904 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001384/7.89, allocations: 0.5285 MB / 2.905 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/7.89, allocations: 8 kB / 2.905 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/7.89, allocations: 0 / 2.905 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/7.89, allocations: 4 kB / 2.905 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/7.891, allocations: 119.5 kB / 2.905 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/7.891, allocations: 4 kB / 2.905 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/7.892, allocations: 77.84 kB / 2.905 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/7.892, allocations: 31.75 kB / 2.905 GB, free: 229.2 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.000221/7.892, allocations: 140.6 kB / 2.905 GB, free: 229 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/7.892, allocations: 79.09 kB / 2.905 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/7.894, allocations: 0.745 MB / 2.906 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/7.894, allocations: 8 kB / 2.906 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/7.894, allocations: 4 kB / 2.906 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/7.895, allocations: 3.984 kB / 2.906 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/7.896, allocations: 0.9371 MB / 2.907 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/7.896, allocations: 0 / 2.907 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/7.897, allocations: 119.2 kB / 2.907 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/7.897, allocations: 4 kB / 2.907 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/7.897, allocations: 21.92 kB / 2.907 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/7.897, allocations: 4 kB / 2.907 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/7.897, allocations: 4 kB / 2.907 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/7.899, allocations: 0.6457 MB / 2.908 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/7.899, allocations: 266.5 kB / 2.908 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/7.899, allocations: 15.44 kB / 2.908 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/7.9, allocations: 55.64 kB / 2.908 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/7.9, allocations: 51.98 kB / 2.908 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/7.901, allocations: 27.86 kB / 2.908 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008367/7.901, allocations: 475.3 kB / 2.908 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.01e-07/7.901, allocations: 0 / 2.908 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001119/7.903, allocations: 238.1 kB / 2.909 GB, free: 226.1 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.003173/7.906, allocations: 1.714 MB / 2.91 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001264/7.907, allocations: 456.6 kB / 2.911 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/7.907, allocations: 8.25 kB / 2.911 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006047/7.908, allocations: 267.4 kB / 2.911 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/7.909, allocations: 221 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.003452/7.913, allocations: 1.184 MB / 2.912 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/7.913, allocations: 0.9628 MB / 2.913 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00125/7.915, allocations: 241.5 kB / 2.914 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/7.915, allocations: 291.8 kB / 2.914 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.462e-06/7.915, allocations: 0 / 2.914 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/7.991, allocations: 16.85 MB / 2.93 GB, free: 205 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/7.991, allocations: 251.8 kB / 2.931 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_usingTwoYearDataNegativeStart.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_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_usingTwoYearDataNegativeStart_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o] Error 1