Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.441/4.441, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.323e-05/5.354e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2845, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.85/8.135, allocations: 2.192 GB / 2.864 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/8.135, allocations: 86.59 kB / 2.864 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3088/8.444, allocations: 81.84 MB / 2.944 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/8.444, allocations: 0 / 2.944 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001115/8.444, allocations: 35.92 kB / 2.944 GB, free: 207.2 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003013/8.447, allocations: 1.291 MB / 2.945 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/8.448, allocations: 8.031 kB / 2.945 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000332/8.448, allocations: 176.3 kB / 2.946 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/8.449, allocations: 226.1 kB / 2.946 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/8.451, allocations: 0.7416 MB / 2.947 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/8.451, allocations: 124.8 kB / 2.947 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/8.452, allocations: 114.6 kB / 2.947 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/8.455, allocations: 1.177 MB / 2.948 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/8.455, allocations: 3.984 kB / 2.948 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/8.455, allocations: 58.48 kB / 2.948 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/8.455, allocations: 31.94 kB / 2.948 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/8.458, allocations: 1.284 MB / 2.949 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008745/8.467, allocations: 3.353 MB / 2.953 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/8.469, allocations: 0.8439 MB / 2.953 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/8.47, allocations: 352.3 kB / 2.954 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/8.47, allocations: 45.77 kB / 2.954 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/8.471, allocations: 0.5153 MB / 2.954 GB, free: 199 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=93): time 4.748e-06/8.471, allocations: 3.984 kB / 2.954 GB, free: 199 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.003141/8.474, allocations: 0.8864 MB / 2.955 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/8.474, allocations: 248.1 kB / 2.955 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/8.476, allocations: 0.6878 MB / 2.956 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/8.476, allocations: 45.7 kB / 2.956 GB, free: 197 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/8.476, allocations: 0.5077 MB / 2.957 GB, free: 196.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/8.477, allocations: 303.6 kB / 2.957 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/8.477, allocations: 16 kB / 2.957 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/8.477, allocations: 341.9 kB / 2.957 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/8.478, allocations: 286 kB / 2.957 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008889/8.479, allocations: 406.3 kB / 2.958 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009074/8.479, allocations: 356.8 kB / 2.958 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/8.479, allocations: 4 kB / 2.958 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003138/8.483, allocations: 0.9268 MB / 2.959 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/8.483, allocations: 7.984 kB / 2.959 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/8.483, allocations: 0 / 2.959 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009703/8.484, allocations: 84.84 kB / 2.959 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/8.485, allocations: 191.7 kB / 2.959 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/8.488, allocations: 1.533 MB / 2.961 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/8.49, allocations: 95.22 kB / 2.961 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/8.49, allocations: 39.97 kB / 2.961 GB, free: 191.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003233/8.49, allocations: 156.9 kB / 2.961 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/8.49, allocations: 98.78 kB / 2.961 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/8.495, allocations: 1.259 MB / 2.962 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/8.495, allocations: 12 kB / 2.962 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/8.495, allocations: 4 kB / 2.962 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/8.495, allocations: 15.91 kB / 2.962 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/8.501, allocations: 2.408 MB / 2.965 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/8.501, allocations: 7.875 kB / 2.965 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/8.502, allocations: 179.8 kB / 2.965 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008685/8.503, allocations: 84.77 kB / 2.965 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/8.503, allocations: 23.98 kB / 2.965 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/8.506, allocations: 1.548 MB / 2.967 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/8.506, allocations: 0 / 2.967 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/8.509, allocations: 1.074 MB / 2.968 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008181/8.51, allocations: 351.3 kB / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/8.51, allocations: 24 kB / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/8.511, allocations: 79.94 kB / 2.968 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/8.512, allocations: 72.84 kB / 2.968 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/8.512, allocations: 43.97 kB / 2.968 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001136/8.513, allocations: 0.5694 MB / 2.969 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.232e-06/8.513, allocations: 0 / 2.969 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001873/8.515, allocations: 410.8 kB / 2.969 GB, free: 183.1 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 (107): * Single equations (assignments): 104 * 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.005703/8.521, allocations: 2.54 MB / 2.972 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002711/8.523, allocations: 0.8658 MB / 2.972 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/8.523, allocations: 3.938 kB / 2.972 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/8.525, allocations: 0.5443 MB / 2.973 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/8.527, allocations: 259.6 kB / 2.973 GB, free: 179 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008056/8.535, allocations: 1.951 MB / 2.975 GB, free: 177 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/8.536, allocations: 1.145 MB / 2.976 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001844/8.538, allocations: 303.5 kB / 2.977 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/8.539, allocations: 499.2 kB / 2.977 GB, free: 175 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/8.539, allocations: 4 kB / 2.977 GB, free: 175 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/8.639, allocations: 35.53 MB / 3.012 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/8.64, allocations: 254.1 kB / 3.012 GB, free: 139.4 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_SolarIrradiation_Examples_DirectTiltedSurface.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_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_SolarIrradiation_Examples_DirectTiltedSurface_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_functions.o] Error 1