Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.048/4.048, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.732e-05, allocations: 2.781 kB / 0.5338 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.4557, allocations: 129.3 MB / 0.7565 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.4562, allocations: 103.9 kB / 0.7566 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02574/0.4819, allocations: 5.193 MB / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.944e-06/0.482, allocations: 4 kB / 0.7616 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.482, allocations: 4 kB / 0.7616 GB, free: 15.32 MB / 0.6511 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.001222/0.4832, allocations: 0.5241 MB / 0.7622 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4833, allocations: 12.22 kB / 0.7622 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.4834, allocations: 46.48 kB / 0.7622 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.4835, allocations: 35.67 kB / 0.7622 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.4841, allocations: 289.8 kB / 0.7625 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.4841, allocations: 16.22 kB / 0.7625 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.4842, allocations: 24 kB / 0.7626 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.4847, allocations: 183.1 kB / 0.7627 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.4847, allocations: 4 kB / 0.7627 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.4848, allocations: 7.938 kB / 0.7627 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4848, allocations: 4 kB / 0.7628 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.485, allocations: 71.91 kB / 0.7628 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4868, allocations: 0.9151 MB / 0.7637 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.4873, allocations: 175.9 kB / 0.7639 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4875, allocations: 74.66 kB / 0.764 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.4875, allocations: 4 kB / 0.764 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.488, allocations: 185.9 kB / 0.7641 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 3.397e-06/0.488, allocations: 0 / 0.7641 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0007583/0.4888, allocations: 245.3 kB / 0.7644 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.4889, allocations: 118.8 kB / 0.7645 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.4892, allocations: 210.9 kB / 0.7647 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.4893, allocations: 37.7 kB / 0.7647 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.4895, allocations: 144.6 kB / 0.7649 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.4896, allocations: 67.33 kB / 0.7649 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.4896, allocations: 11.94 kB / 0.7649 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4898, allocations: 338.8 kB / 0.7653 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.49, allocations: 56.81 kB / 0.7653 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.4904, allocations: 230.8 kB / 0.7655 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.4907, allocations: 117.6 kB / 0.7656 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4907, allocations: 4 kB / 0.7656 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008386/0.4915, allocations: 342.8 kB / 0.766 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4916, allocations: 36.05 kB / 0.766 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4916, allocations: 7.938 kB / 0.766 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.4917, allocations: 15.94 kB / 0.766 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.4921, allocations: 67.89 kB / 0.7661 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.4922, allocations: 12.38 kB / 0.7661 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.4926, allocations: 51.67 kB / 0.7662 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.4927, allocations: 20 kB / 0.7662 GB, free: 10.27 MB / 0.6511 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.000182/0.4929, allocations: 143 kB / 0.7663 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.4929, allocations: 35.56 kB / 0.7663 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.493, allocations: 25.83 kB / 0.7664 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4931, allocations: 4 kB / 0.7664 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4931, allocations: 4 kB / 0.7664 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4931, allocations: 0 / 0.7664 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.4935, allocations: 269.5 kB / 0.7666 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4936, allocations: 4 kB / 0.7666 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.4938, allocations: 19.98 kB / 0.7667 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4938, allocations: 0 / 0.7667 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.4939, allocations: 11.94 kB / 0.7667 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4939, allocations: 8.062 kB / 0.7667 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4939, allocations: 4 kB / 0.7667 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.4949, allocations: 391.6 kB / 0.7671 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.495, allocations: 108.8 kB / 0.7672 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.4951, allocations: 11.94 kB / 0.7672 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.4954, allocations: 23.97 kB / 0.7672 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.4955, allocations: 19.97 kB / 0.7672 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.4956, allocations: 15.98 kB / 0.7672 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002375/0.4958, allocations: 167.1 kB / 0.7674 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4959, allocations: 0 / 0.7674 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006509/0.4965, allocations: 91.92 kB / 0.7675 GB, free: 8.824 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.001721/0.4982, allocations: 1.165 MB / 0.7686 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006344/0.4989, allocations: 240.2 kB / 0.7688 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4989, allocations: 0.5625 kB / 0.7688 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.4992, allocations: 91.91 kB / 0.7689 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4997, allocations: 52.52 kB / 0.769 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.5023, allocations: 0.6926 MB / 0.7697 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.5027, allocations: 0.7446 MB / 0.7704 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002477/0.503, allocations: 42.95 kB / 0.7704 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.5032, allocations: 67.41 kB / 0.7705 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of SimCode: time 8.51e-07/0.5032, allocations: 4 kB / 0.7705 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5562/1.059, allocations: 6.04 MB / 0.7764 GB, free: 140 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.06, allocations: 198.4 kB / 0.7766 GB, free: 139.8 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_SingleUTubeBoundaryCondition.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.c:7: In file included from ./Buildings_6_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 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.c:7: In file included from ./Buildings_6_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 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_SingleUTubeBoundaryCondition_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_functions.o] Error 1