Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.315/4.315, allocations: 464.6 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.93e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2528, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.388/7.64, allocations: 2.19 GB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/7.641, allocations: 95.97 kB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2133/7.854, allocations: 57.6 MB / 2.924 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.234e-06/7.854, allocations: 0 / 2.924 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.578e-05/7.854, allocations: 16 kB / 2.924 GB, free: 210.6 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002388/7.857, allocations: 1.033 MB / 2.925 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/7.857, allocations: 12.02 kB / 2.925 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/7.857, allocations: 129.3 kB / 2.925 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/7.858, allocations: 182.5 kB / 2.925 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/7.86, allocations: 0.6051 MB / 2.926 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/7.86, allocations: 63.12 kB / 2.926 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/7.86, allocations: 73.44 kB / 2.926 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/7.862, allocations: 0.8146 MB / 2.927 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/7.862, allocations: 4 kB / 2.927 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/7.862, allocations: 33.19 kB / 2.927 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/7.862, allocations: 16 kB / 2.927 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/7.864, allocations: 1.012 MB / 2.928 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/7.87, allocations: 2.386 MB / 2.93 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/7.872, allocations: 0.7554 MB / 2.931 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/7.872, allocations: 260.8 kB / 2.931 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/7.873, allocations: 36.17 kB / 2.931 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/7.873, allocations: 400.4 kB / 2.932 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.567e-06/7.874, allocations: 3.938 kB / 2.932 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002507/7.876, allocations: 0.6832 MB / 2.932 GB, free: 203.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/7.876, allocations: 244.1 kB / 2.933 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/7.877, allocations: 0.5684 MB / 2.933 GB, free: 203 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/7.877, allocations: 39.2 kB / 2.933 GB, free: 203 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/7.878, allocations: 367.4 kB / 2.934 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/7.878, allocations: 237.5 kB / 2.934 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/7.878, allocations: 14.88 kB / 2.934 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001308/7.878, allocations: 379.1 kB / 2.934 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/7.879, allocations: 194.2 kB / 2.934 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/7.879, allocations: 311.8 kB / 2.935 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/7.88, allocations: 239.2 kB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.88, allocations: 4 kB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002363/7.883, allocations: 0.681 MB / 2.936 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/7.883, allocations: 7.953 kB / 2.936 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/7.883, allocations: 8 kB / 2.936 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/7.884, allocations: 84.27 kB / 2.936 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/7.885, allocations: 136.2 kB / 2.936 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/7.887, allocations: 1.51 MB / 2.937 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/7.888, allocations: 86.69 kB / 2.937 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/7.889, allocations: 31.59 kB / 2.937 GB, free: 199.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 (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.0002595/7.889, allocations: 138.2 kB / 2.938 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/7.889, allocations: 79.02 kB / 2.938 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/7.893, allocations: 0.9755 MB / 2.939 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/7.893, allocations: 8 kB / 2.939 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/7.893, allocations: 0 / 2.939 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/7.893, allocations: 7.984 kB / 2.939 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/7.897, allocations: 1.864 MB / 2.94 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/7.897, allocations: 4 kB / 2.94 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/7.898, allocations: 146.8 kB / 2.941 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/7.899, allocations: 91.8 kB / 2.941 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/7.899, allocations: 26.11 kB / 2.941 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/7.902, allocations: 1.528 MB / 2.942 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/7.902, allocations: 3.938 kB / 2.942 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/7.904, allocations: 0.8711 MB / 2.943 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006225/7.905, allocations: 290.7 kB / 2.943 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/7.905, allocations: 16.14 kB / 2.943 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/7.906, allocations: 59.95 kB / 2.943 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/7.906, allocations: 72.67 kB / 2.943 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/7.906, allocations: 35.92 kB / 2.943 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007932/7.907, allocations: 467.1 kB / 2.944 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/7.907, allocations: 0 / 2.944 GB, free: 193.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001475/7.909, allocations: 335.2 kB / 2.944 GB, free: 193.2 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 (87): * Single equations (assignments): 84 * 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.004919/7.914, allocations: 2.344 MB / 2.946 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001955/7.916, allocations: 0.6629 MB / 2.947 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.916, allocations: 0 / 2.947 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/7.917, allocations: 468.5 kB / 2.948 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/7.919, allocations: 246.6 kB / 2.948 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/7.925, allocations: 1.519 MB / 2.949 GB, free: 188 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/7.925, allocations: 1.019 MB / 2.95 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001341/7.927, allocations: 262 kB / 2.951 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007088/7.928, allocations: 351.3 kB / 2.951 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/7.928, allocations: 3.938 kB / 2.951 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0928/8.02, allocations: 30.47 MB / 2.981 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/8.021, allocations: 258.9 kB / 2.981 GB, free: 155.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_SolarGeometry_BaseClasses_Examples_AltitudeAngle.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o] Error 1