Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.489/4.489, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.791e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.253/7.517, allocations: 2.19 GB / 2.868 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/7.517, allocations: 80.17 kB / 2.868 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2364/7.754, allocations: 61.78 MB / 2.928 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.804e-06/7.754, allocations: 0 / 2.928 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.966e-05/7.754, allocations: 24 kB / 2.928 GB, free: 208.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002407/7.756, allocations: 1.028 MB / 2.929 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/7.756, allocations: 16.03 kB / 2.929 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002526/7.757, allocations: 123.9 kB / 2.929 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/7.758, allocations: 182.6 kB / 2.929 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/7.76, allocations: 0.5986 MB / 2.93 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/7.76, allocations: 55.12 kB / 2.93 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/7.76, allocations: 77.88 kB / 2.93 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/7.762, allocations: 0.7993 MB / 2.931 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/7.762, allocations: 3.938 kB / 2.931 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/7.762, allocations: 32.56 kB / 2.931 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/7.762, allocations: 20 kB / 2.931 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/7.764, allocations: 1.007 MB / 2.932 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/7.77, allocations: 2.389 MB / 2.934 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/7.772, allocations: 0.6794 MB / 2.935 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/7.773, allocations: 257.4 kB / 2.935 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/7.773, allocations: 31.27 kB / 2.935 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008735/7.774, allocations: 402.2 kB / 2.936 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.427e-06/7.774, allocations: 0 / 2.936 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002586/7.776, allocations: 0.6774 MB / 2.936 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/7.776, allocations: 243.8 kB / 2.936 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/7.777, allocations: 0.5625 MB / 2.937 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/7.778, allocations: 43.64 kB / 2.937 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/7.778, allocations: 366.5 kB / 2.937 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/7.778, allocations: 225.4 kB / 2.938 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/7.778, allocations: 13 kB / 2.938 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001331/7.779, allocations: 380.8 kB / 2.938 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/7.779, allocations: 193.3 kB / 2.938 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/7.78, allocations: 306.2 kB / 2.938 GB, free: 200 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/7.78, allocations: 246.4 kB / 2.939 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/7.781, allocations: 0 / 2.939 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002503/7.783, allocations: 0.6822 MB / 2.939 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/7.783, allocations: 8 kB / 2.939 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/7.783, allocations: 3.953 kB / 2.939 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/7.784, allocations: 79.28 kB / 2.939 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/7.785, allocations: 146.7 kB / 2.94 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/7.788, allocations: 1.528 MB / 2.941 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/7.789, allocations: 70.81 kB / 2.941 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/7.789, allocations: 31.78 kB / 2.941 GB, free: 197.5 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 (72): * Single equations (assignments): 71 * 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.0002663/7.79, allocations: 145.4 kB / 2.941 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/7.79, allocations: 79 kB / 2.941 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/7.793, allocations: 0.9551 MB / 2.942 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/7.793, allocations: 8 kB / 2.942 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/7.793, allocations: 4 kB / 2.942 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/7.793, allocations: 3.984 kB / 2.942 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/7.795, allocations: 0.869 MB / 2.943 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/7.795, allocations: 0 / 2.943 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/7.796, allocations: 139.7 kB / 2.943 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000864/7.797, allocations: 80.22 kB / 2.943 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/7.797, allocations: 23.61 kB / 2.943 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/7.8, allocations: 1.56 MB / 2.945 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/7.8, allocations: 0 / 2.945 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/7.802, allocations: 0.7895 MB / 2.946 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007684/7.803, allocations: 279.8 kB / 2.946 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/7.803, allocations: 16 kB / 2.946 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.805, allocations: 63.94 kB / 2.946 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/7.805, allocations: 56.7 kB / 2.946 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/7.805, allocations: 35.94 kB / 2.946 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008637/7.806, allocations: 471.1 kB / 2.947 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/7.806, allocations: 0 / 2.947 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001613/7.807, allocations: 327.2 kB / 2.947 GB, free: 192 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 (81): * Single equations (assignments): 78 * 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.005026/7.812, allocations: 2.246 MB / 2.949 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002052/7.815, allocations: 0.6628 MB / 2.95 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/7.815, allocations: 0 / 2.95 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/7.816, allocations: 460.6 kB / 2.95 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/7.818, allocations: 235 kB / 2.95 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/7.824, allocations: 1.503 MB / 2.952 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/7.825, allocations: 1.019 MB / 2.953 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001412/7.826, allocations: 253.9 kB / 2.953 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/7.827, allocations: 335.3 kB / 2.953 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/7.827, allocations: 3.938 kB / 2.953 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/7.93, allocations: 30.39 MB / 2.983 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/7.93, allocations: 239.5 kB / 2.983 GB, free: 154.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_Examples_ZenithAngle.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o] Error 1