Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.595/4.595, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.703e-05/4.73e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2437, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.523/7.766, allocations: 2.19 GB / 2.861 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/7.767, allocations: 93.62 kB / 2.862 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2162/7.983, allocations: 57.5 MB / 2.918 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.096e-06/7.983, allocations: 0 / 2.918 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001046/7.983, allocations: 31.88 kB / 2.918 GB, free: 231.7 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002877/7.986, allocations: 1.033 MB / 2.919 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/7.986, allocations: 8.031 kB / 2.919 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003654/7.987, allocations: 121.6 kB / 2.919 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/7.988, allocations: 186.5 kB / 2.919 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/7.99, allocations: 0.6061 MB / 2.92 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/7.99, allocations: 59 kB / 2.92 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/7.99, allocations: 76.25 kB / 2.92 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/7.992, allocations: 0.8017 MB / 2.921 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/7.992, allocations: 3.953 kB / 2.921 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/7.992, allocations: 32.69 kB / 2.921 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/7.992, allocations: 20 kB / 2.921 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/7.995, allocations: 1.006 MB / 2.922 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006815/8.002, allocations: 2.367 MB / 2.924 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/8.004, allocations: 0.7524 MB / 2.925 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/8.005, allocations: 260 kB / 2.925 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/8.005, allocations: 36.33 kB / 2.925 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009519/8.006, allocations: 406.6 kB / 2.925 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 4.399e-06/8.006, allocations: 0 / 2.925 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.002757/8.009, allocations: 0.6797 MB / 2.926 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/8.009, allocations: 240.1 kB / 2.926 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/8.01, allocations: 0.5726 MB / 2.927 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/8.01, allocations: 36.89 kB / 2.927 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/8.01, allocations: 365.3 kB / 2.927 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/8.011, allocations: 233.1 kB / 2.927 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/8.011, allocations: 14.19 kB / 2.927 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001299/8.011, allocations: 379.2 kB / 2.928 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/8.012, allocations: 197.6 kB / 2.928 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/8.012, allocations: 300.5 kB / 2.928 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/8.013, allocations: 241.5 kB / 2.928 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/8.013, allocations: 0 / 2.928 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00248/8.015, allocations: 0.687 MB / 2.929 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/8.015, allocations: 8 kB / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/8.015, allocations: 0 / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009861/8.016, allocations: 79.59 kB / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/8.018, allocations: 145.8 kB / 2.929 GB, free: 222 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/8.02, allocations: 1.512 MB / 2.931 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/8.021, allocations: 81.44 kB / 2.931 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/8.022, allocations: 30.61 kB / 2.931 GB, free: 220.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 (74): * Single equations (assignments): 73 * 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.0002635/8.022, allocations: 140.5 kB / 2.931 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/8.022, allocations: 82.98 kB / 2.931 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/8.025, allocations: 0.9667 MB / 2.932 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/8.025, allocations: 8 kB / 2.932 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/8.025, allocations: 0 / 2.932 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/8.025, allocations: 7.984 kB / 2.932 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/8.03, allocations: 1.855 MB / 2.934 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/8.03, allocations: 0 / 2.934 GB, free: 218 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/8.031, allocations: 147.7 kB / 2.934 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008223/8.032, allocations: 80.41 kB / 2.934 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/8.032, allocations: 26.86 kB / 2.934 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/8.034, allocations: 1.543 MB / 2.936 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/8.034, allocations: 0 / 2.936 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/8.037, allocations: 0.866 MB / 2.936 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/8.038, allocations: 284 kB / 2.937 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/8.038, allocations: 19.17 kB / 2.937 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/8.039, allocations: 63.14 kB / 2.937 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/8.039, allocations: 67.88 kB / 2.937 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/8.039, allocations: 31.23 kB / 2.937 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008286/8.04, allocations: 471.3 kB / 2.937 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/8.04, allocations: 0 / 2.937 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001732/8.042, allocations: 331.5 kB / 2.938 GB, free: 214.6 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 (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.005133/8.047, allocations: 2.33 MB / 2.94 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00208/8.049, allocations: 0.6595 MB / 2.941 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.049, allocations: 0 / 2.941 GB, free: 212 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/8.05, allocations: 466.2 kB / 2.941 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/8.052, allocations: 246.2 kB / 2.941 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/8.058, allocations: 1.513 MB / 2.943 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/8.059, allocations: 1.023 MB / 2.944 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001413/8.06, allocations: 258 kB / 2.944 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/8.061, allocations: 347.7 kB / 2.944 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/8.061, allocations: 3.938 kB / 2.944 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08171/8.143, allocations: 30.43 MB / 2.974 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/8.143, allocations: 255.5 kB / 2.974 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_ZenithAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1