Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.317/2.317, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001406/0.001406, allocations: 176 kB / 0.4901 GB, free: 2.242 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.565/1.565, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009886/0.0009885, allocations: 96.27 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003775, allocations: 11.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4872, allocations: 150.2 MB / 1.376 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4874, allocations: 87.94 kB / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.4982, allocations: 3.829 MB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4982, allocations: 0 / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4982, allocations: 0 / 1.38 GB, free: 15.32 MB / 0.8855 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.0003658/0.4986, allocations: 361 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4987, allocations: 12.03 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.4987, allocations: 34.56 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.4988, allocations: 7.938 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4989, allocations: 163 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.499, allocations: 4 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.499, allocations: 4 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4991, allocations: 57.66 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4991, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4992, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4992, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.4992, allocations: 12 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.4994, allocations: 161.6 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.4995, allocations: 26.55 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4995, allocations: 0 / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.4996, allocations: 34.62 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.4996, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0002799/0.4998, allocations: 107.4 kB / 1.381 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4999, allocations: 77.11 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.5, allocations: 96.92 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5, allocations: 29.64 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.5001, allocations: 84.14 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.5001, allocations: 7.906 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.5001, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5003, allocations: 323 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.5003, allocations: 7.984 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.5003, allocations: 12 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.5004, allocations: 41.69 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5004, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001509/0.5006, allocations: 95.33 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.5006, allocations: 29.7 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5006, allocations: 0 / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5007, allocations: 0 / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-06/0.5007, allocations: 4.078 kB / 1.382 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.5007, allocations: 8 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5008, allocations: 7.938 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5008, allocations: 0 / 1.382 GB, free: 13.29 MB / 0.8855 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.0001226/0.5009, allocations: 153.2 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.501, allocations: 4 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.501, allocations: 7.125 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.501, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.501, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.501, allocations: 4 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.5012, allocations: 153.6 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.5012, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.5012, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.5012, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5012, allocations: 7.984 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5012, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5012, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.5014, allocations: 122.8 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.5015, allocations: 85.05 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5015, allocations: 0 / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5016, allocations: 4 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5016, allocations: 4 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.5016, allocations: 11.98 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.5017, allocations: 79.22 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5017, allocations: 0 / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002167/0.5019, allocations: 16.03 kB / 1.382 GB, free: 12.55 MB / 0.8855 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.0006013/0.5025, allocations: 0.6804 MB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.5027, allocations: 83.42 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5027, allocations: 3.938 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/0.5028, allocations: 75.33 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.5029, allocations: 2.062 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.5036, allocations: 236.2 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.5039, allocations: 0.6731 MB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.035e-05/0.504, allocations: 8.109 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.504, allocations: 11.44 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of SimCode: time 6.11e-07/0.504, allocations: 0 / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.5167, allocations: 1.597 MB / 1.385 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5169, allocations: 215.5 kB / 1.386 GB, free: 8.996 MB / 0.8855 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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_latest_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 10.0.0-master/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1