Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001143/0.001143, allocations: 185 kB / 371.6 MB, free: 3.355 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.755/1.755, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009538/0.0009543, allocations: 91.17 kB / 0.745 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.947e-05, allocations: 8 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9249/1.253, allocations: 140.5 MB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.253, allocations: 106.9 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0044/1.257, allocations: 2.019 MB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.257, allocations: 0.625 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.257, allocations: 0.6875 kB / 1.119 GB, free: 42.4 MB / 0.7448 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.0001972/1.258, allocations: 322.8 kB / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.258, allocations: 8.031 kB / 1.12 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/1.258, allocations: 31.56 kB / 1.12 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/1.258, allocations: 9.25 kB / 1.12 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.579e-05/1.258, allocations: 162.5 kB / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/1.258, allocations: 8.797 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/1.258, allocations: 1.641 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/1.258, allocations: 30.8 kB / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/1.258, allocations: 0 / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/1.258, allocations: 0.5 kB / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.258, allocations: 0.5 kB / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/1.258, allocations: 4.625 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/1.258, allocations: 471.9 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/1.258, allocations: 169.1 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/1.258, allocations: 84.14 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/1.258, allocations: 75.28 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.258, allocations: 107.3 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/1.258, allocations: 2.062 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.544e-05/1.258, allocations: 31.45 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.258, allocations: 134 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/1.259, allocations: 96.75 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/1.259, allocations: 26.86 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/1.259, allocations: 80.14 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/1.259, allocations: 0 / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.259, allocations: 7.25 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/1.259, allocations: 314.8 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/1.259, allocations: 4 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/1.259, allocations: 0 / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.521e-05/1.259, allocations: 3.422 kB / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.259, allocations: 0 / 1.121 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.778e-05/1.259, allocations: 36.05 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.259, allocations: 4 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.259, allocations: 4.094 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.259, allocations: 0.5625 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.627e-05/1.259, allocations: 4 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.259, allocations: 3.938 kB / 1.121 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/1.259, allocations: 0.7031 kB / 1.121 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/1.259, allocations: 0 / 1.121 GB, free: 40.03 MB / 0.7448 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 5.607e-05/1.259, allocations: 187.7 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/1.259, allocations: 105.9 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/1.259, allocations: 108.1 kB / 1.122 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.259, allocations: 180.2 kB / 1.122 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.259, allocations: 179.6 kB / 1.122 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/1.259, allocations: 184.2 kB / 1.122 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.259, allocations: 406.2 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.259, allocations: 105 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/1.259, allocations: 112.9 kB / 1.123 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/1.259, allocations: 176.3 kB / 1.123 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.259, allocations: 184.1 kB / 1.123 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-05/1.259, allocations: 181 kB / 1.123 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.747e-05/1.259, allocations: 184.2 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.485e-05/1.26, allocations: 306.8 kB / 1.124 GB, free: 37.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/1.26, allocations: 190.3 kB / 1.124 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/1.26, allocations: 176.3 kB / 1.124 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/1.26, allocations: 108.9 kB / 1.124 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/1.26, allocations: 187.9 kB / 1.124 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/1.26, allocations: 101.9 kB / 1.125 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.359e-05/1.26, allocations: 79.28 kB / 1.125 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.26, allocations: 0 / 1.125 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002421/1.26, allocations: 34.64 kB / 1.125 GB, free: 36.46 MB / 0.7448 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.0005038/1.261, allocations: 0.8668 MB / 1.126 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.921e-05/1.261, allocations: 0 / 1.126 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.261, allocations: 0 / 1.126 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.557e-06/1.261, allocations: 7.938 kB / 1.126 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/1.261, allocations: 0.5254 MB / 1.126 GB, free: 35.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.263, allocations: 1.064 MB / 1.127 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/1.264, allocations: 0.6763 MB / 1.128 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.443e-05/1.264, allocations: 4.75 kB / 1.128 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/1.264, allocations: 14.86 kB / 1.128 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of SimCode: time 5.52e-07/1.264, allocations: 0 / 1.128 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/1.276, allocations: 1.303 MB / 1.129 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.276, allocations: 260.3 kB / 1.129 GB, free: 32.72 MB / 0.7448 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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.c:7: In file included from ./Buildings_8_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 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c In file included from Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_functions.o] Error 1