Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.159/4.159, allocations: 432.7 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.352e-05, allocations: 9.453 kB / 0.5338 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2462, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4761, allocations: 124.7 MB / 0.752 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4765, allocations: 83.94 kB / 0.752 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.4941, allocations: 3.792 MB / 0.7557 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4942, allocations: 0 / 0.7557 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4942, allocations: 0 / 0.7557 GB, free: 5.398 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.0003256/0.4945, allocations: 356 kB / 0.7561 GB, free: 5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4946, allocations: 8.031 kB / 0.7561 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.4946, allocations: 34.56 kB / 0.7561 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.4947, allocations: 4 kB / 0.7561 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4948, allocations: 171 kB / 0.7563 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4949, allocations: 0 / 0.7563 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4949, allocations: 4 kB / 0.7563 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4951, allocations: 53.67 kB / 0.7564 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4951, allocations: 0 / 0.7564 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4951, allocations: 0 / 0.7564 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.4951, allocations: 7.922 kB / 0.7564 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.4952, allocations: 12 kB / 0.7564 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.4954, allocations: 153.6 kB / 0.7565 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.4955, allocations: 34.55 kB / 0.7565 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.4955, allocations: 21.66 kB / 0.7566 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.4955, allocations: 0 / 0.7566 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4956, allocations: 34.56 kB / 0.7566 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.4956, allocations: 0 / 0.7566 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002518/0.4959, allocations: 87.38 kB / 0.7567 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.4959, allocations: 89.14 kB / 0.7568 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.496, allocations: 89 kB / 0.7569 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.496, allocations: 29.64 kB / 0.7569 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.4961, allocations: 88.06 kB / 0.757 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4961, allocations: 4 kB / 0.757 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-06/0.4961, allocations: 0 / 0.757 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4963, allocations: 318.8 kB / 0.7573 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.4963, allocations: 11.98 kB / 0.7573 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.4964, allocations: 12.12 kB / 0.7573 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.4965, allocations: 37.7 kB / 0.7573 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4965, allocations: 0 / 0.7573 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001981/0.4967, allocations: 95.28 kB / 0.7574 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.4967, allocations: 33.7 kB / 0.7575 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4967, allocations: 0 / 0.7575 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4968, allocations: 4 kB / 0.7575 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.4968, allocations: 0 / 0.7575 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4968, allocations: 0 / 0.7575 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.497, allocations: 12.08 kB / 0.7575 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.497, allocations: 8 kB / 0.7575 GB, free: 3.367 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 0.0001014/0.4971, allocations: 134.6 kB / 0.7576 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.4972, allocations: 4 kB / 0.7576 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.4972, allocations: 3.125 kB / 0.7576 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4972, allocations: 3.984 kB / 0.7576 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4972, allocations: 4 kB / 0.7576 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4972, allocations: 3.938 kB / 0.7576 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.4974, allocations: 157.6 kB / 0.7578 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4974, allocations: 4 kB / 0.7578 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.4974, allocations: 3.938 kB / 0.7578 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4974, allocations: 0 / 0.7578 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4975, allocations: 4 kB / 0.7578 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4975, allocations: 0 / 0.7578 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4975, allocations: 0 / 0.7578 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4977, allocations: 114.8 kB / 0.7579 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.4978, allocations: 81.06 kB / 0.758 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.4978, allocations: 8.031 kB / 0.758 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.498, allocations: 7.984 kB / 0.758 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.498, allocations: 4 kB / 0.758 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.498, allocations: 4 kB / 0.758 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.4981, allocations: 79.28 kB / 0.7581 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4981, allocations: 0 / 0.7581 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002818/0.4984, allocations: 12 kB / 0.7581 GB, free: 2.645 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.0006597/0.4991, allocations: 0.6815 MB / 0.7588 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.4993, allocations: 87.33 kB / 0.7588 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4993, allocations: 4.094 kB / 0.7588 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.4994, allocations: 67.41 kB / 0.7589 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.4995, allocations: 4 kB / 0.7589 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008661/0.5004, allocations: 194.7 kB / 0.7591 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5007, allocations: 0.6809 MB / 0.7598 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.5007, allocations: 4 kB / 0.7598 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.5007, allocations: 7.438 kB / 0.7598 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.5008, allocations: 4.062 kB / 0.7598 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.5202, allocations: 1.608 MB / 0.7613 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.5206, allocations: 184.4 kB / 0.7615 GB, free: 15.04 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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_6_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_6_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 6.0.0/Resources/C-Sources/freeArray.c:13: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1