Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.572/4.572, allocations: 464.6 MB / 476.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.068e-05, allocations: 4 kB / 0.5732 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2685, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.827/8.095, allocations: 2.191 GB / 2.869 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/8.096, allocations: 97.41 kB / 2.869 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.25/8.346, allocations: 66.22 MB / 2.933 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/8.346, allocations: 0 / 2.933 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.558e-05/8.346, allocations: 24 kB / 2.933 GB, free: 202 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002668/8.348, allocations: 1.085 MB / 2.934 GB, free: 201 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/8.349, allocations: 8.031 kB / 2.934 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/8.349, allocations: 134.5 kB / 2.935 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/8.351, allocations: 218.4 kB / 2.935 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/8.352, allocations: 0.6244 MB / 2.935 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/8.352, allocations: 68.06 kB / 2.935 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/8.353, allocations: 84.44 kB / 2.936 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/8.355, allocations: 0.889 MB / 2.936 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/8.355, allocations: 3.938 kB / 2.936 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/8.355, allocations: 33.31 kB / 2.936 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/8.355, allocations: 20 kB / 2.936 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/8.357, allocations: 1.059 MB / 2.937 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006138/8.364, allocations: 2.557 MB / 2.94 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/8.365, allocations: 0.6883 MB / 2.941 GB, free: 196 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/8.366, allocations: 263.5 kB / 2.941 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/8.367, allocations: 467.2 kB / 2.941 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009526/8.368, allocations: 421.4 kB / 2.942 GB, free: 195 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/8.368, allocations: 0 / 2.942 GB, free: 195 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002667/8.371, allocations: 0.6947 MB / 2.942 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/8.371, allocations: 246.7 kB / 2.943 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/8.372, allocations: 0.5728 MB / 2.943 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/8.372, allocations: 45.33 kB / 2.943 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/8.372, allocations: 401.9 kB / 2.944 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/8.373, allocations: 236.1 kB / 2.944 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/8.373, allocations: 14.31 kB / 2.944 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001461/8.373, allocations: 376.3 kB / 2.944 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/8.374, allocations: 199.1 kB / 2.944 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/8.374, allocations: 314.1 kB / 2.945 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/8.375, allocations: 247.1 kB / 2.945 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/8.375, allocations: 0 / 2.945 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002526/8.378, allocations: 0.7029 MB / 2.946 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/8.378, allocations: 7.938 kB / 2.946 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.378, allocations: 0 / 2.946 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/8.379, allocations: 87.52 kB / 2.946 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/8.38, allocations: 140.2 kB / 2.946 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/8.382, allocations: 1.512 MB / 2.947 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/8.384, allocations: 81.77 kB / 2.947 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/8.384, allocations: 33.5 kB / 2.947 GB, free: 189.9 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 (75): * Single equations (assignments): 74 * 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.0002717/8.384, allocations: 142.5 kB / 2.948 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/8.384, allocations: 79.02 kB / 2.948 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/8.388, allocations: 0.9835 MB / 2.949 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/8.388, allocations: 8 kB / 2.949 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/8.388, allocations: 4 kB / 2.949 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/8.388, allocations: 3.984 kB / 2.949 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/8.39, allocations: 0.8921 MB / 2.95 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/8.39, allocations: 0 / 2.95 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/8.391, allocations: 147.8 kB / 2.95 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/8.392, allocations: 80.78 kB / 2.95 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/8.392, allocations: 23.98 kB / 2.95 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/8.394, allocations: 1.548 MB / 2.951 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/8.394, allocations: 0 / 2.951 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/8.397, allocations: 0.8051 MB / 2.952 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/8.398, allocations: 279.7 kB / 2.952 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/8.398, allocations: 27.94 kB / 2.952 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/8.399, allocations: 63.95 kB / 2.952 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/8.399, allocations: 64.69 kB / 2.952 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/8.399, allocations: 27.98 kB / 2.952 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008781/8.4, allocations: 479.1 kB / 2.953 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/8.4, allocations: 0 / 2.953 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001655/8.402, allocations: 351.1 kB / 2.953 GB, free: 183.9 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 (84): * Single equations (assignments): 81 * 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.00534/8.407, allocations: 2.298 MB / 2.956 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002169/8.41, allocations: 0.6786 MB / 2.956 GB, free: 181 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/8.41, allocations: 0 / 2.956 GB, free: 181 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/8.411, allocations: 460.6 kB / 2.957 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/8.413, allocations: 245.2 kB / 2.957 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/8.419, allocations: 1.586 MB / 2.958 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/8.42, allocations: 1.039 MB / 2.959 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001469/8.421, allocations: 262 kB / 2.96 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007612/8.422, allocations: 371.3 kB / 2.96 GB, free: 177 MB / 0.8855 GB Notification: Performance of SimCode: time 1.393e-06/8.422, allocations: 0 / 2.96 GB, free: 177 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/8.507, allocations: 31.12 MB / 2.99 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/8.507, allocations: 262.9 kB / 2.991 GB, free: 145.8 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_SkyClearness.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.o] Error 1