Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.6/4.6, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.27e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2402, allocations: 106.2 MB / 0.6719 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.305, allocations: 2.189 GB / 2.861 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/7.305, allocations: 85.86 kB / 2.861 GB, free: 261.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2073/7.513, allocations: 56.57 MB / 2.917 GB, free: 233 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.497e-06/7.513, allocations: 0 / 2.917 GB, free: 233 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001028/7.513, allocations: 27.94 kB / 2.917 GB, free: 233 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.002881/7.516, allocations: 1.054 MB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/7.516, allocations: 12.03 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003298/7.516, allocations: 131.1 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/7.518, allocations: 234.5 kB / 2.918 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/7.52, allocations: 0.6111 MB / 2.919 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-05/7.52, allocations: 59.81 kB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/7.521, allocations: 81.5 kB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/7.523, allocations: 0.8468 MB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/7.523, allocations: 7.953 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/7.523, allocations: 34.25 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/7.523, allocations: 23.94 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/7.526, allocations: 1.034 MB / 2.921 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/7.532, allocations: 2.693 MB / 2.923 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/7.534, allocations: 0.7942 MB / 2.924 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/7.534, allocations: 266.4 kB / 2.924 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/7.534, allocations: 31.81 kB / 2.924 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008476/7.535, allocations: 408.7 kB / 2.925 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.336e-06/7.535, allocations: 0 / 2.925 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.002484/7.538, allocations: 0.6911 MB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/7.538, allocations: 244.1 kB / 2.926 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/7.539, allocations: 0.5622 MB / 2.926 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/7.539, allocations: 40.77 kB / 2.926 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/7.539, allocations: 389.3 kB / 2.927 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/7.54, allocations: 244 kB / 2.927 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/7.54, allocations: 10.75 kB / 2.927 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001219/7.54, allocations: 378.9 kB / 2.927 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/7.54, allocations: 204.8 kB / 2.927 GB, free: 223.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/7.541, allocations: 321.3 kB / 2.928 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/7.542, allocations: 258.8 kB / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/7.542, allocations: 0 / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002433/7.544, allocations: 0.7078 MB / 2.929 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/7.544, allocations: 4.156 kB / 2.929 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.544, allocations: 8.078 kB / 2.929 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009763/7.545, allocations: 85.83 kB / 2.929 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/7.546, allocations: 138.9 kB / 2.929 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/7.549, allocations: 1.517 MB / 2.93 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/7.55, allocations: 87.73 kB / 2.93 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/7.55, allocations: 31.17 kB / 2.93 GB, free: 221.1 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.0002344/7.55, allocations: 150.7 kB / 2.931 GB, free: 221 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/7.55, allocations: 79.05 kB / 2.931 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003171/7.554, allocations: 0.9578 MB / 2.932 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/7.554, allocations: 8 kB / 2.932 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/7.554, allocations: 0 / 2.932 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/7.554, allocations: 7.969 kB / 2.932 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/7.558, allocations: 1.915 MB / 2.934 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/7.558, allocations: 3.938 kB / 2.934 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/7.559, allocations: 147.5 kB / 2.934 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008186/7.56, allocations: 84.02 kB / 2.934 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/7.56, allocations: 23.17 kB / 2.934 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/7.562, allocations: 1.541 MB / 2.935 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/7.562, allocations: 4.062 kB / 2.935 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/7.565, allocations: 0.8763 MB / 2.936 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/7.565, allocations: 274.3 kB / 2.936 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/7.566, allocations: 21.77 kB / 2.936 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/7.567, allocations: 70.88 kB / 2.936 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/7.567, allocations: 59.69 kB / 2.937 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/7.567, allocations: 27.86 kB / 2.937 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007989/7.568, allocations: 470 kB / 2.937 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.583e-06/7.568, allocations: 0 / 2.937 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001352/7.569, allocations: 340 kB / 2.937 GB, free: 215.2 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.004804/7.574, allocations: 2.334 MB / 2.94 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001874/7.576, allocations: 0.6744 MB / 2.94 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/7.576, allocations: 4 kB / 2.94 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/7.577, allocations: 464.6 kB / 2.941 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/7.579, allocations: 248.5 kB / 2.941 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/7.584, allocations: 1.531 MB / 2.942 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/7.585, allocations: 1.02 MB / 2.943 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001308/7.586, allocations: 266.1 kB / 2.944 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/7.587, allocations: 351.3 kB / 2.944 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of SimCode: time 8.61e-07/7.587, allocations: 0 / 2.944 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/7.666, allocations: 30.92 MB / 2.974 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/7.666, allocations: 241.2 kB / 2.974 GB, free: 178.1 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_SkyTemperature_Examples_BlackBody.o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o] Error 1