Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.686/4.686, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.132e-05, allocations: 0 / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.533/7.792, allocations: 2.189 GB / 2.861 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/7.792, allocations: 91.69 kB / 2.861 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1149/7.907, allocations: 27.53 MB / 2.888 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/7.907, allocations: 0 / 2.888 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.178e-05/7.907, allocations: 23.94 kB / 2.888 GB, free: 165.3 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.001865/7.909, allocations: 0.9138 MB / 2.889 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/7.909, allocations: 11.97 kB / 2.889 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/7.909, allocations: 112.8 kB / 2.889 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/7.91, allocations: 106.6 kB / 2.889 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/7.911, allocations: 0.5547 MB / 2.89 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/7.911, allocations: 50.55 kB / 2.89 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/7.911, allocations: 62.06 kB / 2.89 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/7.913, allocations: 0.6646 MB / 2.891 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/7.913, allocations: 4 kB / 2.891 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-05/7.913, allocations: 22.38 kB / 2.891 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/7.913, allocations: 16 kB / 2.891 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/7.915, allocations: 0.8985 MB / 2.892 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/7.919, allocations: 2.342 MB / 2.894 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/7.92, allocations: 0.5838 MB / 2.894 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/7.921, allocations: 219 kB / 2.895 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.364e-05/7.921, allocations: 24.3 kB / 2.895 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007008/7.922, allocations: 341.8 kB / 2.895 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.357e-06/7.922, allocations: 0 / 2.895 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001384/7.923, allocations: 0.529 MB / 2.895 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/7.923, allocations: 303.2 kB / 2.896 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/7.924, allocations: 0.5691 MB / 2.896 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/7.924, allocations: 40.33 kB / 2.896 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/7.925, allocations: 323.3 kB / 2.897 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/7.925, allocations: 201.8 kB / 2.897 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/7.925, allocations: 10.38 kB / 2.897 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/7.925, allocations: 372.1 kB / 2.897 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/7.925, allocations: 161.2 kB / 2.897 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/7.926, allocations: 286.4 kB / 2.898 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/7.926, allocations: 211.1 kB / 2.898 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/7.927, allocations: 3.938 kB / 2.898 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00127/7.928, allocations: 0.5324 MB / 2.898 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/7.928, allocations: 11.98 kB / 2.898 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/7.928, allocations: 0 / 2.898 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/7.928, allocations: 7.953 kB / 2.898 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/7.929, allocations: 118.1 kB / 2.898 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/7.929, allocations: 4 kB / 2.898 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/7.93, allocations: 82.22 kB / 2.899 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/7.93, allocations: 23.42 kB / 2.899 GB, free: 156.4 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.0001909/7.93, allocations: 134.9 kB / 2.899 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/7.93, allocations: 75.09 kB / 2.899 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/7.932, allocations: 0.757 MB / 2.9 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/7.932, allocations: 8 kB / 2.9 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/7.932, allocations: 7.953 kB / 2.9 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/7.932, allocations: 3.984 kB / 2.9 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/7.934, allocations: 0.9285 MB / 2.9 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/7.934, allocations: 0 / 2.9 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/7.934, allocations: 123.2 kB / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/7.934, allocations: 4 kB / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/7.935, allocations: 23 kB / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/7.935, allocations: 0 / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/7.935, allocations: 4 kB / 2.901 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/7.936, allocations: 0.6381 MB / 2.901 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/7.936, allocations: 275.5 kB / 2.901 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/7.937, allocations: 15.12 kB / 2.902 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/7.937, allocations: 51.33 kB / 2.902 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/7.937, allocations: 56.33 kB / 2.902 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/7.938, allocations: 31.86 kB / 2.902 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007608/7.938, allocations: 465.7 kB / 2.902 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/7.938, allocations: 0 / 2.902 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009564/7.939, allocations: 252.3 kB / 2.902 GB, free: 153.3 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.003008/7.942, allocations: 1.711 MB / 2.904 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001675/7.944, allocations: 460.2 kB / 2.904 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/7.944, allocations: 0 / 2.904 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005973/7.945, allocations: 272.8 kB / 2.905 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/7.946, allocations: 219.4 kB / 2.905 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/7.951, allocations: 1.173 MB / 2.906 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007126/7.951, allocations: 0.9625 MB / 2.907 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001458/7.953, allocations: 237.5 kB / 2.907 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/7.954, allocations: 299.1 kB / 2.908 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/7.954, allocations: 0 / 2.908 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/8.019, allocations: 16.82 MB / 2.924 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/8.019, allocations: 232.6 kB / 2.924 GB, free: 131.9 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_usingTwoYearData.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_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_usingTwoYearData_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_functions.o] Error 1