Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.854/2.854, allocations: 288.1 MB / 300.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.544e-05, allocations: 3.531 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 67 MB / 437.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.714/6.862, allocations: 2.156 GB / 2.584 GB, free: 145.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/6.862, allocations: 81.81 kB / 2.584 GB, free: 145.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2441/7.106, allocations: 56.57 MB / 2.639 GB, free: 107.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/7.106, allocations: 0 / 2.639 GB, free: 107.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.595e-05/7.107, allocations: 31.94 kB / 2.639 GB, free: 107.2 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002376/7.109, allocations: 1.053 MB / 2.64 GB, free: 106.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/7.109, allocations: 8.031 kB / 2.64 GB, free: 106.1 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/7.109, allocations: 130.9 kB / 2.64 GB, free: 106 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/7.111, allocations: 242.4 kB / 2.641 GB, free: 105.8 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/7.113, allocations: 0.6092 MB / 2.641 GB, free: 105.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/7.113, allocations: 68.52 kB / 2.641 GB, free: 105.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/7.113, allocations: 78.56 kB / 2.641 GB, free: 105.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/7.115, allocations: 0.8512 MB / 2.642 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/7.115, allocations: 4 kB / 2.642 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/7.115, allocations: 32.88 kB / 2.642 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/7.115, allocations: 20 kB / 2.642 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/7.118, allocations: 1.032 MB / 2.643 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/7.123, allocations: 2.68 MB / 2.646 GB, free: 101.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/7.125, allocations: 0.789 MB / 2.647 GB, free: 100.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/7.126, allocations: 261.3 kB / 2.647 GB, free: 100.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/7.126, allocations: 36.42 kB / 2.647 GB, free: 100.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008793/7.127, allocations: 407.3 kB / 2.647 GB, free: 100.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=74): time 3.477e-06/7.127, allocations: 7.938 kB / 2.647 GB, free: 100.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=74): time 0.002505/7.13, allocations: 0.6808 MB / 2.648 GB, free: 99.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/7.13, allocations: 248.1 kB / 2.648 GB, free: 99.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.131, allocations: 0.5659 MB / 2.649 GB, free: 98.79 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/7.131, allocations: 45.64 kB / 2.649 GB, free: 98.74 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/7.131, allocations: 380.2 kB / 2.649 GB, free: 98.36 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/7.132, allocations: 252.4 kB / 2.649 GB, free: 98.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/7.132, allocations: 8 kB / 2.649 GB, free: 98.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001193/7.132, allocations: 378.8 kB / 2.65 GB, free: 97.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/7.132, allocations: 201.5 kB / 2.65 GB, free: 97.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006269/7.133, allocations: 326.1 kB / 2.65 GB, free: 97.17 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/7.134, allocations: 258 kB / 2.65 GB, free: 96.92 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/7.134, allocations: 0 / 2.65 GB, free: 96.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002414/7.136, allocations: 0.7032 MB / 2.651 GB, free: 96.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/7.136, allocations: 4 kB / 2.651 GB, free: 96.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/7.136, allocations: 4 kB / 2.651 GB, free: 96.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/7.137, allocations: 88.83 kB / 2.651 GB, free: 96.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/7.138, allocations: 143.8 kB / 2.651 GB, free: 95.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/7.141, allocations: 1.521 MB / 2.653 GB, free: 94.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/7.142, allocations: 79.38 kB / 2.653 GB, free: 94.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/7.142, allocations: 31.98 kB / 2.653 GB, free: 94.2 MB / 0.573 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.0002687/7.143, allocations: 145.7 kB / 2.653 GB, free: 94.05 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/7.143, allocations: 79.05 kB / 2.653 GB, free: 93.97 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/7.146, allocations: 0.9542 MB / 2.654 GB, free: 93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/7.146, allocations: 8 kB / 2.654 GB, free: 92.99 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/7.146, allocations: 4 kB / 2.654 GB, free: 92.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/7.146, allocations: 3.984 kB / 2.654 GB, free: 92.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/7.151, allocations: 1.921 MB / 2.656 GB, free: 90.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/7.151, allocations: 4 kB / 2.656 GB, free: 90.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/7.152, allocations: 151.8 kB / 2.656 GB, free: 90.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008152/7.153, allocations: 80.78 kB / 2.656 GB, free: 90.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/7.153, allocations: 19.98 kB / 2.656 GB, free: 90.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/7.155, allocations: 1.552 MB / 2.658 GB, free: 89.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/7.155, allocations: 0 / 2.658 GB, free: 89.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/7.158, allocations: 0.8689 MB / 2.659 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/7.158, allocations: 283.7 kB / 2.659 GB, free: 87.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/7.159, allocations: 16 kB / 2.659 GB, free: 87.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/7.16, allocations: 71.94 kB / 2.659 GB, free: 87.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/7.16, allocations: 56.7 kB / 2.659 GB, free: 87.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.941e-05/7.16, allocations: 35.97 kB / 2.659 GB, free: 87.68 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008596/7.161, allocations: 463.2 kB / 2.659 GB, free: 87.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.81e-07/7.161, allocations: 4 kB / 2.659 GB, free: 87.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001625/7.163, allocations: 331.2 kB / 2.66 GB, free: 86.91 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.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.004922/7.168, allocations: 2.341 MB / 2.662 GB, free: 84.67 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001984/7.17, allocations: 0.6788 MB / 2.663 GB, free: 83.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/7.17, allocations: 3.938 kB / 2.663 GB, free: 83.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/7.171, allocations: 460.5 kB / 2.663 GB, free: 83.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/7.173, allocations: 243.4 kB / 2.663 GB, free: 83.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/7.179, allocations: 1.534 MB / 2.665 GB, free: 81.71 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/7.18, allocations: 1.023 MB / 2.666 GB, free: 80.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001402/7.181, allocations: 258.1 kB / 2.666 GB, free: 80.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/7.182, allocations: 351.3 kB / 2.667 GB, free: 80.06 MB / 0.573 GB Notification: Performance of SimCode: time 1.313e-06/7.182, allocations: 0 / 2.667 GB, free: 80.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/7.294, allocations: 30.92 MB / 2.697 GB, free: 49.35 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/7.295, allocations: 229.8 kB / 2.697 GB, free: 49.04 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_SkyTemperature_Examples_BlackBody.o IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_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_SkyTemperature_Examples_BlackBody_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody_functions.o] Error 1