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.52/1.52, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.0009626/0.0009627, allocations: 178.3 kB / 321.3 MB, free: 14.64 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.355/1.355, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009802/0.0009802, allocations: 102.4 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.125e-05, allocations: 8 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.8464, allocations: 133.2 MB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.8467, allocations: 109.3 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004921/0.8517, allocations: 2.02 MB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8517, allocations: 2.734 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8517, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 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.0002566/0.852, allocations: 330.5 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.852, allocations: 8.031 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.8521, allocations: 30.56 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.8521, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8522, allocations: 167 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.8522, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.8522, allocations: 2.312 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.8523, allocations: 29.69 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.8523, allocations: 4 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.8524, allocations: 4 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8524, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.8524, allocations: 3.938 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.8528, allocations: 464.2 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.8529, allocations: 168.1 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.8529, allocations: 84.14 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.8529, allocations: 75.28 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.853, allocations: 109.8 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.853, allocations: 0 / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 6.644e-05/0.8531, allocations: 29.64 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.8531, allocations: 137.7 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.8532, allocations: 89 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.8532, allocations: 29.7 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.8533, allocations: 91.31 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.8533, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8533, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8534, allocations: 314.8 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.8534, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.8534, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.414e-05/0.8535, allocations: 3.938 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8535, allocations: 4.062 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.259e-05/0.8536, allocations: 41.53 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8536, allocations: 8 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8536, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.8536, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.466e-05/0.8536, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8536, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/0.8537, allocations: 3.5 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.8537, allocations: 4 kB / 1.026 GB, free: 13.22 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 7.596e-05/0.8538, allocations: 184.2 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.8538, allocations: 101 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.8539, allocations: 112 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-05/0.8539, allocations: 180.3 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-05/0.854, allocations: 183.4 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-05/0.8541, allocations: 176.3 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.8543, allocations: 409.9 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.8543, allocations: 108.4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.8544, allocations: 105 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-05/0.8544, allocations: 184.2 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.8545, allocations: 184.5 kB / 1.028 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.884e-05/0.8545, allocations: 180.3 kB / 1.028 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.288e-05/0.8546, allocations: 180.2 kB / 1.028 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.8548, allocations: 315 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.8549, allocations: 185.3 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.8549, allocations: 184.2 kB / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.855, allocations: 101 kB / 1.029 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.8551, allocations: 184.2 kB / 1.029 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.8552, allocations: 109.9 kB / 1.029 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.8552, allocations: 82.28 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8552, allocations: 0 / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002579/0.8555, allocations: 20 kB / 1.03 GB, free: 9.621 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.0006237/0.8561, allocations: 0.861 MB / 1.03 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.872e-05/0.8562, allocations: 7.938 kB / 1.03 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8562, allocations: 4.062 kB / 1.03 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.8562, allocations: 0 / 1.03 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.8565, allocations: 0.5201 MB / 1.031 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.8596, allocations: 1.081 MB / 1.032 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.8598, allocations: 0.677 MB / 1.033 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.8598, allocations: 0 / 1.033 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.8599, allocations: 11.38 kB / 1.033 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.8599, allocations: 4 kB / 1.033 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.8703, allocations: 1.321 MB / 1.034 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.8705, allocations: 270.4 kB / 1.034 GB, free: 5.027 MB / 0.6511 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 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: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 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: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_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