Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.551e-05, allocations: 4 kB / 0.4992 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6073, allocations: 92.69 MB / 0.5897 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.8347, allocations: 120.6 MB / 0.7075 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.8351, allocations: 95.92 kB / 0.7076 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.8535, allocations: 4.086 MB / 0.7116 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8536, allocations: 0 / 0.7116 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8536, allocations: 0 / 0.7116 GB, free: 1.52 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003287/0.8539, allocations: 353.6 kB / 0.7119 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.854, allocations: 8.031 kB / 0.7119 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.8541, allocations: 38.5 kB / 0.7119 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.8541, allocations: 7.953 kB / 0.712 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8543, allocations: 163.1 kB / 0.7121 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.8543, allocations: 0 / 0.7121 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.8543, allocations: 4 kB / 0.7121 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.8545, allocations: 54.23 kB / 0.7122 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8545, allocations: 4 kB / 0.7122 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.8545, allocations: 0 / 0.7122 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8545, allocations: 4 kB / 0.7122 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.86e-05/0.8546, allocations: 23.89 kB / 0.7122 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.8548, allocations: 149.7 kB / 0.7123 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.8549, allocations: 30.55 kB / 0.7124 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.855, allocations: 16.92 kB / 0.7124 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.855, allocations: 0 / 0.7124 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.855, allocations: 38.56 kB / 0.7124 GB, free: 480 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.855, allocations: 0 / 0.7124 GB, free: 480 kB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002593/0.8553, allocations: 91.36 kB / 0.7125 GB, free: 376 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.8554, allocations: 81.11 kB / 0.7126 GB, free: 276 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.8555, allocations: 89 kB / 0.7127 GB, free: 180 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.8555, allocations: 29.7 kB / 0.7127 GB, free: 144 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.8555, allocations: 80.14 kB / 0.7128 GB, free: 60 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.8556, allocations: 7.906 kB / 0.7128 GB, free: 52 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.8556, allocations: 4.156 kB / 0.7128 GB, free: 48 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8558, allocations: 318.8 kB / 0.7131 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.8558, allocations: 15.94 kB / 0.7131 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.8559, allocations: 8 kB / 0.7131 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.856, allocations: 41.69 kB / 0.7132 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.856, allocations: 0 / 0.7132 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002318/0.8562, allocations: 87.39 kB / 0.7132 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.8563, allocations: 35.11 kB / 0.7133 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8563, allocations: 96 / 0.7133 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8563, allocations: 4 kB / 0.7133 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.8563, allocations: 3.938 kB / 0.7133 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.8563, allocations: 0 / 0.7133 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.8565, allocations: 7.984 kB / 0.7133 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.8566, allocations: 8 kB / 0.7133 GB, free: 15.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.8567, allocations: 138.2 kB / 0.7134 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.8567, allocations: 4 kB / 0.7134 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.8568, allocations: 7.109 kB / 0.7134 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8568, allocations: 4 kB / 0.7134 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8568, allocations: 4 kB / 0.7134 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8568, allocations: 0 / 0.7134 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.8569, allocations: 157.6 kB / 0.7136 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8569, allocations: 0 / 0.7136 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/0.857, allocations: 0 / 0.7136 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.857, allocations: 3.938 kB / 0.7136 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.857, allocations: 11.94 kB / 0.7136 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.857, allocations: 0 / 0.7136 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.857, allocations: 0 / 0.7136 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.8573, allocations: 123.3 kB / 0.7137 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.8573, allocations: 77.11 kB / 0.7138 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.8574, allocations: 4 kB / 0.7138 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.8575, allocations: 7.984 kB / 0.7138 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.8576, allocations: 4 kB / 0.7138 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.8576, allocations: 0 / 0.7138 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.8577, allocations: 87.31 kB / 0.7139 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8577, allocations: 0 / 0.7139 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000285/0.858, allocations: 16 kB / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006963/0.8587, allocations: 0.6914 MB / 0.7146 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.8589, allocations: 75.41 kB / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8589, allocations: 0 / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.859, allocations: 71.41 kB / 0.7147 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.8591, allocations: 3.984 kB / 0.7147 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.86, allocations: 210.6 kB / 0.7149 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.8603, allocations: 0.6811 MB / 0.7156 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.8604, allocations: 7.938 kB / 0.7156 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.8604, allocations: 7.438 kB / 0.7156 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.011e-06/0.8604, allocations: 0 / 0.7156 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.8801, allocations: 1.644 MB / 0.7172 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.8805, allocations: 196.4 kB / 0.7174 GB, free: 11.13 MB / 0.6042 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 5.0.1/Resources/C-Sources" -c -o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_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 5.0.1/Resources/C-Sources" -c -o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_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_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:5: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Resources/C-Sources/initArray.c:14:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1