Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 188.1 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000888/0.0008878, allocations: 95.94 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.482e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2642, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.917/1.181, allocations: 149.3 MB / 1.358 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.182, allocations: 91.14 kB / 1.358 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009946/1.192, allocations: 3.835 MB / 1.362 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.192, allocations: 0 / 1.362 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.192, allocations: 3.875 kB / 1.362 GB, free: 34.68 MB / 0.8386 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.0002462/1.192, allocations: 341.2 kB / 1.362 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.192, allocations: 11.62 kB / 1.363 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/1.192, allocations: 37.69 kB / 1.363 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/1.192, allocations: 3.656 kB / 1.363 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.904e-05/1.192, allocations: 165 kB / 1.363 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.192, allocations: 3.844 kB / 1.363 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/1.192, allocations: 7.812 kB / 1.363 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.192, allocations: 54.7 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/1.192, allocations: 1.312 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.192, allocations: 0 / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.192, allocations: 0 / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/1.192, allocations: 14.69 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/1.192, allocations: 157.1 kB / 1.363 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/1.193, allocations: 31.14 kB / 1.363 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/1.193, allocations: 16.45 kB / 1.363 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/1.193, allocations: 3.938 kB / 1.363 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.193, allocations: 38.25 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/1.193, allocations: 0 / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002181/1.193, allocations: 90.48 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.193, allocations: 81.72 kB / 1.363 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/1.193, allocations: 90.45 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.193, allocations: 29.58 kB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/1.193, allocations: 80.14 kB / 1.363 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/1.193, allocations: 7.844 kB / 1.363 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/1.193, allocations: 3.875 kB / 1.363 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.193, allocations: 320.9 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/1.193, allocations: 7.812 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/1.193, allocations: 11.31 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/1.193, allocations: 43.94 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.193, allocations: 0 / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/1.193, allocations: 91.08 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.194, allocations: 34.78 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.194, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.194, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/1.194, allocations: 4.094 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.194, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/1.194, allocations: 7.109 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.194, allocations: 3.812 kB / 1.364 GB, free: 32.93 MB / 0.8386 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 7.673e-05/1.194, allocations: 147.5 kB / 1.364 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/1.194, allocations: 3.844 kB / 1.364 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/1.194, allocations: 3.125 kB / 1.364 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.194, allocations: 0 / 1.364 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.194, allocations: 5.297 kB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.194, allocations: 4 kB / 1.364 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/1.194, allocations: 150.9 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.194, allocations: 3.953 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/1.194, allocations: 0 / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.194, allocations: 0 / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.194, allocations: 8.938 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.194, allocations: 3.938 kB / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.194, allocations: 0 / 1.364 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/1.194, allocations: 119 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/1.194, allocations: 84.97 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/1.194, allocations: 5.844 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/1.194, allocations: 3.875 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/1.194, allocations: 9.203 kB / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/1.194, allocations: 0 / 1.364 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.333e-05/1.194, allocations: 80.45 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.194, allocations: 0 / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002065/1.195, allocations: 15.62 kB / 1.365 GB, free: 32.3 MB / 0.8386 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.0005348/1.195, allocations: 0.6734 MB / 1.365 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.195, allocations: 84.17 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.195, allocations: 0 / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/1.195, allocations: 71.83 kB / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/1.195, allocations: 0 / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/1.196, allocations: 218.7 kB / 1.366 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.196, allocations: 0.6719 MB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.798e-05/1.197, allocations: 6.797 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/1.197, allocations: 17.75 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.197, allocations: 3.844 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/1.211, allocations: 1.602 MB / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/1.212, allocations: 181.7 kB / 1.368 GB, free: 30.27 MB / 0.8386 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_9_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 -falign-functions -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 9.1.1-maint.9.1.x/Resources/C-Sources" -c -o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_9_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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1