Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.2 MB / 303.2 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 177.7 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.6305 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008876, allocations: 90.8 kB / 0.7439 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.000412, allocations: 15.5 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2478, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8237/1.071, allocations: 139.6 MB / 1.116 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/1.072, allocations: 101.9 kB / 1.116 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005506/1.077, allocations: 2.026 MB / 1.118 GB, free: 32.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.725e-06/1.077, allocations: 0 / 1.118 GB, free: 32.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.078, allocations: 0 / 1.118 GB, free: 32.3 MB / 0.698 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.0003324/1.078, allocations: 339.6 kB / 1.118 GB, free: 31.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.078, allocations: 15.58 kB / 1.118 GB, free: 31.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/1.078, allocations: 37.55 kB / 1.118 GB, free: 31.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/1.078, allocations: 0 / 1.118 GB, free: 31.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.078, allocations: 170.8 kB / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.078, allocations: 0 / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/1.078, allocations: 4 kB / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/1.078, allocations: 28.94 kB / 1.119 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.078, allocations: 0 / 1.119 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/1.078, allocations: 3.875 kB / 1.119 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.078, allocations: 3.938 kB / 1.119 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/1.078, allocations: 0 / 1.119 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/1.079, allocations: 471 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/1.079, allocations: 169.1 kB / 1.119 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.079, allocations: 79.09 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/1.079, allocations: 105.8 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/1.079, allocations: 3.938 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.819e-05/1.079, allocations: 33.45 kB / 1.119 GB, free: 30.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/1.079, allocations: 130.7 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/1.079, allocations: 99.88 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/1.079, allocations: 25.7 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/1.079, allocations: 80.14 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/1.079, allocations: 3.969 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/1.079, allocations: 0 / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.079, allocations: 314.8 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/1.079, allocations: 0 / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/1.079, allocations: 4 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.6e-05/1.079, allocations: 3.844 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.079, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.537e-05/1.079, allocations: 35.8 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.079, allocations: 11.62 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.079, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.079, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-05/1.08, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.08, allocations: 2.016 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/1.08, allocations: 96 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.08, allocations: 4 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.455e-05/1.08, allocations: 188.9 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/1.08, allocations: 101 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/1.08, allocations: 114.7 kB / 1.12 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-05/1.08, allocations: 180.1 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.988e-05/1.08, allocations: 180.3 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.08, allocations: 187.4 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/1.08, allocations: 401.1 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/1.08, allocations: 112.4 kB / 1.121 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/1.08, allocations: 101 kB / 1.122 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.039e-05/1.08, allocations: 180.2 kB / 1.122 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/1.08, allocations: 188.2 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/1.08, allocations: 179.6 kB / 1.122 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.027e-05/1.08, allocations: 180.2 kB / 1.122 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.081, allocations: 309.1 kB / 1.123 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/1.081, allocations: 192.9 kB / 1.123 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/1.081, allocations: 184.1 kB / 1.123 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/1.081, allocations: 108.1 kB / 1.123 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/1.081, allocations: 180.1 kB / 1.123 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.081, allocations: 101 kB / 1.123 GB, free: 26.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.871e-05/1.081, allocations: 83.06 kB / 1.123 GB, free: 26.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.081, allocations: 0 / 1.123 GB, free: 26.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002827/1.081, allocations: 30.72 kB / 1.123 GB, free: 26.5 MB / 0.698 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005902/1.082, allocations: 0.8708 MB / 1.124 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.346e-05/1.082, allocations: 3.844 kB / 1.124 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.082, allocations: 0 / 1.124 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/1.082, allocations: 3.938 kB / 1.124 GB, free: 25.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1.082, allocations: 0.5185 MB / 1.125 GB, free: 25.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/1.085, allocations: 1.105 MB / 1.126 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/1.085, allocations: 0.6763 MB / 1.126 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.556e-05/1.085, allocations: 4 kB / 1.126 GB, free: 24.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/1.085, allocations: 7.438 kB / 1.126 GB, free: 24.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/1.085, allocations: 3.812 kB / 1.126 GB, free: 24.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/1.096, allocations: 1.302 MB / 1.128 GB, free: 24.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.096, allocations: 308.9 kB / 1.128 GB, free: 23.68 MB / 0.698 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 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_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 8.0.1-maint.8.0.x/Resources/C-Sources" -c -o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c In file included from Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_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_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/C-Sources/cryptographicsHash.c:27:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o] Error 1