Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.25/4.25, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.484e-05, allocations: 4 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2442, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.257/7.501, allocations: 2.19 GB / 2.868 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/7.501, allocations: 82.11 kB / 2.868 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2077/7.709, allocations: 56.57 MB / 2.923 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.994e-06/7.709, allocations: 0 / 2.923 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.494e-05/7.709, allocations: 19.94 kB / 2.923 GB, free: 213.4 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002387/7.711, allocations: 1.058 MB / 2.924 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/7.711, allocations: 8.031 kB / 2.924 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/7.712, allocations: 129 kB / 2.924 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/7.714, allocations: 246.2 kB / 2.924 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/7.715, allocations: 0.6128 MB / 2.925 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/7.715, allocations: 59.19 kB / 2.925 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/7.715, allocations: 82.31 kB / 2.925 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/7.717, allocations: 0.854 MB / 2.926 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/7.717, allocations: 0 / 2.926 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/7.718, allocations: 33.81 kB / 2.926 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/7.718, allocations: 27.94 kB / 2.926 GB, free: 210.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/7.72, allocations: 1.034 MB / 2.927 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005909/7.726, allocations: 2.677 MB / 2.93 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/7.728, allocations: 0.7877 MB / 2.93 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/7.728, allocations: 263.9 kB / 2.931 GB, free: 207 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/7.729, allocations: 36.69 kB / 2.931 GB, free: 207 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/7.729, allocations: 410.7 kB / 2.931 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 4.85e-06/7.729, allocations: 3.984 kB / 2.931 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.002529/7.732, allocations: 0.6942 MB / 2.932 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/7.732, allocations: 242.7 kB / 2.932 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/7.733, allocations: 0.5668 MB / 2.933 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/7.733, allocations: 39.89 kB / 2.933 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/7.734, allocations: 379.4 kB / 2.933 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/7.734, allocations: 246.7 kB / 2.933 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/7.734, allocations: 13.19 kB / 2.933 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000122/7.734, allocations: 387.4 kB / 2.934 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/7.735, allocations: 197.5 kB / 2.934 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/7.736, allocations: 325.1 kB / 2.934 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/7.736, allocations: 248.9 kB / 2.934 GB, free: 204 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/7.736, allocations: 4 kB / 2.934 GB, free: 204 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002645/7.739, allocations: 0.7049 MB / 2.935 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/7.739, allocations: 7.984 kB / 2.935 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/7.739, allocations: 4 kB / 2.935 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/7.74, allocations: 80.62 kB / 2.935 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/7.741, allocations: 147.3 kB / 2.935 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/7.744, allocations: 1.517 MB / 2.937 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/7.746, allocations: 89.8 kB / 2.937 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/7.746, allocations: 27.73 kB / 2.937 GB, free: 201.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * 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.0002984/7.746, allocations: 146.8 kB / 2.937 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/7.746, allocations: 75.06 kB / 2.937 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/7.75, allocations: 0.9636 MB / 2.938 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/7.75, allocations: 8 kB / 2.938 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/7.75, allocations: 0 / 2.938 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/7.75, allocations: 11.94 kB / 2.938 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/7.756, allocations: 1.915 MB / 2.94 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/7.756, allocations: 0 / 2.94 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/7.757, allocations: 147.7 kB / 2.94 GB, free: 199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008412/7.758, allocations: 80.58 kB / 2.94 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.916e-05/7.758, allocations: 27.67 kB / 2.94 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002306/7.76, allocations: 1.539 MB / 2.942 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/7.76, allocations: 0 / 2.942 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/7.763, allocations: 0.8727 MB / 2.942 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/7.764, allocations: 275.8 kB / 2.943 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/7.764, allocations: 20 kB / 2.943 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/7.765, allocations: 63.95 kB / 2.943 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/7.765, allocations: 64.69 kB / 2.943 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/7.765, allocations: 35.88 kB / 2.943 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008315/7.766, allocations: 475.1 kB / 2.943 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/7.766, allocations: 0 / 2.943 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001527/7.768, allocations: 331.2 kB / 2.944 GB, free: 195.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 (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.004914/7.773, allocations: 2.337 MB / 2.946 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001994/7.775, allocations: 0.6707 MB / 2.947 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.775, allocations: 3.938 kB / 2.947 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/7.776, allocations: 468.8 kB / 2.947 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/7.778, allocations: 256.6 kB / 2.947 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/7.784, allocations: 1.525 MB / 2.949 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/7.784, allocations: 1.027 MB / 2.95 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001383/7.786, allocations: 262.2 kB / 2.95 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/7.786, allocations: 355.3 kB / 2.95 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/7.787, allocations: 0 / 2.95 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/7.888, allocations: 30.92 MB / 2.981 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/7.888, allocations: 249.3 kB / 2.981 GB, free: 157.2 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.o Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 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 'Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o] Error 1