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.189/2.189, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001081/0.001081, allocations: 179 kB / 498.1 MB, free: 5.773 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.422/1.422, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0008882/0.0008882, allocations: 92.39 kB / 0.9346 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 7.469 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.4268, allocations: 149.4 MB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4271, allocations: 91.92 kB / 1.369 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009919/0.4371, allocations: 3.83 MB / 1.373 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4371, allocations: 3.938 kB / 1.373 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4371, allocations: 0 / 1.373 GB, free: 8.75 MB / 0.8698 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.000319/0.4375, allocations: 357 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4375, allocations: 8.031 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.4376, allocations: 34.56 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.4376, allocations: 4 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4377, allocations: 167 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4377, allocations: 0 / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.4378, allocations: 8 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4379, allocations: 61.59 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4379, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4379, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4379, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.438, allocations: 8 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.4381, allocations: 157.6 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.4382, allocations: 30.59 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-06/0.4382, allocations: 4 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.4382, allocations: 34.62 kB / 1.374 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.4382, allocations: 0 / 1.374 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002191/0.4385, allocations: 107.2 kB / 1.374 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4385, allocations: 77.11 kB / 1.374 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.4386, allocations: 96.98 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4386, allocations: 25.95 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.4386, allocations: 84.14 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4387, allocations: 4 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.4387, allocations: 0 / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.4388, allocations: 322.7 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.4388, allocations: 11.98 kB / 1.374 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.4388, allocations: 8 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.4389, allocations: 41.69 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4389, allocations: 0 / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001242/0.439, allocations: 99.39 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4391, allocations: 29.7 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4391, allocations: 0 / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4391, allocations: 0 / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.4391, allocations: 4 kB / 1.374 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4391, allocations: 0 / 1.374 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4392, allocations: 7.984 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4392, allocations: 4 kB / 1.374 GB, free: 6.734 MB / 0.8698 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 9.538e-05/0.4393, allocations: 151.5 kB / 1.375 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4394, allocations: 4 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.16e-05/0.4394, allocations: 3.125 kB / 1.375 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4394, allocations: 4 kB / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4394, allocations: 0 / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4394, allocations: 3.938 kB / 1.375 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.4395, allocations: 157.5 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4395, allocations: 0 / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.4395, allocations: 0 / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4395, allocations: 4 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4395, allocations: 7.984 kB / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4395, allocations: 4 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4396, allocations: 0 / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4397, allocations: 118.8 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.4398, allocations: 85.05 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4398, allocations: 3.984 kB / 1.375 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.4399, allocations: 8 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.4399, allocations: 4.031 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.4399, allocations: 8 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.995e-05/0.44, allocations: 79.27 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 0 / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001895/0.4402, allocations: 19.88 kB / 1.375 GB, free: 5.973 MB / 0.8698 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.0004986/0.4407, allocations: 0.6921 MB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.4408, allocations: 79.39 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4409, allocations: 0 / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.4409, allocations: 71.39 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.441, allocations: 0 / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.4417, allocations: 240.4 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.4419, allocations: 0.677 MB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.442, allocations: 7.984 kB / 1.377 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.442, allocations: 7.438 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.442, allocations: 0 / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.456, allocations: 1.594 MB / 1.378 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.4562, allocations: 201.2 kB / 1.379 GB, free: 2.426 MB / 0.8698 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 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: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 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: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_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