Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.39/4.39, allocations: 460.4 MB / 472.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.453e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2796, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.617/7.897, allocations: 2.19 GB / 2.862 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/7.897, allocations: 94.31 kB / 2.862 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2488/8.146, allocations: 66.22 MB / 2.927 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.246e-06/8.146, allocations: 3.938 kB / 2.927 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001015/8.146, allocations: 27.94 kB / 2.927 GB, free: 130.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002776/8.149, allocations: 1.084 MB / 2.928 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/8.149, allocations: 8.031 kB / 2.928 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/8.149, allocations: 138.6 kB / 2.928 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/8.151, allocations: 214.4 kB / 2.928 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/8.153, allocations: 0.6287 MB / 2.929 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/8.153, allocations: 60.25 kB / 2.929 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/8.153, allocations: 89.19 kB / 2.929 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/8.156, allocations: 0.8839 MB / 2.93 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/8.156, allocations: 0 / 2.93 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/8.156, allocations: 39.94 kB / 2.93 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/8.156, allocations: 24 kB / 2.93 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/8.158, allocations: 1.05 MB / 2.931 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/8.165, allocations: 2.562 MB / 2.934 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/8.167, allocations: 0.6899 MB / 2.934 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/8.167, allocations: 263.2 kB / 2.935 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000897/8.168, allocations: 470.3 kB / 2.935 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/8.169, allocations: 415.9 kB / 2.935 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/8.169, allocations: 4 kB / 2.935 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002662/8.172, allocations: 0.6992 MB / 2.936 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/8.172, allocations: 240.1 kB / 2.936 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/8.173, allocations: 0.5777 MB / 2.937 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/8.174, allocations: 41.7 kB / 2.937 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/8.174, allocations: 396.1 kB / 2.937 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/8.174, allocations: 236.5 kB / 2.938 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/8.174, allocations: 12 kB / 2.938 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001711/8.175, allocations: 382.8 kB / 2.938 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/8.175, allocations: 201.5 kB / 2.938 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/8.176, allocations: 315.5 kB / 2.938 GB, free: 119 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/8.177, allocations: 246 kB / 2.939 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/8.177, allocations: 0 / 2.939 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00255/8.179, allocations: 0.6954 MB / 2.939 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/8.179, allocations: 4 kB / 2.939 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/8.179, allocations: 4 kB / 2.939 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009576/8.18, allocations: 88.72 kB / 2.939 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/8.182, allocations: 139.8 kB / 2.94 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/8.184, allocations: 1.516 MB / 2.941 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/8.185, allocations: 79.47 kB / 2.941 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/8.186, allocations: 23.98 kB / 2.941 GB, free: 116.1 MB / 0.8698 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.0002697/8.186, allocations: 148.8 kB / 2.941 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/8.186, allocations: 75.06 kB / 2.941 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/8.19, allocations: 0.9769 MB / 2.942 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/8.19, allocations: 15.94 kB / 2.942 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/8.19, allocations: 7.953 kB / 2.942 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/8.19, allocations: 3.984 kB / 2.942 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/8.191, allocations: 0.8881 MB / 2.943 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/8.191, allocations: 0 / 2.943 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/8.193, allocations: 143.8 kB / 2.943 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008433/8.193, allocations: 80.78 kB / 2.943 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/8.194, allocations: 23.98 kB / 2.943 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002374/8.196, allocations: 1.548 MB / 2.945 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/8.196, allocations: 0 / 2.945 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/8.199, allocations: 0.8051 MB / 2.946 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/8.2, allocations: 287.7 kB / 2.946 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/8.2, allocations: 16 kB / 2.946 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/8.201, allocations: 67.95 kB / 2.946 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/8.201, allocations: 60.69 kB / 2.946 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/8.201, allocations: 27.98 kB / 2.946 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008981/8.202, allocations: 479.1 kB / 2.947 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.41e-07/8.202, allocations: 4 kB / 2.947 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001665/8.204, allocations: 363 kB / 2.947 GB, free: 109.8 MB / 0.8698 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 (84): * Single equations (assignments): 81 * 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.005384/8.209, allocations: 2.293 MB / 2.949 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002198/8.211, allocations: 0.6786 MB / 2.95 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/8.211, allocations: 0 / 2.95 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/8.213, allocations: 456.6 kB / 2.95 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/8.214, allocations: 243.9 kB / 2.951 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/8.221, allocations: 1.58 MB / 2.952 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/8.221, allocations: 1.039 MB / 2.953 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00154/8.223, allocations: 262 kB / 2.953 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000767/8.224, allocations: 371.3 kB / 2.954 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/8.224, allocations: 4 kB / 2.954 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08979/8.314, allocations: 31.11 MB / 2.984 GB, free: 72.08 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003259/8.314, allocations: 262.6 kB / 2.984 GB, free: 71.74 MB / 0.8698 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_SkyClearness.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.o] Error 1