Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.95/2.95, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.944e-05, allocations: 3.625 kB / 370.7 MB, free: 7.828 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 66.99 MB / 437.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.025/7.18, allocations: 2.157 GB / 2.585 GB, free: 143.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/7.18, allocations: 92 kB / 2.585 GB, free: 143.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3216/7.502, allocations: 66.23 MB / 2.65 GB, free: 93.24 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.214e-06/7.502, allocations: 0 / 2.65 GB, free: 93.24 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.117e-05/7.502, allocations: 27.94 kB / 2.65 GB, free: 93.21 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002421/7.505, allocations: 1.085 MB / 2.651 GB, free: 92.15 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/7.505, allocations: 8.031 kB / 2.651 GB, free: 92.14 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002279/7.505, allocations: 142.1 kB / 2.651 GB, free: 92.05 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/7.507, allocations: 210.5 kB / 2.651 GB, free: 91.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/7.508, allocations: 0.6227 MB / 2.652 GB, free: 91.29 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/7.508, allocations: 69.62 kB / 2.652 GB, free: 91.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/7.508, allocations: 85.44 kB / 2.652 GB, free: 91.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/7.511, allocations: 0.8838 MB / 2.653 GB, free: 90.55 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/7.511, allocations: 4 kB / 2.653 GB, free: 90.54 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/7.511, allocations: 34.25 kB / 2.653 GB, free: 90.54 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/7.511, allocations: 24 kB / 2.653 GB, free: 90.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/7.513, allocations: 1.054 MB / 2.654 GB, free: 89.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005888/7.519, allocations: 2.543 MB / 2.656 GB, free: 87.46 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/7.521, allocations: 0.685 MB / 2.657 GB, free: 86.77 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/7.521, allocations: 267.1 kB / 2.657 GB, free: 86.51 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/7.522, allocations: 478.3 kB / 2.658 GB, free: 85.95 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/7.523, allocations: 407.8 kB / 2.658 GB, free: 85.54 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 4.208e-06/7.523, allocations: 4 kB / 2.658 GB, free: 85.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.002581/7.526, allocations: 0.6965 MB / 2.659 GB, free: 84.82 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/7.526, allocations: 244.1 kB / 2.659 GB, free: 84.53 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/7.527, allocations: 0.5699 MB / 2.659 GB, free: 83.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/7.527, allocations: 45.69 kB / 2.659 GB, free: 83.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/7.528, allocations: 400.1 kB / 2.66 GB, free: 83.51 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/7.528, allocations: 240.5 kB / 2.66 GB, free: 83.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/7.528, allocations: 16 kB / 2.66 GB, free: 83.26 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001278/7.528, allocations: 382.7 kB / 2.66 GB, free: 82.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/7.529, allocations: 201.5 kB / 2.661 GB, free: 82.68 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/7.529, allocations: 311.5 kB / 2.661 GB, free: 82.34 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/7.53, allocations: 250 kB / 2.661 GB, free: 82.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/7.53, allocations: 0 / 2.661 GB, free: 82.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002478/7.532, allocations: 0.6915 MB / 2.662 GB, free: 81.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/7.532, allocations: 4 kB / 2.662 GB, free: 81.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/7.532, allocations: 0 / 2.662 GB, free: 81.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/7.533, allocations: 84.83 kB / 2.662 GB, free: 81.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/7.535, allocations: 143.8 kB / 2.662 GB, free: 81.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/7.537, allocations: 1.52 MB / 2.664 GB, free: 79.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/7.538, allocations: 83.48 kB / 2.664 GB, free: 79.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/7.538, allocations: 31.98 kB / 2.664 GB, free: 79.39 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 (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.0002504/7.539, allocations: 138 kB / 2.664 GB, free: 79.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/7.539, allocations: 79.06 kB / 2.664 GB, free: 79.17 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/7.542, allocations: 0.9808 MB / 2.665 GB, free: 78.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/7.542, allocations: 8 kB / 2.665 GB, free: 78.17 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/7.542, allocations: 0 / 2.665 GB, free: 78.17 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/7.542, allocations: 3.984 kB / 2.665 GB, free: 78.16 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/7.544, allocations: 0.8915 MB / 2.666 GB, free: 77.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/7.544, allocations: 11.95 kB / 2.666 GB, free: 77.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/7.545, allocations: 143.8 kB / 2.666 GB, free: 77.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/7.546, allocations: 84.77 kB / 2.666 GB, free: 76.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/7.546, allocations: 23.98 kB / 2.666 GB, free: 76.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/7.548, allocations: 1.532 MB / 2.667 GB, free: 75.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/7.548, allocations: 8.094 kB / 2.667 GB, free: 75.28 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/7.551, allocations: 0.8088 MB / 2.668 GB, free: 74.45 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/7.551, allocations: 275.8 kB / 2.668 GB, free: 74.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/7.552, allocations: 16 kB / 2.669 GB, free: 74.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/7.553, allocations: 71.94 kB / 2.669 GB, free: 74.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/7.553, allocations: 64.62 kB / 2.669 GB, free: 74.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/7.553, allocations: 27.98 kB / 2.669 GB, free: 73.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008251/7.554, allocations: 483.1 kB / 2.669 GB, free: 73.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/7.554, allocations: 0 / 2.669 GB, free: 73.51 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001388/7.555, allocations: 363 kB / 2.669 GB, free: 73.16 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 (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.004937/7.56, allocations: 2.289 MB / 2.672 GB, free: 70.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002/7.562, allocations: 0.6823 MB / 2.672 GB, free: 70.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/7.562, allocations: 4.125 kB / 2.672 GB, free: 70.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/7.563, allocations: 456.6 kB / 2.673 GB, free: 69.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/7.565, allocations: 250.4 kB / 2.673 GB, free: 69.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/7.571, allocations: 1.582 MB / 2.675 GB, free: 67.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/7.572, allocations: 1.027 MB / 2.676 GB, free: 66.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001408/7.573, allocations: 262.1 kB / 2.676 GB, free: 66.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/7.574, allocations: 379.3 kB / 2.676 GB, free: 66.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/7.574, allocations: 0 / 2.676 GB, free: 66.27 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/7.68, allocations: 31.07 MB / 2.707 GB, free: 35.42 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/7.68, allocations: 244.2 kB / 2.707 GB, free: 35.09 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_SkyClearness.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_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_SkyClearness_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_functions.o] Error 1