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.569/2.569, allocations: 251 MB / 265.9 MB, free: 11.68 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.001559/0.001559, allocations: 182.1 kB / 325.5 MB, free: 2.883 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.282/2.282, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001161/0.001161, allocations: 100.9 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006703/0.0006706, allocations: 14.72 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.4421, allocations: 133.1 MB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004404/0.4426, allocations: 107.9 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007943/0.4505, allocations: 2.021 MB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4506, allocations: 4 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.4506, allocations: 0 / 1.031 GB, free: 9.969 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.0003682/0.451, allocations: 350 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4511, allocations: 8.031 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.4511, allocations: 34.56 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.4511, allocations: 0 / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4513, allocations: 167 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4513, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4513, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.4514, allocations: 33.7 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4514, allocations: 0 / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4515, allocations: 4 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.4515, allocations: 0 / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.4515, allocations: 11.94 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.452, allocations: 460.6 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.4521, allocations: 169.1 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.4521, allocations: 83.3 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4522, allocations: 105.8 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.4522, allocations: 3.938 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.378e-05/0.4523, allocations: 25.7 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.4524, allocations: 128.6 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4525, allocations: 101 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4525, allocations: 29.7 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4526, allocations: 84.12 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.4526, allocations: 0 / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.4526, allocations: 0 / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4528, allocations: 314.8 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.4528, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.4528, allocations: 7.938 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.4528, allocations: 4.062 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4528, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001166/0.453, allocations: 37.64 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.453, allocations: 4 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.453, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.453, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-05/0.4531, allocations: 3.984 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4531, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.4531, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4531, allocations: 7.953 kB / 1.033 GB, free: 7.598 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.0001093/0.4533, allocations: 185.2 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.4533, allocations: 112.8 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.4534, allocations: 112 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/0.4535, allocations: 180.2 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-05/0.4536, allocations: 180.4 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/0.4536, allocations: 180.3 kB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.4539, allocations: 417.1 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/0.454, allocations: 105 kB / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.454, allocations: 101 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-05/0.4541, allocations: 184.2 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.4542, allocations: 176.3 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.936e-05/0.4543, allocations: 184.2 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.854e-05/0.4544, allocations: 184.2 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4545, allocations: 303.7 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4546, allocations: 190.1 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/0.4547, allocations: 184.2 kB / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.4548, allocations: 101.8 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.4549, allocations: 180.3 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.455, allocations: 104.9 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.4551, allocations: 87.27 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4551, allocations: 0 / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003675/0.4554, allocations: 19.94 kB / 1.036 GB, free: 3.977 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.0008466/0.4563, allocations: 0.8761 MB / 1.037 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.415e-05/0.4564, allocations: 12.3 kB / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4564, allocations: 0 / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.4564, allocations: 0 / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4568, allocations: 0.5195 MB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.4618, allocations: 1.112 MB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4621, allocations: 0.6731 MB / 1.039 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.4621, allocations: 4 kB / 1.039 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.4622, allocations: 15.38 kB / 1.039 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/0.4622, allocations: 0 / 1.039 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4854, allocations: 1.293 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004492/0.4859, allocations: 295.1 kB / 1.041 GB, free: 15.23 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 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: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 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: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_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