Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.239/4.239, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.344e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.407, allocations: 2.191 GB / 2.863 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/7.408, allocations: 92.03 kB / 2.863 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2415/7.649, allocations: 58.14 MB / 2.919 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/7.649, allocations: 0 / 2.919 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001179/7.649, allocations: 24 kB / 2.919 GB, free: 230.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003518/7.653, allocations: 1.066 MB / 2.92 GB, free: 229 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/7.653, allocations: 11.97 kB / 2.92 GB, free: 229 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003123/7.653, allocations: 127.9 kB / 2.921 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/7.655, allocations: 193.9 kB / 2.921 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/7.657, allocations: 0.6278 MB / 2.921 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/7.657, allocations: 96.06 kB / 2.921 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/7.657, allocations: 76.56 kB / 2.922 GB, free: 228.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/7.659, allocations: 0.8341 MB / 2.922 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/7.659, allocations: 4 kB / 2.922 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/7.659, allocations: 33.81 kB / 2.922 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/7.659, allocations: 20 kB / 2.922 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/7.662, allocations: 1.026 MB / 2.923 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005589/7.667, allocations: 2.423 MB / 2.926 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/7.67, allocations: 0.8146 MB / 2.927 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/7.67, allocations: 272.1 kB / 2.927 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/7.671, allocations: 36.11 kB / 2.927 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/7.672, allocations: 414 kB / 2.927 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.918e-06/7.672, allocations: 0 / 2.927 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002598/7.674, allocations: 0.7131 MB / 2.928 GB, free: 223 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/7.674, allocations: 244.1 kB / 2.928 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/7.675, allocations: 0.5759 MB / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/7.676, allocations: 40.7 kB / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/7.676, allocations: 370.6 kB / 2.929 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/7.676, allocations: 251.8 kB / 2.929 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/7.676, allocations: 13.69 kB / 2.929 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001312/7.677, allocations: 379.9 kB / 2.93 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/7.677, allocations: 200.1 kB / 2.93 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/7.678, allocations: 312.4 kB / 2.93 GB, free: 221 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/7.678, allocations: 260.8 kB / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/7.678, allocations: 0 / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002467/7.681, allocations: 0.7023 MB / 2.931 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/7.681, allocations: 8 kB / 2.931 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/7.681, allocations: 80 / 2.931 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009586/7.682, allocations: 81.72 kB / 2.931 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/7.683, allocations: 155.5 kB / 2.931 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/7.686, allocations: 1.514 MB / 2.933 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/7.687, allocations: 93.8 kB / 2.933 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/7.687, allocations: 26.73 kB / 2.933 GB, free: 218.4 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 (78): * Single equations (assignments): 77 * 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.0002679/7.688, allocations: 148.4 kB / 2.933 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/7.688, allocations: 79.06 kB / 2.933 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/7.691, allocations: 1.013 MB / 2.934 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/7.691, allocations: 8 kB / 2.934 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/7.691, allocations: 3.953 kB / 2.934 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/7.691, allocations: 3.984 kB / 2.934 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/7.696, allocations: 1.929 MB / 2.936 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/7.696, allocations: 0 / 2.936 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/7.697, allocations: 170.8 kB / 2.936 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008181/7.698, allocations: 79.91 kB / 2.936 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/7.698, allocations: 30.09 kB / 2.936 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/7.701, allocations: 1.538 MB / 2.938 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/7.701, allocations: 0 / 2.938 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/7.703, allocations: 0.9131 MB / 2.939 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/7.704, allocations: 289.1 kB / 2.939 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/7.704, allocations: 21.19 kB / 2.939 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/7.705, allocations: 72.06 kB / 2.939 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/7.705, allocations: 68.02 kB / 2.939 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/7.706, allocations: 35.42 kB / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008283/7.706, allocations: 468.2 kB / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.984e-06/7.706, allocations: 0 / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001435/7.708, allocations: 338.9 kB / 2.94 GB, free: 212.4 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.005215/7.713, allocations: 2.377 MB / 2.942 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002226/7.715, allocations: 0.6909 MB / 2.943 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/7.715, allocations: 128 / 2.943 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/7.717, allocations: 484.6 kB / 2.943 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/7.719, allocations: 243.3 kB / 2.944 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/7.725, allocations: 1.573 MB / 2.945 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/7.725, allocations: 1.024 MB / 2.946 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001391/7.727, allocations: 262.2 kB / 2.947 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/7.728, allocations: 363.3 kB / 2.947 GB, free: 206 MB / 0.8855 GB Notification: Performance of SimCode: time 1.163e-06/7.728, allocations: 4 kB / 2.947 GB, free: 206 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08373/7.811, allocations: 30.82 MB / 2.977 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/7.812, allocations: 259.6 kB / 2.977 GB, free: 175.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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1