Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.285/4.285, allocations: 460.5 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.337e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9779/1.256, allocations: 136.3 MB / 0.805 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.256, allocations: 93.86 kB / 0.8051 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/1.28, allocations: 5.256 MB / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.28, allocations: 0 / 0.8102 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.984e-05/1.28, allocations: 3.969 kB / 0.8102 GB, free: 12.12 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.001002/1.281, allocations: 0.532 MB / 0.8108 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.281, allocations: 11.53 kB / 0.8108 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/1.281, allocations: 43.86 kB / 0.8108 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/1.281, allocations: 35.08 kB / 0.8108 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/1.282, allocations: 291.3 kB / 0.8111 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/1.282, allocations: 21.81 kB / 0.8111 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/1.282, allocations: 20.92 kB / 0.8112 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/1.282, allocations: 181.2 kB / 0.8113 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.282, allocations: 0 / 0.8113 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/1.282, allocations: 10.38 kB / 0.8113 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.282, allocations: 0 / 0.8113 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/1.283, allocations: 79.45 kB / 0.8114 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.284, allocations: 0.9029 MB / 0.8123 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/1.284, allocations: 187.8 kB / 0.8125 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.285, allocations: 63.52 kB / 0.8125 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/1.285, allocations: 0 / 0.8125 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/1.285, allocations: 192.6 kB / 0.8127 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.555e-06/1.285, allocations: 0 / 0.8127 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.0006543/1.286, allocations: 251 kB / 0.813 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/1.286, allocations: 116.8 kB / 0.8131 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/1.286, allocations: 215.9 kB / 0.8133 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/1.286, allocations: 40.11 kB / 0.8133 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/1.286, allocations: 149.1 kB / 0.8135 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.286, allocations: 59.64 kB / 0.8135 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/1.286, allocations: 7.344 kB / 0.8135 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/1.286, allocations: 343.8 kB / 0.8139 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/1.287, allocations: 55.38 kB / 0.8139 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/1.287, allocations: 233.4 kB / 0.8141 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/1.287, allocations: 116.4 kB / 0.8142 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.287, allocations: 3.875 kB / 0.8142 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006789/1.288, allocations: 341.8 kB / 0.8146 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/1.288, allocations: 33.39 kB / 0.8146 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.288, allocations: 7.688 kB / 0.8146 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.288, allocations: 7.688 kB / 0.8146 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.288, allocations: 71.02 kB / 0.8147 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.288, allocations: 18.7 kB / 0.8147 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/1.289, allocations: 43.41 kB / 0.8147 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/1.289, allocations: 25.73 kB / 0.8148 GB, free: 9.184 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.0001372/1.289, allocations: 139.4 kB / 0.8149 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/1.289, allocations: 31.05 kB / 0.8149 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/1.289, allocations: 26.88 kB / 0.815 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.289, allocations: 7.719 kB / 0.815 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.289, allocations: 3.938 kB / 0.815 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.289, allocations: 3.969 kB / 0.815 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/1.289, allocations: 274.1 kB / 0.8152 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.289, allocations: 3.938 kB / 0.8152 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/1.29, allocations: 23.33 kB / 0.8153 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.29, allocations: 3.844 kB / 0.8153 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/1.29, allocations: 10.39 kB / 0.8153 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.29, allocations: 8 kB / 0.8153 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.29, allocations: 6.547 kB / 0.8153 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/1.291, allocations: 391.1 kB / 0.8157 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/1.291, allocations: 98.95 kB / 0.8158 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/1.291, allocations: 14.41 kB / 0.8158 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/1.291, allocations: 20.86 kB / 0.8158 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/1.291, allocations: 25.86 kB / 0.8158 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/1.291, allocations: 9.844 kB / 0.8158 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000491/1.292, allocations: 165 kB / 0.816 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.292, allocations: 0 / 0.816 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006344/1.292, allocations: 90.09 kB / 0.8161 GB, free: 24.48 MB / 0.6511 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.00158/1.294, allocations: 1.161 MB / 0.8172 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005732/1.295, allocations: 243.5 kB / 0.8174 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.295, allocations: 4.25 kB / 0.8174 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/1.295, allocations: 86.89 kB / 0.8175 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/1.295, allocations: 53.55 kB / 0.8176 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.298, allocations: 0.6884 MB / 0.8182 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.298, allocations: 0.7469 MB / 0.819 GB, free: 22.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002267/1.298, allocations: 51.8 kB / 0.819 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.298, allocations: 72.12 kB / 0.8191 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of SimCode: time 1.783e-06/1.298, allocations: 0 / 0.8191 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/1.332, allocations: 6.037 MB / 0.825 GB, free: 21.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/1.332, allocations: 206.2 kB / 0.8252 GB, free: 20.88 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_SingleUTubeBoundaryCondition.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_7_0_0_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 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_SingleUTubeBoundaryCondition_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1