Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.589e-05/4.593e-05, allocations: 5.875 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9799/1.235, allocations: 136.7 MB / 0.8113 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.235, allocations: 101.8 kB / 0.8114 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02317/1.259, allocations: 5.255 MB / 0.8165 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/1.259, allocations: 0 / 0.8165 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.259, allocations: 3.875 kB / 0.8165 GB, free: 11.81 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001073/1.26, allocations: 0.5395 MB / 0.8171 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.26, allocations: 7.812 kB / 0.8171 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/1.26, allocations: 46.86 kB / 0.8171 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/1.26, allocations: 27.25 kB / 0.8171 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/1.26, allocations: 300.5 kB / 0.8174 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.26, allocations: 14.66 kB / 0.8174 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/1.261, allocations: 22.22 kB / 0.8175 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/1.261, allocations: 180.7 kB / 0.8176 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.261, allocations: 7.844 kB / 0.8176 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/1.261, allocations: 3.812 kB / 0.8176 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.261, allocations: 0 / 0.8176 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/1.261, allocations: 73.2 kB / 0.8177 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/1.263, allocations: 0.9112 MB / 0.8186 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/1.263, allocations: 179.8 kB / 0.8188 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/1.263, allocations: 69.14 kB / 0.8188 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.263, allocations: 0 / 0.8188 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/1.264, allocations: 185.3 kB / 0.819 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 3.797e-06/1.264, allocations: 0 / 0.819 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0006618/1.264, allocations: 254.7 kB / 0.8193 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.264, allocations: 117.1 kB / 0.8194 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/1.265, allocations: 219.4 kB / 0.8196 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.265, allocations: 38.83 kB / 0.8196 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.265, allocations: 145.4 kB / 0.8198 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/1.265, allocations: 55.62 kB / 0.8198 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/1.265, allocations: 11.12 kB / 0.8198 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/1.265, allocations: 340 kB / 0.8201 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/1.265, allocations: 57.06 kB / 0.8202 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/1.266, allocations: 227.4 kB / 0.8204 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/1.266, allocations: 128.3 kB / 0.8205 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.266, allocations: 0 / 0.8205 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006764/1.266, allocations: 346.2 kB / 0.8209 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.267, allocations: 33.48 kB / 0.8209 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.267, allocations: 4.016 kB / 0.8209 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/1.267, allocations: 15.67 kB / 0.8209 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/1.267, allocations: 64.41 kB / 0.821 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.267, allocations: 21.89 kB / 0.821 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/1.267, allocations: 49 kB / 0.8211 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/1.267, allocations: 19.09 kB / 0.8211 GB, free: 8.883 MB / 0.6355 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.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$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): 45 * 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.0001386/1.268, allocations: 150 kB / 0.8212 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/1.268, allocations: 29.31 kB / 0.8212 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/1.268, allocations: 25.91 kB / 0.8213 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/1.268, allocations: 4 kB / 0.8213 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.268, allocations: 7.828 kB / 0.8213 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.268, allocations: 2.766 kB / 0.8213 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/1.268, allocations: 268.6 kB / 0.8215 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.268, allocations: 0 / 0.8215 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/1.268, allocations: 24.78 kB / 0.8216 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.268, allocations: 0 / 0.8216 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/1.268, allocations: 9.484 kB / 0.8216 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.268, allocations: 3.938 kB / 0.8216 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.268, allocations: 7.844 kB / 0.8216 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/1.269, allocations: 396 kB / 0.822 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/1.269, allocations: 99.23 kB / 0.8221 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/1.269, allocations: 13.97 kB / 0.8221 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/1.27, allocations: 24.56 kB / 0.8221 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.51e-05/1.27, allocations: 23.44 kB / 0.8221 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.27, allocations: 10.39 kB / 0.8221 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001736/1.27, allocations: 172.2 kB / 0.8223 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/1.27, allocations: 3.938 kB / 0.8223 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005988/1.271, allocations: 87.83 kB / 0.8224 GB, free: 8.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001775/1.273, allocations: 1.149 MB / 0.8235 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005619/1.273, allocations: 240.4 kB / 0.8237 GB, free: 23.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.273, allocations: 0 / 0.8237 GB, free: 23.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/1.273, allocations: 84.86 kB / 0.8238 GB, free: 23.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/1.274, allocations: 54.64 kB / 0.8239 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/1.276, allocations: 0.6838 MB / 0.8245 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.276, allocations: 0.7474 MB / 0.8253 GB, free: 22.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002166/1.277, allocations: 48.69 kB / 0.8253 GB, free: 22.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/1.277, allocations: 70.84 kB / 0.8254 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.834e-06/1.277, allocations: 0 / 0.8254 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/1.308, allocations: 6.059 MB / 0.8313 GB, free: 19.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.308, allocations: 204.4 kB / 0.8315 GB, free: 19.61 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_SingleUTubeBoundaryCondition.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_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_SingleUTubeBoundaryCondition_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1