Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.404/4.404, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.159e-05/6.164e-05, allocations: 4 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2619, allocations: 106.2 MB / 0.6719 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9219/1.184, allocations: 131.6 MB / 0.8004 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.184, allocations: 86.73 kB / 0.8005 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01661/1.201, allocations: 3.805 MB / 0.8042 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/1.201, allocations: 3.875 kB / 0.8042 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.201, allocations: 0 / 0.8042 GB, free: 12.71 MB / 0.6355 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.0002722/1.201, allocations: 342.5 kB / 0.8045 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.201, allocations: 11.66 kB / 0.8045 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/1.201, allocations: 30.56 kB / 0.8046 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/1.201, allocations: 11.67 kB / 0.8046 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.201, allocations: 169.4 kB / 0.8047 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.201, allocations: 3.719 kB / 0.8047 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.201, allocations: 7.859 kB / 0.8048 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/1.202, allocations: 50.72 kB / 0.8048 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.202, allocations: 0 / 0.8048 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/1.202, allocations: 0 / 0.8048 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.202, allocations: 0 / 0.8048 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.343e-05/1.202, allocations: 14.78 kB / 0.8048 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/1.202, allocations: 159.1 kB / 0.805 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/1.202, allocations: 29.7 kB / 0.805 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/1.202, allocations: 23.3 kB / 0.805 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/1.202, allocations: 0 / 0.805 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/1.202, allocations: 30.56 kB / 0.805 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/1.202, allocations: 0 / 0.805 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002526/1.202, allocations: 90.09 kB / 0.8051 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/1.202, allocations: 81.14 kB / 0.8052 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/1.203, allocations: 91.84 kB / 0.8053 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.203, allocations: 33.48 kB / 0.8053 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/1.203, allocations: 80.14 kB / 0.8054 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.203, allocations: 3.938 kB / 0.8054 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/1.203, allocations: 3.844 kB / 0.8054 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.203, allocations: 318 kB / 0.8057 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/1.203, allocations: 7.938 kB / 0.8057 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/1.203, allocations: 18.45 kB / 0.8057 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/1.203, allocations: 33.58 kB / 0.8058 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.203, allocations: 3.938 kB / 0.8058 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001772/1.203, allocations: 90.91 kB / 0.8059 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.203, allocations: 36.34 kB / 0.8059 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.203, allocations: 0 / 0.8059 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/1.203, allocations: 0 / 0.8059 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/1.203, allocations: 3.938 kB / 0.8059 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.203, allocations: 0 / 0.8059 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/1.203, allocations: 11.84 kB / 0.8059 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.203, allocations: 10.73 kB / 0.8059 GB, free: 10.96 MB / 0.6355 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 8.057e-05/1.204, allocations: 138.3 kB / 0.8061 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/1.204, allocations: 0 / 0.8061 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/1.204, allocations: 10.92 kB / 0.8061 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.204, allocations: 0 / 0.8061 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.204, allocations: 3.938 kB / 0.8061 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.204, allocations: 3.094 kB / 0.8061 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.198e-05/1.204, allocations: 152.4 kB / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.204, allocations: 4 kB / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-06/1.204, allocations: 4 kB / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.204, allocations: 0 / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/1.204, allocations: 10.36 kB / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.204, allocations: 0 / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.204, allocations: 0 / 0.8062 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/1.204, allocations: 118.2 kB / 0.8064 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/1.204, allocations: 81.14 kB / 0.8064 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/1.204, allocations: 3.969 kB / 0.8064 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/1.204, allocations: 9.891 kB / 0.8064 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/1.204, allocations: 0 / 0.8064 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/1.204, allocations: 3.906 kB / 0.8064 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.046e-05/1.204, allocations: 82.22 kB / 0.8065 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.204, allocations: 0 / 0.8065 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002767/1.205, allocations: 15.53 kB / 0.8065 GB, free: 10.33 MB / 0.6355 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.0005683/1.205, allocations: 0.6744 MB / 0.8072 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001742/1.205, allocations: 93 kB / 0.8073 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.205, allocations: 0 / 0.8073 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/1.206, allocations: 66.27 kB / 0.8073 GB, free: 25.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/1.206, allocations: 7.344 kB / 0.8074 GB, free: 25.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/1.207, allocations: 209 kB / 0.8076 GB, free: 25.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.207, allocations: 0.673 MB / 0.8082 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.358e-05/1.207, allocations: 6.984 kB / 0.8082 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/1.207, allocations: 7.438 kB / 0.8082 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.207, allocations: 4.125 kB / 0.8082 GB, free: 24.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/1.228, allocations: 1.604 MB / 0.8098 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/1.228, allocations: 184.2 kB / 0.81 GB, free: 24.21 MB / 0.6511 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_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_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_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/freeArray.c:13: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/externalObjectStructure.h:8:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1