Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001097, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008218/0.0008221, allocations: 13.59 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3004, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0009596/0.3014, allocations: 282 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000268/0.3017, allocations: 99.83 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.3017, allocations: 8 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3019, allocations: 7.875 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.302, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.3021, allocations: 27.97 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.3022, allocations: 19.97 kB / 0.7877 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.3022, allocations: 0 / 0.7877 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.3023, allocations: 8 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.3023, allocations: 15.98 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3024, allocations: 11.92 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.3024, allocations: 4 kB / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.3024, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3025, allocations: 29.7 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.3026, allocations: 19.92 kB / 0.7878 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3026, allocations: 4 kB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3026, allocations: 0 / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3026, allocations: 0 / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004451/0.303, allocations: 341.1 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3031, allocations: 12.03 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/0.3032, allocations: 34.56 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3032, allocations: 4 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3034, allocations: 175 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3034, allocations: 0 / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3034, allocations: 4 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3036, allocations: 53.67 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3036, allocations: 3.938 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3036, allocations: 0 / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3036, allocations: 4 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.3037, allocations: 11.98 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.3039, allocations: 161.5 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.304, allocations: 26.59 kB / 0.7886 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.304, allocations: 0 / 0.7886 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.3041, allocations: 38.62 kB / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.3041, allocations: 0 / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003221/0.3044, allocations: 107.3 kB / 0.7887 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.3045, allocations: 81.11 kB / 0.7888 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3046, allocations: 97.84 kB / 0.7889 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.3047, allocations: 29.7 kB / 0.7889 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.3048, allocations: 80.14 kB / 0.789 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3048, allocations: 4.219 kB / 0.789 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3049, allocations: 4 kB / 0.789 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.305, allocations: 311.1 kB / 0.7893 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.3051, allocations: 19.98 kB / 0.7893 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.3051, allocations: 8 kB / 0.7893 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.3052, allocations: 37.7 kB / 0.7893 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3052, allocations: 0 / 0.7893 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001603/0.3054, allocations: 107.2 kB / 0.7894 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.3054, allocations: 29.7 kB / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3054, allocations: 0 / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3055, allocations: 0 / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-06/0.3055, allocations: 3.984 kB / 0.7895 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3055, allocations: 8.094 kB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3056, allocations: 4 kB / 0.7895 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3057, allocations: 4 kB / 0.7895 GB, free: 9.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001216/0.3058, allocations: 143.5 kB / 0.7896 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.3058, allocations: 11.86 kB / 0.7896 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.3058, allocations: 3.125 kB / 0.7896 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3058, allocations: 3.984 kB / 0.7896 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3059, allocations: 0 / 0.7896 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3059, allocations: 4 kB / 0.7896 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.306, allocations: 153.7 kB / 0.7898 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.306, allocations: 4 kB / 0.7898 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.306, allocations: 0 / 0.7898 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.306, allocations: 7.891 kB / 0.7898 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3061, allocations: 7.984 kB / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3061, allocations: 0 / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3061, allocations: 0 / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3063, allocations: 130.8 kB / 0.7899 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.3064, allocations: 77.11 kB / 0.79 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3064, allocations: 7.953 kB / 0.79 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3065, allocations: 7.984 kB / 0.79 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.3065, allocations: 0 / 0.79 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3065, allocations: 4 kB / 0.79 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.3066, allocations: 83.28 kB / 0.7901 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3066, allocations: 0 / 0.7901 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002207/0.3068, allocations: 12.12 kB / 0.7901 GB, free: 8.555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006024/0.3074, allocations: 0.6757 MB / 0.7908 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3076, allocations: 83.42 kB / 0.7909 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3076, allocations: 0 / 0.7909 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.34e-05/0.3077, allocations: 75.33 kB / 0.7909 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.3078, allocations: 10.39 kB / 0.7909 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.3082, allocations: 128.4 kB / 0.7911 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.3086, allocations: 0.677 MB / 0.7917 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.354e-05/0.3087, allocations: 3.984 kB / 0.7917 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.3088, allocations: 15.56 kB / 0.7917 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3088, allocations: 0 / 0.7917 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.3231, allocations: 1.601 MB / 0.7933 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/0.3234, allocations: 209 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/initArray.c:14:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1