Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.448/4.448, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.948e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2738, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.676/7.95, allocations: 2.189 GB / 2.861 GB, free: 261.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/7.95, allocations: 89.83 kB / 2.861 GB, free: 261.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1075/8.058, allocations: 27.54 MB / 2.888 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.013e-06/8.058, allocations: 0 / 2.888 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.987e-05/8.058, allocations: 19.78 kB / 2.888 GB, free: 252.7 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.001774/8.059, allocations: 0.9252 MB / 2.889 GB, free: 252 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/8.059, allocations: 11.84 kB / 2.889 GB, free: 252 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/8.06, allocations: 104.6 kB / 2.889 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/8.06, allocations: 97.39 kB / 2.889 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/8.061, allocations: 0.5599 MB / 2.89 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/8.061, allocations: 49.75 kB / 2.89 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/8.061, allocations: 56.88 kB / 2.89 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/8.063, allocations: 0.6675 MB / 2.891 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/8.063, allocations: 4 kB / 2.891 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/8.063, allocations: 32.52 kB / 2.891 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/8.063, allocations: 17.06 kB / 2.891 GB, free: 251.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/8.065, allocations: 0.8919 MB / 2.892 GB, free: 251 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/8.069, allocations: 2.341 MB / 2.894 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/8.07, allocations: 0.5842 MB / 2.894 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/8.071, allocations: 221.6 kB / 2.895 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/8.071, allocations: 31.81 kB / 2.895 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006947/8.071, allocations: 334 kB / 2.895 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.126e-06/8.071, allocations: 4 kB / 2.895 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001348/8.073, allocations: 0.5319 MB / 2.896 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/8.073, allocations: 291.2 kB / 2.896 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009743/8.074, allocations: 0.5717 MB / 2.896 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/8.074, allocations: 40.52 kB / 2.896 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/8.074, allocations: 318.6 kB / 2.897 GB, free: 248.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/8.074, allocations: 208.2 kB / 2.897 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/8.075, allocations: 10.52 kB / 2.897 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001137/8.075, allocations: 380.2 kB / 2.897 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/8.075, allocations: 167.9 kB / 2.897 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/8.076, allocations: 275 kB / 2.898 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/8.076, allocations: 217.1 kB / 2.898 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/8.076, allocations: 3.938 kB / 2.898 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001227/8.077, allocations: 0.5316 MB / 2.898 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/8.077, allocations: 4.031 kB / 2.898 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/8.077, allocations: 7.719 kB / 2.898 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/8.077, allocations: 7.891 kB / 2.898 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/8.078, allocations: 120.2 kB / 2.899 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/8.078, allocations: 3.562 kB / 2.899 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/8.079, allocations: 75.09 kB / 2.899 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/8.079, allocations: 21.83 kB / 2.899 GB, free: 247.5 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.0001822/8.079, allocations: 145.4 kB / 2.899 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/8.08, allocations: 71.78 kB / 2.899 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/8.082, allocations: 0.7507 MB / 2.9 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/8.082, allocations: 7.812 kB / 2.9 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/8.082, allocations: 3.953 kB / 2.9 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/8.082, allocations: 3.984 kB / 2.9 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/8.083, allocations: 0.927 MB / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/8.083, allocations: 0 / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/8.084, allocations: 116.7 kB / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/8.084, allocations: 3.844 kB / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/8.084, allocations: 35.03 kB / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/8.084, allocations: 0 / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/8.084, allocations: 3.781 kB / 2.901 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/8.085, allocations: 0.6307 MB / 2.901 GB, free: 246.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/8.086, allocations: 274.4 kB / 2.902 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/8.086, allocations: 15.86 kB / 2.902 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/8.087, allocations: 55.28 kB / 2.902 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/8.087, allocations: 52.52 kB / 2.902 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/8.087, allocations: 27.91 kB / 2.902 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007261/8.088, allocations: 469.6 kB / 2.902 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.2e-07/8.088, allocations: 4 kB / 2.902 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009547/8.089, allocations: 254.1 kB / 2.902 GB, free: 245.5 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.002823/8.091, allocations: 1.719 MB / 2.904 GB, free: 244 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001059/8.092, allocations: 467 kB / 2.905 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/8.092, allocations: 0 / 2.905 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/8.093, allocations: 262 kB / 2.905 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/8.094, allocations: 214.5 kB / 2.905 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/8.097, allocations: 1.184 MB / 2.906 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/8.098, allocations: 0.9622 MB / 2.907 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001037/8.099, allocations: 245.5 kB / 2.907 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/8.099, allocations: 298.5 kB / 2.908 GB, free: 241 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/8.099, allocations: 3.938 kB / 2.908 GB, free: 241 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05175/8.151, allocations: 16.82 MB / 2.924 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/8.151, allocations: 250.6 kB / 2.924 GB, free: 224.1 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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart_functions.o] Error 1