Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 179.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009023, allocations: 112.2 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 11 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 106.3 MB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4391, allocations: 133.3 MB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/0.4396, allocations: 111.9 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005188/0.4448, allocations: 2.013 MB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4448, allocations: 3.938 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4448, allocations: 4 kB / 1.032 GB, free: 8.523 MB / 0.6823 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.000364/0.4452, allocations: 348.1 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.4453, allocations: 8.031 kB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.4453, allocations: 30.56 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.4454, allocations: 3.984 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.4455, allocations: 171 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.4455, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.4455, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.4456, allocations: 37.69 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4456, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4456, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4457, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.4457, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.4461, allocations: 468.6 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.4462, allocations: 173.1 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4462, allocations: 75.28 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4462, allocations: 105.8 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.4462, allocations: 0 / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.73e-05/0.4463, allocations: 31.64 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.4464, allocations: 134.6 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.4465, allocations: 96.98 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4465, allocations: 25.7 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.4465, allocations: 80.14 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.4465, allocations: 0 / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.4466, allocations: 3.938 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4467, allocations: 322.8 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-06/0.4467, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.4467, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.4467, allocations: 4 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4467, allocations: 4.062 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001014/0.4469, allocations: 37.59 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4469, allocations: 4 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4469, allocations: 0 / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4469, allocations: 4 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.487e-05/0.4469, allocations: 3.938 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4469, allocations: 0 / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.447, allocations: 0 / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.447, allocations: 0 / 1.035 GB, free: 6.152 MB / 0.6823 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 0.0001097/0.4471, allocations: 193.1 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4472, allocations: 105 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.4472, allocations: 108.1 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/0.4473, allocations: 184.1 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.856e-05/0.4474, allocations: 180.3 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.905e-05/0.4474, allocations: 184.2 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4477, allocations: 405.2 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/0.4477, allocations: 109 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.4478, allocations: 104.9 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-05/0.4478, allocations: 180.3 kB / 1.036 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.4479, allocations: 184.2 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/0.448, allocations: 188.3 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.298e-05/0.4481, allocations: 180.2 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4482, allocations: 303.8 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.4483, allocations: 186 kB / 1.037 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.4484, allocations: 184.3 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/0.4485, allocations: 105.8 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.4485, allocations: 180.2 kB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.4486, allocations: 101 kB / 1.038 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.84e-05/0.4487, allocations: 83.28 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4487, allocations: 0 / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002783/0.449, allocations: 23.94 kB / 1.038 GB, free: 2.531 MB / 0.6823 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.0006527/0.4496, allocations: 0.875 MB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.413e-05/0.4497, allocations: 0 / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4497, allocations: 4.062 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-06/0.4497, allocations: 8.297 kB / 1.039 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.45, allocations: 0.5263 MB / 1.039 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.453, allocations: 1.101 MB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4533, allocations: 0.6809 MB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.4534, allocations: 4 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.4534, allocations: 12.81 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/0.4534, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.4653, allocations: 1.302 MB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.4656, allocations: 297.6 kB / 1.043 GB, free: 13.8 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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c:7: In file included from ./Buildings_maint_7_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 7.0.3-maint.7.0.x/Resources/C-Sources" -c -o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:2: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o] Error 1