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.366/2.366, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.00113/0.00113, allocations: 184.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009201/0.0009199, allocations: 87.52 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.871e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2946, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.342, allocations: 150.2 MB / 1.365 GB, free: 3.523 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/1.342, allocations: 84.59 kB / 1.366 GB, free: 3.473 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/1.353, allocations: 3.836 MB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.884e-06/1.353, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.353, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 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.0003354/1.354, allocations: 356.6 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.354, allocations: 8.031 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/1.354, allocations: 30.56 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/1.354, allocations: 4 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.354, allocations: 167 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.354, allocations: 8 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.354, allocations: 4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.354, allocations: 48.86 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.354, allocations: 4 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.354, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.354, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/1.354, allocations: 15.25 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/1.354, allocations: 161 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/1.354, allocations: 30.61 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/1.354, allocations: 16.42 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/1.354, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.355, allocations: 30.56 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/1.355, allocations: 4 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.00022/1.355, allocations: 98.12 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1.355, allocations: 81.11 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/1.355, allocations: 89.03 kB / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.355, allocations: 33.27 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/1.355, allocations: 80.14 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/1.355, allocations: 8.625 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/1.355, allocations: 4 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.355, allocations: 318.8 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/1.355, allocations: 11.5 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/1.355, allocations: 8 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/1.355, allocations: 44.94 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.355, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001304/1.355, allocations: 93.14 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/1.355, allocations: 29.7 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.355, allocations: 3.938 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.355, allocations: 7.938 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/1.355, allocations: 0 / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.355, allocations: 0 / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/1.356, allocations: 11.97 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/1.356, allocations: 8.031 kB / 1.371 GB, free: 14.23 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 0.0001/1.356, allocations: 138.1 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/1.356, allocations: 4 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/1.356, allocations: 7.109 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.356, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.356, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/1.356, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/1.356, allocations: 153.6 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/1.356, allocations: 0 / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/1.356, allocations: 8 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/1.356, allocations: 0 / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.356, allocations: 3.125 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.356, allocations: 4 kB / 1.371 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.356, allocations: 3.984 kB / 1.371 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/1.356, allocations: 113 kB / 1.371 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/1.356, allocations: 83.94 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/1.356, allocations: 4 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/1.356, allocations: 12.02 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/1.356, allocations: 0 / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.356, allocations: 4 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.839e-05/1.356, allocations: 82.84 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.356, allocations: 0 / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001864/1.357, allocations: 12 kB / 1.372 GB, free: 13.53 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.0005693/1.357, allocations: 0.6739 MB / 1.372 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001389/1.357, allocations: 86.28 kB / 1.372 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.357, allocations: 0 / 1.372 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/1.357, allocations: 74.86 kB / 1.372 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/1.357, allocations: 7.938 kB / 1.372 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/1.358, allocations: 203.2 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/1.358, allocations: 0.6809 MB / 1.373 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.325e-05/1.358, allocations: 3.984 kB / 1.373 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/1.358, allocations: 7.438 kB / 1.373 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.359, allocations: 4 kB / 1.373 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/1.371, allocations: 1.607 MB / 1.375 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.371, allocations: 191.3 kB / 1.375 GB, free: 10.05 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 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: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 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: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_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