Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.416/4.416, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.115e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.485/7.758, allocations: 2.189 GB / 2.861 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/7.758, allocations: 88.75 kB / 2.861 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1097/7.868, allocations: 27.54 MB / 2.888 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/7.868, allocations: 0 / 2.888 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.991e-05/7.868, allocations: 20 kB / 2.888 GB, free: 165.2 MB / 0.8698 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.001846/7.87, allocations: 0.9205 MB / 2.889 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/7.87, allocations: 8.031 kB / 2.889 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/7.87, allocations: 100.3 kB / 2.889 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/7.87, allocations: 102.8 kB / 2.889 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/7.872, allocations: 0.561 MB / 2.89 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/7.872, allocations: 52.61 kB / 2.89 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/7.872, allocations: 58.62 kB / 2.89 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/7.873, allocations: 0.6691 MB / 2.891 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/7.873, allocations: 0 / 2.891 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/7.873, allocations: 28.62 kB / 2.891 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/7.873, allocations: 16 kB / 2.891 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/7.875, allocations: 0.8922 MB / 2.892 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/7.88, allocations: 2.348 MB / 2.894 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/7.881, allocations: 0.5874 MB / 2.894 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/7.882, allocations: 221.7 kB / 2.895 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.786e-05/7.882, allocations: 28.16 kB / 2.895 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007195/7.883, allocations: 338.9 kB / 2.895 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.316e-06/7.883, allocations: 4 kB / 2.895 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.00143/7.884, allocations: 0.5221 MB / 2.896 GB, free: 159 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/7.884, allocations: 299.2 kB / 2.896 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/7.885, allocations: 0.5678 MB / 2.896 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/7.886, allocations: 36.89 kB / 2.896 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/7.886, allocations: 333.8 kB / 2.897 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/7.886, allocations: 198.8 kB / 2.897 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/7.886, allocations: 11.31 kB / 2.897 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001191/7.886, allocations: 376.5 kB / 2.897 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/7.887, allocations: 159.4 kB / 2.897 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/7.887, allocations: 281.6 kB / 2.898 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/7.888, allocations: 215.3 kB / 2.898 GB, free: 157 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/7.888, allocations: 0 / 2.898 GB, free: 157 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001338/7.889, allocations: 0.5378 MB / 2.898 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/7.889, allocations: 7.984 kB / 2.898 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/7.889, allocations: 4.078 kB / 2.898 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/7.889, allocations: 7.953 kB / 2.898 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/7.89, allocations: 115.5 kB / 2.899 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/7.89, allocations: 7.984 kB / 2.899 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/7.891, allocations: 78.66 kB / 2.899 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/7.891, allocations: 27.42 kB / 2.899 GB, free: 156.3 MB / 0.8698 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.0001987/7.891, allocations: 138.8 kB / 2.899 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/7.891, allocations: 71.16 kB / 2.899 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/7.894, allocations: 0.7435 MB / 2.9 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/7.894, allocations: 8 kB / 2.9 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/7.894, allocations: 3.953 kB / 2.9 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/7.894, allocations: 7.984 kB / 2.9 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/7.895, allocations: 0.9336 MB / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/7.895, allocations: 32 / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/7.896, allocations: 115.3 kB / 2.901 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/7.896, allocations: 7.922 kB / 2.901 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/7.896, allocations: 27.25 kB / 2.901 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/7.896, allocations: 4 kB / 2.901 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/7.896, allocations: 0 / 2.901 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/7.898, allocations: 0.6359 MB / 2.901 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/7.898, allocations: 282.9 kB / 2.902 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/7.898, allocations: 14.75 kB / 2.902 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/7.899, allocations: 54.64 kB / 2.902 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/7.899, allocations: 52.58 kB / 2.902 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/7.899, allocations: 23.92 kB / 2.902 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000826/7.9, allocations: 466.9 kB / 2.902 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.462e-06/7.9, allocations: 0 / 2.902 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001056/7.901, allocations: 253.4 kB / 2.902 GB, free: 153.2 MB / 0.8698 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.003146/7.904, allocations: 1.718 MB / 2.904 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001291/7.906, allocations: 460.9 kB / 2.905 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/7.906, allocations: 0 / 2.905 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/7.906, allocations: 272.2 kB / 2.905 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/7.908, allocations: 215.4 kB / 2.905 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/7.911, allocations: 1.174 MB / 2.906 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/7.912, allocations: 0.9673 MB / 2.907 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001231/7.913, allocations: 237.5 kB / 2.907 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/7.913, allocations: 296.6 kB / 2.908 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/7.913, allocations: 0 / 2.908 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05553/7.969, allocations: 16.83 MB / 2.924 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/7.969, allocations: 249.1 kB / 2.924 GB, free: 131.8 MB / 0.8698 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_usingTwoYearDataPositiveStart.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o] Error 1