Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.62/4.621, allocations: 464.6 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.054e-05/5.061e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3096, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9666/1.276, allocations: 132 MB / 0.8067 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/1.277, allocations: 89.45 kB / 0.8068 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01715/1.294, allocations: 3.806 MB / 0.8105 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/1.294, allocations: 3.875 kB / 0.8105 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.294, allocations: 0 / 0.8105 GB, free: 11.59 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.0003565/1.294, allocations: 349.8 kB / 0.8108 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.294, allocations: 11.59 kB / 0.8108 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/1.294, allocations: 34.56 kB / 0.8109 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/1.294, allocations: 5.797 kB / 0.8109 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.295, allocations: 163 kB / 0.811 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.295, allocations: 3.844 kB / 0.811 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/1.295, allocations: 6.156 kB / 0.8111 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/1.295, allocations: 56.05 kB / 0.8111 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.295, allocations: 0 / 0.8111 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.295, allocations: 3.688 kB / 0.8111 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.295, allocations: 0 / 0.8111 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/1.295, allocations: 11.72 kB / 0.8111 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/1.295, allocations: 158.1 kB / 0.8113 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.538e-05/1.295, allocations: 26.17 kB / 0.8113 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/1.295, allocations: 18.94 kB / 0.8113 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/1.295, allocations: 3.969 kB / 0.8113 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/1.295, allocations: 34.5 kB / 0.8114 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.028e-06/1.295, allocations: 0 / 0.8114 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0003176/1.296, allocations: 99.52 kB / 0.8114 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.296, allocations: 77.11 kB / 0.8115 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/1.296, allocations: 88.88 kB / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/1.296, allocations: 25.7 kB / 0.8116 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/1.296, allocations: 84.11 kB / 0.8117 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/1.296, allocations: 10.56 kB / 0.8117 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/1.296, allocations: 0 / 0.8117 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/1.296, allocations: 318.8 kB / 0.812 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/1.296, allocations: 7.531 kB / 0.812 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-05/1.296, allocations: 9.969 kB / 0.812 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/1.296, allocations: 40.03 kB / 0.8121 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.296, allocations: 0 / 0.8121 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002098/1.297, allocations: 100.1 kB / 0.8122 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/1.297, allocations: 35.89 kB / 0.8122 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.297, allocations: 0 / 0.8122 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.297, allocations: 0 / 0.8122 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/1.297, allocations: 4.094 kB / 0.8122 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/1.297, allocations: 0 / 0.8122 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/1.297, allocations: 6.562 kB / 0.8122 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.297, allocations: 7.344 kB / 0.8122 GB, free: 9.836 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 9.994e-05/1.297, allocations: 137.1 kB / 0.8124 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/1.297, allocations: 7.891 kB / 0.8124 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/1.297, allocations: 6.969 kB / 0.8124 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.297, allocations: 0 / 0.8124 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.297, allocations: 0 / 0.8124 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.297, allocations: 4 kB / 0.8124 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/1.297, allocations: 155.2 kB / 0.8125 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.297, allocations: 4 kB / 0.8125 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/1.297, allocations: 0 / 0.8125 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.297, allocations: 3.953 kB / 0.8125 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/1.297, allocations: 6.75 kB / 0.8125 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.297, allocations: 0 / 0.8125 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.297, allocations: 0 / 0.8125 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/1.298, allocations: 124.5 kB / 0.8127 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/1.298, allocations: 77.11 kB / 0.8127 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/1.298, allocations: 7.797 kB / 0.8127 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.298, allocations: 10.88 kB / 0.8127 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/1.298, allocations: 0 / 0.8127 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.298, allocations: 10.52 kB / 0.8128 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.014e-05/1.298, allocations: 79.16 kB / 0.8128 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.5e-07/1.298, allocations: 0 / 0.8128 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002863/1.298, allocations: 15.66 kB / 0.8128 GB, free: 9.203 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.001262/1.3, allocations: 0.6714 MB / 0.8135 GB, free: 24.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002794/1.3, allocations: 88.05 kB / 0.8136 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.3, allocations: 0 / 0.8136 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.625e-05/1.3, allocations: 69.31 kB / 0.8137 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/1.3, allocations: 7.797 kB / 0.8137 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.302, allocations: 199.3 kB / 0.8138 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/1.302, allocations: 0.676 MB / 0.8145 GB, free: 23.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.929e-05/1.302, allocations: 10.69 kB / 0.8145 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/1.302, allocations: 11.44 kB / 0.8145 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.302, allocations: 0 / 0.8145 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/1.324, allocations: 1.598 MB / 0.8161 GB, free: 23.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/1.324, allocations: 188 kB / 0.8163 GB, free: 23.1 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources/freeArray.c:13: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1