Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.964/2.964, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.46e-05, allocations: 7.312 kB / 370.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 67 MB / 437.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.896/7.049, allocations: 2.157 GB / 2.585 GB, free: 144.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/7.049, allocations: 89.47 kB / 2.585 GB, free: 144.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.241/7.29, allocations: 63.42 MB / 2.647 GB, free: 100.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.364e-06/7.29, allocations: 0 / 2.647 GB, free: 100.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.092e-05/7.291, allocations: 23.94 kB / 2.647 GB, free: 100.1 MB / 0.573 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.002408/7.293, allocations: 1.093 MB / 2.648 GB, free: 98.98 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/7.293, allocations: 8.031 kB / 2.648 GB, free: 98.98 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/7.293, allocations: 137.6 kB / 2.648 GB, free: 98.89 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/7.296, allocations: 266.5 kB / 2.648 GB, free: 98.62 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/7.297, allocations: 0.6307 MB / 2.649 GB, free: 98.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/7.297, allocations: 65.81 kB / 2.649 GB, free: 98.04 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/7.297, allocations: 84.31 kB / 2.649 GB, free: 97.98 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/7.3, allocations: 0.8916 MB / 2.65 GB, free: 97.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/7.3, allocations: 3.938 kB / 2.65 GB, free: 97.32 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/7.3, allocations: 42.61 kB / 2.65 GB, free: 97.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/7.3, allocations: 20 kB / 2.65 GB, free: 97.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/7.302, allocations: 1.063 MB / 2.651 GB, free: 96.46 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007203/7.31, allocations: 2.585 MB / 2.653 GB, free: 94.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/7.314, allocations: 0.765 MB / 2.654 GB, free: 93.44 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008985/7.314, allocations: 279.1 kB / 2.654 GB, free: 93.17 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/7.315, allocations: 24.73 kB / 2.654 GB, free: 93.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/7.316, allocations: 435.7 kB / 2.655 GB, free: 92.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=74): time 5.089e-06/7.316, allocations: 0 / 2.655 GB, free: 92.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=74): time 0.004001/7.32, allocations: 0.7122 MB / 2.656 GB, free: 91.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/7.32, allocations: 244 kB / 2.656 GB, free: 91.68 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/7.322, allocations: 0.5775 MB / 2.656 GB, free: 91.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/7.322, allocations: 37.7 kB / 2.656 GB, free: 91.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/7.323, allocations: 396.2 kB / 2.657 GB, free: 90.67 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/7.323, allocations: 244.4 kB / 2.657 GB, free: 90.43 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/7.323, allocations: 8 kB / 2.657 GB, free: 90.42 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001771/7.323, allocations: 378.8 kB / 2.657 GB, free: 90.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/7.324, allocations: 213.5 kB / 2.658 GB, free: 89.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/7.325, allocations: 315.5 kB / 2.658 GB, free: 89.49 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/7.326, allocations: 261.9 kB / 2.658 GB, free: 89.24 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/7.326, allocations: 0 / 2.658 GB, free: 89.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003577/7.33, allocations: 0.7032 MB / 2.659 GB, free: 88.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/7.33, allocations: 7.984 kB / 2.659 GB, free: 88.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/7.33, allocations: 8.062 kB / 2.659 GB, free: 88.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/7.331, allocations: 84.73 kB / 2.659 GB, free: 88.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/7.333, allocations: 155.8 kB / 2.659 GB, free: 88.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/7.337, allocations: 1.516 MB / 2.661 GB, free: 86.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/7.339, allocations: 87.45 kB / 2.661 GB, free: 86.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/7.339, allocations: 31.97 kB / 2.661 GB, free: 86.49 MB / 0.573 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.0003645/7.339, allocations: 146.1 kB / 2.661 GB, free: 86.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/7.34, allocations: 75.06 kB / 2.661 GB, free: 86.27 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/7.345, allocations: 1.005 MB / 2.662 GB, free: 85.25 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/7.345, allocations: 12 kB / 2.662 GB, free: 85.24 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/7.345, allocations: 0 / 2.662 GB, free: 85.24 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/7.345, allocations: 3.984 kB / 2.662 GB, free: 85.24 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/7.347, allocations: 0.8997 MB / 2.663 GB, free: 84.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/7.347, allocations: 4 kB / 2.663 GB, free: 84.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/7.349, allocations: 155.8 kB / 2.663 GB, free: 84.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/7.35, allocations: 84.78 kB / 2.663 GB, free: 84.04 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/7.35, allocations: 27.97 kB / 2.663 GB, free: 84.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/7.353, allocations: 1.548 MB / 2.664 GB, free: 82.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/7.353, allocations: 0 / 2.664 GB, free: 82.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/7.357, allocations: 0.8246 MB / 2.665 GB, free: 81.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/7.358, allocations: 279.7 kB / 2.666 GB, free: 81.19 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/7.358, allocations: 20 kB / 2.666 GB, free: 81.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/7.359, allocations: 79.92 kB / 2.666 GB, free: 81.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/7.36, allocations: 60.7 kB / 2.666 GB, free: 81.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/7.36, allocations: 39.92 kB / 2.666 GB, free: 80.99 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001137/7.361, allocations: 471.2 kB / 2.666 GB, free: 80.54 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.12e-07/7.361, allocations: 0 / 2.666 GB, free: 80.54 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001893/7.363, allocations: 347.1 kB / 2.667 GB, free: 80.2 MB / 0.573 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.006872/7.37, allocations: 2.289 MB / 2.669 GB, free: 78.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002719/7.373, allocations: 0.6902 MB / 2.669 GB, free: 77.31 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/7.373, allocations: 7.938 kB / 2.669 GB, free: 77.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/7.374, allocations: 464.6 kB / 2.67 GB, free: 76.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/7.376, allocations: 235.2 kB / 2.67 GB, free: 76.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/7.384, allocations: 1.578 MB / 2.672 GB, free: 74.99 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/7.385, allocations: 1.039 MB / 2.673 GB, free: 73.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001511/7.387, allocations: 270 kB / 2.673 GB, free: 73.66 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/7.387, allocations: 371.3 kB / 2.673 GB, free: 73.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/7.387, allocations: 0 / 2.673 GB, free: 73.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/7.499, allocations: 31.05 MB / 2.704 GB, free: 42.48 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/7.499, allocations: 257.3 kB / 2.704 GB, free: 42.14 MB / 0.573 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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA 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 'IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1