Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.271/2.271, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002196/0.002196, allocations: 180 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.4 MB / 0.5764 GB, free: 20.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 94.97 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006582/0.0006584, allocations: 15.41 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.4342, allocations: 131.7 MB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4346, allocations: 87.92 kB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.4514, allocations: 3.798 MB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4515, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.4515, allocations: 4 kB / 1.031 GB, free: 9.711 MB / 0.6823 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.0003555/0.4519, allocations: 350.9 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.4519, allocations: 15.97 kB / 1.032 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.452, allocations: 34.56 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.452, allocations: 11.98 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4522, allocations: 171 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4522, allocations: 4 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4522, allocations: 4 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4524, allocations: 53.61 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4524, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4524, allocations: 4 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4524, allocations: 0 / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.4525, allocations: 7.984 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4527, allocations: 161.6 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.446e-05/0.4528, allocations: 38.53 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.4528, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4528, allocations: 30.56 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.4528, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003128/0.4532, allocations: 99.44 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4532, allocations: 85.23 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.4533, allocations: 89 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4534, allocations: 29.7 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.4534, allocations: 80.14 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.4534, allocations: 7.875 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.4535, allocations: 4 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4536, allocations: 318.8 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.4537, allocations: 12 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.4537, allocations: 16.11 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.844e-05/0.4538, allocations: 33.7 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4538, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002011/0.454, allocations: 99.28 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.4541, allocations: 35.27 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4541, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.4541, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.4542, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4542, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.4544, allocations: 12.08 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.4544, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6823 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.0001117/0.4545, allocations: 147.4 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.4546, allocations: 4 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.4546, allocations: 7.062 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4546, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4546, allocations: 4 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4546, allocations: 3.984 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4548, allocations: 153.6 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4548, allocations: 4 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.4548, allocations: 0 / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4548, allocations: 0 / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4548, allocations: 11.98 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4548, allocations: 0 / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4548, allocations: 3.938 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.4551, allocations: 114.8 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.4551, allocations: 81.06 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.4552, allocations: 8.031 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4554, allocations: 11.98 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.4554, allocations: 4 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.4554, allocations: 4 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.4555, allocations: 79.28 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.425e-06/0.4555, allocations: 0 / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002546/0.4557, allocations: 15.94 kB / 1.034 GB, free: 6.93 MB / 0.6823 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.0006657/0.4564, allocations: 0.6752 MB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4566, allocations: 83.38 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4566, allocations: 4.094 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.4567, allocations: 75.33 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.4569, allocations: 7.188 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.4578, allocations: 236.2 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4581, allocations: 0.677 MB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.756e-05/0.4582, allocations: 4 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4582, allocations: 7.438 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/0.4582, allocations: 4.062 kB / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.4776, allocations: 1.604 MB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.4779, allocations: 209.5 kB / 1.037 GB, free: 3.371 MB / 0.6823 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_7_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:4: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/freeArray.c:13: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1