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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.6 MB / 307.5 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 189 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 0.6366 GB, free: 9.559 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008807, allocations: 97.45 kB / 0.7509 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003974, allocations: 8 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7835/1.072, allocations: 139.1 MB / 1.124 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/1.072, allocations: 90.7 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008849/1.081, allocations: 3.792 MB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.866e-06/1.081, allocations: 0 / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.523e-06/1.081, allocations: 5.375 kB / 1.128 GB, free: 32.78 MB / 0.7292 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.0002566/1.082, allocations: 357.5 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.281e-05/1.082, allocations: 9.312 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/1.082, allocations: 36.06 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/1.082, allocations: 5.578 kB / 1.129 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/1.082, allocations: 166.1 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/1.082, allocations: 0 / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/1.082, allocations: 5.203 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/1.082, allocations: 56.16 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.082, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.082, allocations: 7.469 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.082, allocations: 1.719 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/1.082, allocations: 11.09 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/1.082, allocations: 160.9 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/1.082, allocations: 27.34 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/1.082, allocations: 0 / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.082, allocations: 33.88 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/1.082, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002172/1.083, allocations: 106.2 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.083, allocations: 81.11 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/1.083, allocations: 96.12 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/1.083, allocations: 26.27 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.606e-05/1.083, allocations: 84.39 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/1.083, allocations: 11.94 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.083, allocations: 0 / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/1.083, allocations: 310.8 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/1.083, allocations: 11.33 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/1.083, allocations: 16.03 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/1.083, allocations: 41.64 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.083, allocations: 0 / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/1.083, allocations: 94.06 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.083, allocations: 37.8 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/1.083, allocations: 0 / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.083, allocations: 0 / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/1.083, allocations: 4.438 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.083, allocations: 1.031 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.083, allocations: 7.094 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.083, allocations: 5.906 kB / 1.13 GB, free: 30.83 MB / 0.7292 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 7.12e-05/1.083, allocations: 146.4 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/1.083, allocations: 7.953 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/1.083, allocations: 7.125 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/1.083, allocations: 0 / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.083, allocations: 0 / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.083, allocations: 0 / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.946e-05/1.083, allocations: 153 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.083, allocations: 0 / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/1.083, allocations: 0.8438 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.083, allocations: 3.953 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.083, allocations: 4.5 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/1.083, allocations: 0 / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.083, allocations: 4 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/1.084, allocations: 118.4 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/1.084, allocations: 92.52 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/1.084, allocations: 3.953 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/1.084, allocations: 4 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/1.084, allocations: 6.578 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.084, allocations: 7.516 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.875e-05/1.084, allocations: 83.31 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.084, allocations: 0 / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001952/1.084, allocations: 16 kB / 1.13 GB, free: 30.11 MB / 0.7292 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.0004095/1.084, allocations: 0.667 MB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000123/1.085, allocations: 87.69 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.085, allocations: 0 / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/1.085, allocations: 71.02 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.932e-05/1.085, allocations: 9.078 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/1.085, allocations: 235.2 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/1.085, allocations: 0.6765 MB / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.958e-05/1.085, allocations: 3.422 kB / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/1.086, allocations: 16.41 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.086, allocations: 0 / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/1.097, allocations: 1.595 MB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.097, allocations: 213.3 kB / 1.134 GB, free: 27.19 MB / 0.7292 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: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 -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: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_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