Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.451/4.451, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.384e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.645/7.906, allocations: 2.19 GB / 2.862 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/7.906, allocations: 96.78 kB / 2.862 GB, free: 262.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3012/8.207, allocations: 63.43 MB / 2.924 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.258e-06/8.207, allocations: 0 / 2.924 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001749/8.208, allocations: 31.88 kB / 2.924 GB, free: 225.8 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.005047/8.213, allocations: 1.075 MB / 2.925 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.726e-05/8.213, allocations: 12.03 kB / 2.925 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006366/8.213, allocations: 140.2 kB / 2.925 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/8.217, allocations: 266.4 kB / 2.926 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/8.219, allocations: 0.6279 MB / 2.926 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/8.219, allocations: 66.5 kB / 2.926 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/8.219, allocations: 81.38 kB / 2.926 GB, free: 223.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/8.222, allocations: 0.9016 MB / 2.927 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/8.222, allocations: 0 / 2.927 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/8.222, allocations: 45 kB / 2.927 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/8.222, allocations: 23.94 kB / 2.927 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/8.225, allocations: 1.064 MB / 2.928 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007099/8.232, allocations: 2.583 MB / 2.931 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/8.235, allocations: 0.7799 MB / 2.932 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/8.236, allocations: 268.3 kB / 2.932 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/8.236, allocations: 36.56 kB / 2.932 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/8.237, allocations: 421.9 kB / 2.932 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 4.789e-06/8.237, allocations: 0 / 2.932 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.002824/8.24, allocations: 0.7092 MB / 2.933 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/8.24, allocations: 244.1 kB / 2.933 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/8.242, allocations: 0.5712 MB / 2.934 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/8.242, allocations: 38.39 kB / 2.934 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/8.242, allocations: 401.7 kB / 2.934 GB, free: 217.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/8.243, allocations: 238.3 kB / 2.935 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.667e-05/8.243, allocations: 14.5 kB / 2.935 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001883/8.243, allocations: 379.5 kB / 2.935 GB, free: 217 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/8.244, allocations: 210.8 kB / 2.935 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/8.244, allocations: 318 kB / 2.935 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/8.245, allocations: 256.7 kB / 2.936 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/8.245, allocations: 0 / 2.936 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002642/8.248, allocations: 0.7193 MB / 2.936 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/8.248, allocations: 4 kB / 2.936 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/8.248, allocations: 3.938 kB / 2.936 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/8.249, allocations: 87.89 kB / 2.936 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/8.25, allocations: 155.7 kB / 2.937 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/8.253, allocations: 1.502 MB / 2.938 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/8.254, allocations: 93.78 kB / 2.938 GB, free: 214 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/8.254, allocations: 34.98 kB / 2.938 GB, free: 214 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 (76): * Single equations (assignments): 75 * 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.000291/8.255, allocations: 143.1 kB / 2.938 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/8.255, allocations: 79.06 kB / 2.938 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/8.259, allocations: 1.008 MB / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/8.259, allocations: 12 kB / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/8.259, allocations: 0 / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/8.259, allocations: 7.969 kB / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/8.261, allocations: 0.8958 MB / 2.94 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/8.261, allocations: 0 / 2.94 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/8.262, allocations: 160.4 kB / 2.94 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009225/8.263, allocations: 88.09 kB / 2.94 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/8.264, allocations: 24.11 kB / 2.941 GB, free: 212 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/8.266, allocations: 1.533 MB / 2.942 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/8.266, allocations: 0 / 2.942 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/8.269, allocations: 0.8258 MB / 2.943 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008369/8.27, allocations: 280.8 kB / 2.943 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/8.27, allocations: 24.42 kB / 2.943 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/8.272, allocations: 84.38 kB / 2.943 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/8.272, allocations: 64.88 kB / 2.943 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/8.272, allocations: 28.61 kB / 2.943 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008725/8.273, allocations: 475.8 kB / 2.944 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/8.273, allocations: 0 / 2.944 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001632/8.274, allocations: 343.2 kB / 2.944 GB, free: 208.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.conTimMin.tNext,weaDat.conTim.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.005174/8.28, allocations: 2.289 MB / 2.946 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00222/8.282, allocations: 0.6846 MB / 2.947 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/8.282, allocations: 8.125 kB / 2.947 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/8.283, allocations: 468.6 kB / 2.947 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/8.285, allocations: 243.3 kB / 2.948 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/8.292, allocations: 1.586 MB / 2.949 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/8.292, allocations: 1.035 MB / 2.95 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001628/8.294, allocations: 266 kB / 2.95 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/8.295, allocations: 375.3 kB / 2.951 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/8.295, allocations: 0 / 2.951 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08233/8.377, allocations: 31.09 MB / 2.981 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/8.377, allocations: 264.2 kB / 2.981 GB, free: 171 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_BaseClasses_Examples_SkyBrightness.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_BaseClasses_Examples_SkyBrightness_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1