Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.517/4.517, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.453e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.742/7.995, allocations: 2.19 GB / 2.868 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/7.995, allocations: 85.17 kB / 2.868 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/8.121, allocations: 27.54 MB / 2.895 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.625e-06/8.121, allocations: 0 / 2.895 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.575e-05/8.121, allocations: 20 kB / 2.895 GB, free: 236.5 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.002008/8.123, allocations: 0.9112 MB / 2.895 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/8.123, allocations: 12.03 kB / 2.895 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/8.123, allocations: 107.3 kB / 2.896 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/8.124, allocations: 98.62 kB / 2.896 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/8.125, allocations: 0.5633 MB / 2.896 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/8.125, allocations: 43.62 kB / 2.896 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/8.125, allocations: 61.56 kB / 2.896 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/8.127, allocations: 0.6754 MB / 2.897 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/8.127, allocations: 0 / 2.897 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/8.127, allocations: 25.94 kB / 2.897 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/8.127, allocations: 12 kB / 2.897 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/8.129, allocations: 0.8973 MB / 2.898 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/8.134, allocations: 2.348 MB / 2.9 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/8.135, allocations: 0.5788 MB / 2.901 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/8.135, allocations: 221.9 kB / 2.901 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/8.135, allocations: 36.03 kB / 2.901 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/8.136, allocations: 338.6 kB / 2.901 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.188e-06/8.136, allocations: 0 / 2.901 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.001487/8.138, allocations: 0.5258 MB / 2.902 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/8.138, allocations: 291.3 kB / 2.902 GB, free: 230 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/8.139, allocations: 0.58 MB / 2.903 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/8.139, allocations: 40.08 kB / 2.903 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/8.139, allocations: 321.4 kB / 2.903 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/8.14, allocations: 204 kB / 2.903 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/8.14, allocations: 11.12 kB / 2.903 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001208/8.14, allocations: 372.5 kB / 2.904 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/8.14, allocations: 165.4 kB / 2.904 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/8.141, allocations: 289.3 kB / 2.904 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/8.141, allocations: 215.6 kB / 2.904 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/8.141, allocations: 0 / 2.904 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001338/8.143, allocations: 0.5304 MB / 2.905 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/8.143, allocations: 4 kB / 2.905 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/8.143, allocations: 0 / 2.905 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/8.143, allocations: 4 kB / 2.905 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/8.144, allocations: 119.5 kB / 2.905 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/8.144, allocations: 4.203 kB / 2.905 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/8.145, allocations: 83.03 kB / 2.905 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/8.145, allocations: 31.17 kB / 2.905 GB, free: 227.6 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.0001975/8.145, allocations: 139.9 kB / 2.905 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/8.145, allocations: 67.16 kB / 2.905 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/8.147, allocations: 0.7553 MB / 2.906 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/8.147, allocations: 8 kB / 2.906 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/8.147, allocations: 0 / 2.906 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/8.147, allocations: 11.92 kB / 2.906 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/8.149, allocations: 0.9319 MB / 2.907 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/8.149, allocations: 0 / 2.907 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/8.15, allocations: 119.4 kB / 2.907 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/8.15, allocations: 4 kB / 2.907 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/8.15, allocations: 22.73 kB / 2.907 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/8.15, allocations: 4 kB / 2.907 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/8.15, allocations: 0 / 2.907 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/8.151, allocations: 0.6429 MB / 2.908 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/8.152, allocations: 269.6 kB / 2.908 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/8.152, allocations: 15.38 kB / 2.908 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/8.153, allocations: 59.14 kB / 2.908 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/8.153, allocations: 48.17 kB / 2.908 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/8.153, allocations: 27.3 kB / 2.908 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008075/8.154, allocations: 471.6 kB / 2.908 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/8.154, allocations: 0 / 2.908 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001125/8.155, allocations: 241.2 kB / 2.909 GB, free: 224.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.003236/8.158, allocations: 1.721 MB / 2.91 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001285/8.159, allocations: 461.2 kB / 2.911 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/8.159, allocations: 0 / 2.911 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/8.16, allocations: 275.4 kB / 2.911 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/8.162, allocations: 216.9 kB / 2.911 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/8.165, allocations: 1.179 MB / 2.912 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/8.166, allocations: 0.9705 MB / 2.913 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001219/8.167, allocations: 237.5 kB / 2.914 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/8.167, allocations: 297.8 kB / 2.914 GB, free: 220 MB / 0.8855 GB Notification: Performance of SimCode: time 2.164e-06/8.167, allocations: 0 / 2.914 GB, free: 220 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06892/8.236, allocations: 16.84 MB / 2.93 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/8.237, allocations: 247.8 kB / 2.931 GB, free: 203.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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_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_usingTwoYearDataPositiveStart_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart_functions.o] Error 1