Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.569/2.569, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001528/0.001528, allocations: 178.2 kB / 370.8 MB, free: 10.83 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.999/1.999, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00154/0.001541, allocations: 94.05 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004871, allocations: 12.42 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2298, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9114/1.141, allocations: 138 MB / 1.113 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.142, allocations: 86.89 kB / 1.113 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01667/1.158, allocations: 3.802 MB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.584e-06/1.158, allocations: 0 / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.158, allocations: 0 / 1.117 GB, free: 31.12 MB / 0.698 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.0003637/1.159, allocations: 355.3 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.159, allocations: 10.88 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/1.159, allocations: 30.56 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/1.159, allocations: 6.391 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.159, allocations: 167 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.159, allocations: 3.312 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.159, allocations: 3.25 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/1.159, allocations: 55.25 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.159, allocations: 0 / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.159, allocations: 3.844 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.159, allocations: 3.047 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/1.159, allocations: 10.78 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/1.16, allocations: 159.1 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/1.16, allocations: 34.94 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/1.16, allocations: 0 / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.16, allocations: 34.5 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/1.16, allocations: 0 / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0003126/1.16, allocations: 103.6 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.16, allocations: 79.83 kB / 1.118 GB, free: 30.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/1.16, allocations: 96.44 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/1.16, allocations: 25.7 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/1.16, allocations: 80.14 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.16, allocations: 11.69 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/1.16, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.16, allocations: 317.2 kB / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/1.16, allocations: 14.2 kB / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/1.161, allocations: 11.62 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/1.161, allocations: 44.12 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.161, allocations: 11.83 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002049/1.161, allocations: 87.05 kB / 1.119 GB, free: 29.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/1.161, allocations: 33.23 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.161, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.161, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/1.161, allocations: 0 / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.161, allocations: 3.844 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/1.161, allocations: 6.656 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/1.161, allocations: 11.34 kB / 1.119 GB, free: 29.36 MB / 0.698 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.0001188/1.161, allocations: 137.8 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/1.161, allocations: 7.797 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/1.161, allocations: 3.125 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.161, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.161, allocations: 0 / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.161, allocations: 6.188 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/1.162, allocations: 148.4 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.162, allocations: 3.812 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-06/1.162, allocations: 10.39 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.162, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.162, allocations: 3.406 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.162, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.162, allocations: 3.938 kB / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/1.162, allocations: 114 kB / 1.119 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/1.162, allocations: 87.52 kB / 1.119 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.162, allocations: 7.953 kB / 1.119 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.162, allocations: 10.55 kB / 1.119 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/1.162, allocations: 3.875 kB / 1.119 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.162, allocations: 6.938 kB / 1.119 GB, free: 28.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.24e-05/1.162, allocations: 75.28 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.162, allocations: 0 / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000264/1.162, allocations: 11.66 kB / 1.119 GB, free: 28.73 MB / 0.698 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.0006807/1.163, allocations: 0.6858 MB / 1.12 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000186/1.163, allocations: 80.22 kB / 1.12 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.163, allocations: 3.688 kB / 1.12 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/1.163, allocations: 69.86 kB / 1.12 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/1.164, allocations: 7.828 kB / 1.12 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/1.164, allocations: 231.2 kB / 1.12 GB, free: 27.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/1.165, allocations: 0.6763 MB / 1.121 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.137e-05/1.165, allocations: 6.938 kB / 1.121 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/1.165, allocations: 7.438 kB / 1.121 GB, free: 27.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.165, allocations: 3.938 kB / 1.121 GB, free: 27.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/1.184, allocations: 1.592 MB / 1.122 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.184, allocations: 212.2 kB / 1.123 GB, free: 26.67 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_8_0_0_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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:4: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/freeArray.c:13: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1