Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.371/4.371, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.851e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.264, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.796/8.06, allocations: 2.189 GB / 2.861 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/8.06, allocations: 80.2 kB / 2.861 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1293/8.189, allocations: 27.53 MB / 2.888 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.715e-06/8.189, allocations: 0 / 2.888 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001077/8.19, allocations: 20 kB / 2.888 GB, free: 170.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.0026/8.192, allocations: 0.921 MB / 2.889 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/8.192, allocations: 8.031 kB / 2.889 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/8.193, allocations: 104.2 kB / 2.889 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/8.193, allocations: 102.8 kB / 2.889 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/8.196, allocations: 0.5594 MB / 2.89 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/8.196, allocations: 52.75 kB / 2.89 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/8.196, allocations: 55.25 kB / 2.89 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/8.198, allocations: 0.6755 MB / 2.891 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/8.198, allocations: 0 / 2.891 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/8.199, allocations: 27.38 kB / 2.891 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/8.199, allocations: 16 kB / 2.891 GB, free: 168 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/8.202, allocations: 0.8865 MB / 2.892 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007322/8.209, allocations: 2.352 MB / 2.894 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/8.211, allocations: 0.5826 MB / 2.894 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/8.212, allocations: 217.2 kB / 2.895 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/8.212, allocations: 28.16 kB / 2.895 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/8.213, allocations: 339.6 kB / 2.895 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 6.322e-06/8.213, allocations: 3.938 kB / 2.895 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.002131/8.216, allocations: 0.5307 MB / 2.895 GB, free: 164 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/8.216, allocations: 287.3 kB / 2.896 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/8.217, allocations: 0.576 MB / 2.896 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/8.218, allocations: 36.77 kB / 2.896 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/8.218, allocations: 328.7 kB / 2.897 GB, free: 163 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/8.219, allocations: 203.8 kB / 2.897 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/8.219, allocations: 11.5 kB / 2.897 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001807/8.219, allocations: 375.1 kB / 2.897 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/8.22, allocations: 161.3 kB / 2.897 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/8.22, allocations: 292.3 kB / 2.898 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/8.221, allocations: 210.2 kB / 2.898 GB, free: 162 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/8.221, allocations: 0 / 2.898 GB, free: 162 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002103/8.223, allocations: 0.5375 MB / 2.898 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/8.223, allocations: 4 kB / 2.898 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/8.223, allocations: 4 kB / 2.898 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/8.223, allocations: 7.953 kB / 2.898 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/8.225, allocations: 123.2 kB / 2.899 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/8.225, allocations: 4 kB / 2.899 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/8.226, allocations: 82.66 kB / 2.899 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/8.226, allocations: 23.42 kB / 2.899 GB, free: 161.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.000334/8.227, allocations: 140.9 kB / 2.899 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/8.227, allocations: 71.16 kB / 2.899 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/8.23, allocations: 0.7541 MB / 2.9 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/8.23, allocations: 4 kB / 2.9 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/8.23, allocations: 7.953 kB / 2.9 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/8.23, allocations: 3.984 kB / 2.9 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/8.232, allocations: 0.9264 MB / 2.9 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/8.232, allocations: 3.984 kB / 2.9 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/8.233, allocations: 114.8 kB / 2.901 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/8.233, allocations: 4 kB / 2.901 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/8.233, allocations: 19.19 kB / 2.901 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/8.233, allocations: 4 kB / 2.901 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/8.233, allocations: 3.984 kB / 2.901 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/8.235, allocations: 0.6472 MB / 2.901 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/8.236, allocations: 273.2 kB / 2.902 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/8.236, allocations: 14.62 kB / 2.902 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008059/8.237, allocations: 54.58 kB / 2.902 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/8.237, allocations: 48.59 kB / 2.902 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/8.237, allocations: 23.17 kB / 2.902 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009385/8.238, allocations: 473.2 kB / 2.902 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/8.238, allocations: 4 kB / 2.902 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001337/8.239, allocations: 249.1 kB / 2.902 GB, free: 158.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.003551/8.243, allocations: 1.714 MB / 2.904 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001408/8.244, allocations: 460.1 kB / 2.904 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/8.244, allocations: 0 / 2.904 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/8.245, allocations: 272.6 kB / 2.905 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/8.247, allocations: 213 kB / 2.905 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/8.251, allocations: 1.176 MB / 2.906 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/8.251, allocations: 0.9715 MB / 2.907 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001317/8.253, allocations: 245.5 kB / 2.907 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/8.254, allocations: 295.3 kB / 2.908 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/8.254, allocations: 0 / 2.908 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/8.319, allocations: 16.81 MB / 2.924 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/8.319, allocations: 231.6 kB / 2.924 GB, free: 136.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_OverAYear_usingOneYearData.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_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_OverAYear_usingOneYearData_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_functions.o] Error 1