Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.957/3.957, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.272e-05/4.299e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6169, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2846/0.9015, allocations: 125.6 MB / 0.7123 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/0.902, allocations: 103.9 kB / 0.7124 GB, free: 0.6367 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02697/0.929, allocations: 5.285 MB / 0.7175 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.877e-06/0.929, allocations: 3.984 kB / 0.7175 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.929, allocations: 4 kB / 0.7175 GB, free: 11.31 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001071/0.9301, allocations: 0.5866 MB / 0.7181 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.9302, allocations: 12.03 kB / 0.7181 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.03e-05/0.9303, allocations: 42.55 kB / 0.7182 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.9304, allocations: 39.52 kB / 0.7182 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.931, allocations: 301.7 kB / 0.7185 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.931, allocations: 12 kB / 0.7185 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.9311, allocations: 16 kB / 0.7185 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.9315, allocations: 163.4 kB / 0.7187 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.9315, allocations: 0 / 0.7187 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.9316, allocations: 12 kB / 0.7187 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.9316, allocations: 7.953 kB / 0.7187 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.9318, allocations: 67.92 kB / 0.7188 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.9335, allocations: 0.8995 MB / 0.7196 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.9338, allocations: 132 kB / 0.7198 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.934, allocations: 82.64 kB / 0.7198 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.934, allocations: 3.938 kB / 0.7199 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.9345, allocations: 259 kB / 0.7201 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 5.43e-06/0.9345, allocations: 0 / 0.7201 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0008763/0.9354, allocations: 358.3 kB / 0.7204 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.9356, allocations: 277 kB / 0.7207 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.936, allocations: 210.8 kB / 0.7209 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.936, allocations: 41.7 kB / 0.7209 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.9362, allocations: 140.7 kB / 0.7211 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.9363, allocations: 67.19 kB / 0.7211 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.9363, allocations: 4 kB / 0.7211 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9365, allocations: 346.8 kB / 0.7215 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9367, allocations: 56.81 kB / 0.7215 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.937, allocations: 242.9 kB / 0.7218 GB, free: 6.504 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.9374, allocations: 194.7 kB / 0.7219 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.9374, allocations: 0 / 0.7219 GB, free: 6.289 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009184/0.9383, allocations: 439.7 kB / 0.7224 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.865e-05/0.9384, allocations: 118.8 kB / 0.7225 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9385, allocations: 4 kB / 0.7225 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.9385, allocations: 12 kB / 0.7225 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.9389, allocations: 64.47 kB / 0.7226 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.939, allocations: 19.92 kB / 0.7226 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.9394, allocations: 51.67 kB / 0.7226 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.9395, allocations: 16 kB / 0.7226 GB, free: 5.523 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouPul.iSam,TBouPul.iSam,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$whenCondition4,$PRE.TBouSte.iSam,TBouSte.iSam,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$whenCondition2,$PRE.TBouCon.iSam,TBouCon.iSam,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$whenCondition1,$whenCondition3,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 4 * 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.0002557/0.9397, allocations: 248.1 kB / 0.7229 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.9398, allocations: 31.72 kB / 0.7229 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.9399, allocations: 21.83 kB / 0.7229 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.9399, allocations: 4 kB / 0.7229 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9399, allocations: 0 / 0.7229 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.9399, allocations: 0 / 0.7229 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.9404, allocations: 289.2 kB / 0.7232 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9404, allocations: 4 kB / 0.7232 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.9406, allocations: 19.98 kB / 0.7232 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.9406, allocations: 0 / 0.7232 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.9407, allocations: 19.98 kB / 0.7233 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.9407, allocations: 0 / 0.7233 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.9407, allocations: 4 kB / 0.7233 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9419, allocations: 0.5388 MB / 0.7238 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.9421, allocations: 100.8 kB / 0.7239 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.9422, allocations: 16 kB / 0.7239 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.9425, allocations: 27.94 kB / 0.7239 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9426, allocations: 23.91 kB / 0.7239 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.9427, allocations: 12 kB / 0.724 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002134/0.9429, allocations: 163.1 kB / 0.7241 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9429, allocations: 0 / 0.7241 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005968/0.9435, allocations: 99.86 kB / 0.7242 GB, free: 3.773 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouPul.U,TBouSte.U,TBouCon.U) * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count,$whenCondition2,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition1,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam) * Number of discrete states: 16 (TBouCon.iSam,TBouCon.port.T,TBouCon.UOld,TBouCon.QAve_flow,$whenCondition1,TBouSte.iSam,TBouSte.port.T,TBouSte.UOld,TBouSte.QAve_flow,$whenCondition2,pulse.count,TBouPul.iSam,TBouPul.port.T,TBouPul.UOld,TBouPul.QAve_flow,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.00202/0.9455, allocations: 1.323 MB / 0.7255 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007654/0.9463, allocations: 422.2 kB / 0.7259 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9463, allocations: 4 kB / 0.7259 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.9468, allocations: 310.1 kB / 0.7262 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.9473, allocations: 55.38 kB / 0.7263 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.95, allocations: 0.7215 MB / 0.727 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.9504, allocations: 0.7446 MB / 0.7277 GB, free: 8 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.9507, allocations: 50.19 kB / 0.7277 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.9508, allocations: 69.3 kB / 0.7278 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.9508, allocations: 0 / 0.7278 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.9855, allocations: 6.172 MB / 0.7338 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/0.9858, allocations: 212.9 kB / 0.734 GB, free: 9.68 MB / 0.6198 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_SingleUTubeBoundaryCondition.o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_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_SingleUTubeBoundaryCondition_functions.o Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_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_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_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_SingleUTubeBoundaryCondition_functions.o' failed make: *** [Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1