Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.518/2.518, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.00148/0.00148, allocations: 166.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001117/0.001117, allocations: 82.92 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004955, allocations: 16.09 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.18, allocations: 139.4 MB / 1.114 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/1.181, allocations: 110 kB / 1.115 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007471/1.188, allocations: 2.029 MB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.188, allocations: 0 / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.188, allocations: 7.844 kB / 1.117 GB, free: 31.01 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.00034/1.188, allocations: 330.9 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.188, allocations: 11.67 kB / 1.117 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/1.189, allocations: 30.56 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/1.189, allocations: 0 / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.189, allocations: 173.5 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.189, allocations: 0 / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/1.189, allocations: 0 / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.904e-05/1.189, allocations: 29.58 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/1.189, allocations: 7.984 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/1.189, allocations: 0 / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.189, allocations: 0 / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/1.189, allocations: 3.938 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/1.189, allocations: 466 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/1.189, allocations: 168.3 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/1.19, allocations: 79.28 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/1.19, allocations: 112.6 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/1.19, allocations: 3.938 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.888e-05/1.19, allocations: 29.64 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.19, allocations: 126.7 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/1.19, allocations: 99 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/1.19, allocations: 29.7 kB / 1.118 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/1.19, allocations: 83.98 kB / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/1.19, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.19, allocations: 0 / 1.118 GB, free: 29.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.19, allocations: 318 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/1.19, allocations: 0 / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/1.19, allocations: 3.844 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.972e-05/1.19, allocations: 0 / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.19, allocations: 4.062 kB / 1.119 GB, free: 28.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001096/1.19, allocations: 40.53 kB / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.19, allocations: 5.219 kB / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.19, allocations: 3.75 kB / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.19, allocations: 0 / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/1.19, allocations: 0 / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.19, allocations: 0 / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/1.19, allocations: 0 / 1.119 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/1.19, allocations: 4.391 kB / 1.119 GB, free: 28.76 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 0.0001091/1.191, allocations: 196.1 kB / 1.119 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.191, allocations: 101 kB / 1.119 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/1.191, allocations: 115.9 kB / 1.119 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.854e-05/1.191, allocations: 176.3 kB / 1.119 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.005e-05/1.191, allocations: 183.1 kB / 1.119 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/1.191, allocations: 179.4 kB / 1.12 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/1.191, allocations: 407.7 kB / 1.12 GB, free: 27.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-05/1.191, allocations: 105.6 kB / 1.12 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.191, allocations: 108.5 kB / 1.12 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.996e-05/1.191, allocations: 183 kB / 1.12 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/1.191, allocations: 180.3 kB / 1.121 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/1.192, allocations: 180.3 kB / 1.121 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.217e-05/1.192, allocations: 184 kB / 1.121 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/1.192, allocations: 311.6 kB / 1.121 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/1.192, allocations: 181 kB / 1.121 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/1.192, allocations: 183.6 kB / 1.121 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/1.192, allocations: 112.8 kB / 1.122 GB, free: 25.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/1.192, allocations: 179.4 kB / 1.122 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/1.192, allocations: 104.9 kB / 1.122 GB, free: 25.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.311e-05/1.192, allocations: 82.72 kB / 1.122 GB, free: 25.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.192, allocations: 0 / 1.122 GB, free: 25.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003535/1.193, allocations: 25.97 kB / 1.122 GB, free: 25.22 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.0007483/1.193, allocations: 0.8659 MB / 1.123 GB, free: 24.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.441e-05/1.194, allocations: 7.781 kB / 1.123 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.194, allocations: 4.062 kB / 1.123 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-06/1.194, allocations: 0 / 1.123 GB, free: 24.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/1.194, allocations: 0.5295 MB / 1.123 GB, free: 23.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/1.198, allocations: 1.102 MB / 1.124 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/1.199, allocations: 0.6764 MB / 1.125 GB, free: 22.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.374e-05/1.199, allocations: 0 / 1.125 GB, free: 22.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/1.199, allocations: 13.75 kB / 1.125 GB, free: 22.92 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.199, allocations: 4 kB / 1.125 GB, free: 22.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/1.222, allocations: 1.294 MB / 1.126 GB, free: 22.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004178/1.222, allocations: 284.4 kB / 1.127 GB, free: 22.4 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c:7: In file included from ./Buildings_8_0_0_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 -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.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/cryptographicsHash.c:26:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o] Error 1