Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01655/0.01655, allocations: 106.1 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001788/0.001788, allocations: 182.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.194/2.194, allocations: 194.5 MB / 211.2 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.186/2.186, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004804, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7094, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.9542, allocations: 129.4 MB / 0.8098 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.9546, allocations: 95.94 kB / 0.8099 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02551/0.9802, allocations: 5.285 MB / 0.815 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9802, allocations: 0 / 0.815 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.9802, allocations: 4 kB / 0.815 GB, free: 7.461 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.001367/0.9816, allocations: 0.5753 MB / 0.8156 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9817, allocations: 8.031 kB / 0.8156 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.9818, allocations: 42.55 kB / 0.8157 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.9819, allocations: 31.67 kB / 0.8157 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.9824, allocations: 297.9 kB / 0.816 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.9824, allocations: 16.22 kB / 0.816 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.9825, allocations: 16 kB / 0.816 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.9832, allocations: 217.9 kB / 0.8162 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9832, allocations: 0 / 0.8162 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.9833, allocations: 12 kB / 0.8162 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.9833, allocations: 4 kB / 0.8162 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.9839, allocations: 119.8 kB / 0.8163 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.9855, allocations: 0.9152 MB / 0.8172 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.9864, allocations: 243.8 kB / 0.8175 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.9864, allocations: 7.984 kB / 0.8175 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.9871, allocations: 217 kB / 0.8177 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 2.905e-06/0.9871, allocations: 0 / 0.8177 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001573/0.9887, allocations: 381.2 kB / 0.818 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.9888, allocations: 127.2 kB / 0.8182 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.9891, allocations: 213.7 kB / 0.8184 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.9892, allocations: 37.7 kB / 0.8184 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.9893, allocations: 140.5 kB / 0.8185 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.9894, allocations: 67.14 kB / 0.8186 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.9895, allocations: 8 kB / 0.8186 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9896, allocations: 342.8 kB / 0.8189 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.99, allocations: 88.75 kB / 0.819 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.9905, allocations: 259.1 kB / 0.8193 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.991, allocations: 146.7 kB / 0.8194 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9911, allocations: 4 kB / 0.8194 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001254/0.9923, allocations: 411 kB / 0.8198 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.9924, allocations: 41.64 kB / 0.8198 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.9924, allocations: 8 kB / 0.8198 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.9925, allocations: 8 kB / 0.8199 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.9929, allocations: 67.84 kB / 0.8199 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.9929, allocations: 15.92 kB / 0.8199 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.9933, allocations: 51.77 kB / 0.82 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.9934, allocations: 20 kB / 0.82 GB, free: 1.969 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 () * Number of clocked 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.0002385/0.9937, allocations: 152 kB / 0.8202 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.9937, allocations: 27.7 kB / 0.8202 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.9938, allocations: 29.67 kB / 0.8202 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9938, allocations: 4 kB / 0.8202 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9938, allocations: 4 kB / 0.8202 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.9939, allocations: 3.984 kB / 0.8202 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.9943, allocations: 265.4 kB / 0.8205 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.9943, allocations: 7.938 kB / 0.8205 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9945, allocations: 24.22 kB / 0.8205 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9945, allocations: 0 / 0.8205 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.9946, allocations: 12 kB / 0.8205 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.9946, allocations: 7.953 kB / 0.8205 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.9946, allocations: 3.984 kB / 0.8205 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.9962, allocations: 469.5 kB / 0.821 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.9963, allocations: 108.8 kB / 0.8211 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.9964, allocations: 8 kB / 0.8211 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.9967, allocations: 23.97 kB / 0.8211 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.9968, allocations: 23.97 kB / 0.8211 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.9968, allocations: 15.98 kB / 0.8211 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002125/0.9971, allocations: 162 kB / 0.8213 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9971, allocations: 0 / 0.8213 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005855/0.9977, allocations: 87.92 kB / 0.8214 GB, free: 448 kB / 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) * Number of clocked states: 0 () * 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.002282/1, allocations: 1.24 MB / 0.8226 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.001, allocations: 305.8 kB / 0.8229 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.001, allocations: 0 / 0.8229 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004584/1.002, allocations: 113.3 kB / 0.823 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/1.002, allocations: 52.52 kB / 0.823 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/1.006, allocations: 5.147 MB / 0.8281 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/1.007, allocations: 0.7485 MB / 0.8288 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002885/1.007, allocations: 54.86 kB / 0.8289 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.007, allocations: 67.42 kB / 0.8289 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.007, allocations: 0 / 0.8289 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/1.038, allocations: 5.985 MB / 0.8348 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003883/1.038, allocations: 233.9 kB / 0.835 GB, free: 2.441 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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