Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.644/4.644, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.166e-05, allocations: 11.98 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.225/7.496, allocations: 2.19 GB / 2.861 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/7.497, allocations: 93.55 kB / 2.862 GB, free: 261.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2316/7.728, allocations: 57.6 MB / 2.918 GB, free: 232 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.797e-06/7.728, allocations: 0 / 2.918 GB, free: 232 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.72e-05/7.728, allocations: 27.88 kB / 2.918 GB, free: 232 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.002354/7.731, allocations: 1.033 MB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/7.731, allocations: 8.031 kB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/7.731, allocations: 125.4 kB / 2.919 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/7.732, allocations: 182.6 kB / 2.919 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/7.734, allocations: 0.6145 MB / 2.92 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/7.734, allocations: 58.88 kB / 2.92 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/7.734, allocations: 72.69 kB / 2.92 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/7.736, allocations: 0.812 MB / 2.921 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/7.736, allocations: 3.953 kB / 2.921 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/7.736, allocations: 37 kB / 2.921 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/7.736, allocations: 20 kB / 2.921 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/7.738, allocations: 1.015 MB / 2.922 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/7.744, allocations: 2.386 MB / 2.924 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/7.746, allocations: 0.7521 MB / 2.925 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/7.746, allocations: 269.5 kB / 2.925 GB, free: 226 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/7.746, allocations: 25.58 kB / 2.925 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008461/7.747, allocations: 408.2 kB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.577e-06/7.747, allocations: 0 / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002507/7.75, allocations: 0.692 MB / 2.926 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/7.75, allocations: 240.1 kB / 2.926 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/7.751, allocations: 0.5632 MB / 2.927 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/7.751, allocations: 44.95 kB / 2.927 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/7.752, allocations: 367.3 kB / 2.927 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/7.752, allocations: 236 kB / 2.928 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/7.752, allocations: 14.5 kB / 2.928 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001189/7.752, allocations: 375.1 kB / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/7.753, allocations: 200.1 kB / 2.928 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/7.753, allocations: 298.5 kB / 2.928 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/7.754, allocations: 248.3 kB / 2.929 GB, free: 223 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/7.754, allocations: 0 / 2.929 GB, free: 223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002391/7.756, allocations: 0.6857 MB / 2.929 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/7.756, allocations: 8 kB / 2.929 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/7.756, allocations: 0 / 2.929 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009498/7.757, allocations: 78.97 kB / 2.929 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/7.758, allocations: 141.7 kB / 2.929 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/7.761, allocations: 1.515 MB / 2.931 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.762, allocations: 81.22 kB / 2.931 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/7.762, allocations: 32.67 kB / 2.931 GB, free: 220.6 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.0002363/7.763, allocations: 150.4 kB / 2.931 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/7.763, allocations: 75.06 kB / 2.931 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/7.766, allocations: 0.9749 MB / 2.932 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/7.766, allocations: 8 kB / 2.932 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/7.766, allocations: 0 / 2.932 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/7.766, allocations: 3.984 kB / 2.932 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/7.771, allocations: 1.865 MB / 2.934 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/7.771, allocations: 7.938 kB / 2.934 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/7.772, allocations: 151.1 kB / 2.934 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008202/7.773, allocations: 79.97 kB / 2.934 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/7.773, allocations: 23.11 kB / 2.934 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/7.775, allocations: 1.543 MB / 2.936 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/7.775, allocations: 0 / 2.936 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/7.778, allocations: 0.8707 MB / 2.937 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/7.778, allocations: 282.8 kB / 2.937 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/7.778, allocations: 19.38 kB / 2.937 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/7.779, allocations: 67.19 kB / 2.937 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/7.78, allocations: 62.75 kB / 2.937 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/7.78, allocations: 31.3 kB / 2.937 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008422/7.781, allocations: 469 kB / 2.938 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/7.781, allocations: 0 / 2.938 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001564/7.782, allocations: 343.4 kB / 2.938 GB, free: 214.8 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.005077/7.787, allocations: 2.337 MB / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002126/7.789, allocations: 0.6676 MB / 2.941 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/7.789, allocations: 0 / 2.941 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/7.791, allocations: 459 kB / 2.941 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/7.793, allocations: 249.2 kB / 2.942 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/7.799, allocations: 1.526 MB / 2.943 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/7.799, allocations: 1.023 MB / 2.944 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001352/7.801, allocations: 254.1 kB / 2.944 GB, free: 209 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/7.801, allocations: 347.3 kB / 2.945 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/7.801, allocations: 3.938 kB / 2.945 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/7.879, allocations: 30.48 MB / 2.974 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/7.88, allocations: 265.4 kB / 2.975 GB, free: 178.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_AltitudeAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o] Error 1