Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.211/2.211, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 184.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.00111/0.001109, allocations: 104.6 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.729e-05, allocations: 4 kB / 0.787 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 106.2 MB / 0.8907 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8135/1.004, allocations: 133.1 MB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004151/1.004, allocations: 110.3 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007626/1.012, allocations: 2.024 MB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.012, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.012, allocations: 3.938 kB / 1.023 GB, free: 8 kB / 0.6355 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.0003376/1.012, allocations: 329.5 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.012, allocations: 8.031 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/1.012, allocations: 34.55 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/1.012, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.012, allocations: 171 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.012, allocations: 3.188 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/1.012, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/1.013, allocations: 33.64 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.013, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/1.013, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.013, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/1.013, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/1.013, allocations: 472.8 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/1.013, allocations: 172.1 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/1.013, allocations: 80.14 kB / 1.024 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/1.013, allocations: 75.28 kB / 1.024 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.013, allocations: 117.8 kB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/1.013, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.995e-05/1.013, allocations: 25.7 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/1.014, allocations: 130.6 kB / 1.024 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.014, allocations: 99.98 kB / 1.024 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.014, allocations: 25.7 kB / 1.024 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/1.014, allocations: 84.14 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/1.014, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.014, allocations: 3.188 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.014, allocations: 314.8 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/1.014, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/1.014, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/1.014, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.014, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001256/1.014, allocations: 37.69 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.014, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.014, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.014, allocations: 4.094 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/1.014, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.014, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/1.014, allocations: 4.953 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.014, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.6511 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 () * 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 9.256e-05/1.014, allocations: 183.8 kB / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/1.014, allocations: 104.9 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/1.014, allocations: 112.1 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.499e-05/1.015, allocations: 188.1 kB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001089/1.015, allocations: 176.3 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.584e-05/1.015, allocations: 184.3 kB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/1.015, allocations: 405.9 kB / 1.026 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.36e-05/1.015, allocations: 109 kB / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/1.015, allocations: 112.9 kB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.911e-05/1.015, allocations: 184.1 kB / 1.027 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/1.015, allocations: 180.2 kB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/1.015, allocations: 180.2 kB / 1.027 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.315e-05/1.015, allocations: 176.3 kB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/1.016, allocations: 311.7 kB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/1.016, allocations: 194 kB / 1.028 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/1.016, allocations: 176.3 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/1.016, allocations: 101 kB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/1.016, allocations: 184 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/1.016, allocations: 113.9 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.31e-05/1.016, allocations: 79.28 kB / 1.028 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.016, allocations: 0 / 1.028 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003542/1.017, allocations: 23.98 kB / 1.028 GB, free: 9.988 MB / 0.6511 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 (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.0007634/1.017, allocations: 0.8609 MB / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.432e-05/1.017, allocations: 7.625 kB / 1.029 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.017, allocations: 0 / 1.029 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/1.017, allocations: 0 / 1.029 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/1.018, allocations: 0.5263 MB / 1.03 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/1.023, allocations: 1.076 MB / 1.031 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.023, allocations: 0.677 MB / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.764e-05/1.023, allocations: 4 kB / 1.031 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/1.023, allocations: 7.438 kB / 1.031 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of SimCode: time 3.156e-06/1.023, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/1.044, allocations: 1.313 MB / 1.033 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003815/1.044, allocations: 252.5 kB / 1.033 GB, free: 5.395 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c:7: In file included from ./Buildings_7_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: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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:2: In file included from ./Buildings_7_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: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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o] Error 1