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.208/2.208, allocations: 248.5 MB / 261 MB, free: 6.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 188.9 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001102/0.001102, allocations: 100.7 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.689e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.827/1.02, allocations: 131.6 MB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.021, allocations: 83.94 kB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01768/1.038, allocations: 3.808 MB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/1.038, allocations: 4 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.038, allocations: 0 / 1.023 GB, free: 364 kB / 0.6355 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.0003657/1.039, allocations: 351.3 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.039, allocations: 8.031 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/1.039, allocations: 30.56 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/1.039, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.039, allocations: 170.1 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/1.039, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.039, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/1.039, allocations: 56.98 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.039, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.039, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.039, allocations: 3.938 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.957e-05/1.039, allocations: 19.73 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/1.04, allocations: 153.6 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/1.04, allocations: 30.36 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/1.04, allocations: 16.92 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/1.04, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.04, allocations: 38 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/1.04, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.000267/1.04, allocations: 87.27 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.04, allocations: 85.09 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/1.04, allocations: 88.75 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.04, allocations: 33.86 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/1.04, allocations: 80.14 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/1.04, allocations: 7.938 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/1.04, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.041, allocations: 314.8 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/1.041, allocations: 11.25 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/1.041, allocations: 19.05 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/1.041, allocations: 33.7 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.041, allocations: 4.062 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002094/1.041, allocations: 102.8 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/1.041, allocations: 33.7 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.041, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.041, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-06/1.041, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/1.041, allocations: 3.984 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.041, allocations: 7.984 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/1.041, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.6511 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 () * 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.0001136/1.041, allocations: 138.7 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/1.042, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/1.042, allocations: 10.95 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.042, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.042, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.042, allocations: 7.984 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/1.042, allocations: 149.6 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.042, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-06/1.042, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.042, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/1.042, allocations: 8 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.042, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.042, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/1.042, allocations: 121.4 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/1.042, allocations: 85 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/1.042, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/1.042, allocations: 7.984 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/1.042, allocations: 8.031 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/1.042, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.047e-05/1.043, allocations: 82.53 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.043, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002627/1.043, allocations: 16 kB / 1.025 GB, free: 13.65 MB / 0.6511 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 () * 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.0007015/1.043, allocations: 0.6644 MB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001994/1.044, allocations: 90.2 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.044, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/1.044, allocations: 67.03 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/1.044, allocations: 4.125 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/1.045, allocations: 216.8 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.045, allocations: 0.6692 MB / 1.027 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.075e-05/1.045, allocations: 7.984 kB / 1.027 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/1.045, allocations: 7.438 kB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.045, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/1.065, allocations: 1.612 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/1.066, allocations: 178.6 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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