Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.526/4.526, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.843e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2675, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.774/8.041, allocations: 2.191 GB / 2.868 GB, free: 257 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/8.042, allocations: 93.88 kB / 2.869 GB, free: 257 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2788/8.321, allocations: 63.41 MB / 2.93 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.276e-06/8.321, allocations: 3.938 kB / 2.93 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000172/8.321, allocations: 24 kB / 2.93 GB, free: 205.1 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.005347/8.326, allocations: 1.08 MB / 2.932 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.403e-05/8.326, allocations: 8.031 kB / 2.932 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006139/8.327, allocations: 137.7 kB / 2.932 GB, free: 204 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/8.332, allocations: 277.7 kB / 2.932 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/8.335, allocations: 0.6199 MB / 2.933 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/8.336, allocations: 69.73 kB / 2.933 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/8.336, allocations: 85.44 kB / 2.933 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/8.34, allocations: 0.8981 MB / 2.934 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/8.341, allocations: 0 / 2.934 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/8.341, allocations: 36.25 kB / 2.934 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/8.341, allocations: 27.95 kB / 2.934 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/8.346, allocations: 1.065 MB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/8.357, allocations: 2.592 MB / 2.937 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004809/8.362, allocations: 0.7658 MB / 2.938 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/8.363, allocations: 277.1 kB / 2.938 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/8.363, allocations: 36.31 kB / 2.938 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009598/8.364, allocations: 426.8 kB / 2.939 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 4.309e-06/8.364, allocations: 0 / 2.939 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.00275/8.367, allocations: 0.7138 MB / 2.939 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/8.367, allocations: 245.2 kB / 2.94 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/8.368, allocations: 0.5692 MB / 2.94 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/8.368, allocations: 40.14 kB / 2.94 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/8.369, allocations: 402.3 kB / 2.941 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/8.369, allocations: 245 kB / 2.941 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/8.369, allocations: 15.06 kB / 2.941 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000132/8.369, allocations: 378.6 kB / 2.941 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/8.37, allocations: 205.8 kB / 2.941 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/8.371, allocations: 323.2 kB / 2.942 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/8.371, allocations: 253.6 kB / 2.942 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/8.371, allocations: 0 / 2.942 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002633/8.374, allocations: 0.7045 MB / 2.943 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/8.374, allocations: 8 kB / 2.943 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/8.374, allocations: 0 / 2.943 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/8.375, allocations: 84.89 kB / 2.943 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/8.377, allocations: 160.6 kB / 2.943 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/8.38, allocations: 1.508 MB / 2.944 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/8.381, allocations: 88.48 kB / 2.944 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/8.381, allocations: 32.66 kB / 2.944 GB, free: 193.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000287/8.382, allocations: 146 kB / 2.945 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/8.382, allocations: 75.16 kB / 2.945 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/8.385, allocations: 1.012 MB / 2.946 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/8.385, allocations: 8 kB / 2.946 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/8.385, allocations: 0 / 2.946 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/8.386, allocations: 7.938 kB / 2.946 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/8.387, allocations: 0.8998 MB / 2.947 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/8.387, allocations: 0 / 2.947 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/8.389, allocations: 163.8 kB / 2.947 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/8.39, allocations: 84.78 kB / 2.947 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/8.39, allocations: 23.98 kB / 2.947 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/8.392, allocations: 1.548 MB / 2.948 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/8.392, allocations: 0 / 2.948 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/8.395, allocations: 0.8285 MB / 2.949 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/8.396, allocations: 279.8 kB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/8.396, allocations: 19.94 kB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/8.397, allocations: 83.92 kB / 2.949 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/8.398, allocations: 56.84 kB / 2.95 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/8.398, allocations: 31.97 kB / 2.95 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008603/8.399, allocations: 471.2 kB / 2.95 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.12e-07/8.399, allocations: 0 / 2.95 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001642/8.4, allocations: 343.2 kB / 2.95 GB, free: 187.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (86): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005283/8.406, allocations: 2.297 MB / 2.953 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002303/8.408, allocations: 0.6943 MB / 2.953 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.408, allocations: 0 / 2.953 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/8.409, allocations: 468.5 kB / 2.954 GB, free: 184 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/8.411, allocations: 242.1 kB / 2.954 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/8.418, allocations: 1.582 MB / 2.955 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/8.419, allocations: 1.037 MB / 2.956 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001587/8.42, allocations: 274 kB / 2.957 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/8.421, allocations: 371.3 kB / 2.957 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/8.421, allocations: 0 / 2.957 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1418/8.563, allocations: 31.08 MB / 2.987 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/8.563, allocations: 258 kB / 2.988 GB, free: 149.3 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_SolarIrradiation_BaseClasses_Examples_SkyBrightness.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1