Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6789/0.6789, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 87.05 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.694e-06, allocations: 4 kB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 76.75 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.7068, allocations: 103.5 MB / 0.7221 GB, free: 8.828 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.7071, allocations: 107.9 kB / 0.7222 GB, free: 8.723 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.004783/0.7119, allocations: 1.804 MB / 0.7239 GB, free: 6.926 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.712, allocations: 0.5469 kB / 0.7239 GB, free: 6.926 MB / 490.7 MB 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.0002778/0.7123, allocations: 324.8 kB / 0.7242 GB, free: 6.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7123, allocations: 12.03 kB / 0.7243 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.7123, allocations: 0 / 0.7243 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.7125, allocations: 167.1 kB / 0.7244 GB, free: 6.352 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.7125, allocations: 0 / 0.7244 GB, free: 6.352 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.7125, allocations: 3.906 kB / 0.7244 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.102e-05/0.7126, allocations: 0.8125 kB / 0.7244 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.49e-05/0.7126, allocations: 33.64 kB / 0.7244 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.7127, allocations: 0 / 0.7244 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.7127, allocations: 0 / 0.7244 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.7127, allocations: 7.984 kB / 0.7245 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.7131, allocations: 441.2 kB / 0.7249 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.7132, allocations: 175.5 kB / 0.725 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.7133, allocations: 80.14 kB / 0.7251 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.7133, allocations: 75.28 kB / 0.7252 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.7133, allocations: 113.8 kB / 0.7253 GB, free: 5.355 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7134, allocations: 0 / 0.7253 GB, free: 5.355 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.11e-05/0.7134, allocations: 33.7 kB / 0.7253 GB, free: 5.316 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.7135, allocations: 51.41 kB / 0.7254 GB, free: 5.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.7136, allocations: 92.98 kB / 0.7255 GB, free: 5.156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.7136, allocations: 25.7 kB / 0.7255 GB, free: 5.125 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.7136, allocations: 84.08 kB / 0.7256 GB, free: 5.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.7136, allocations: 4 kB / 0.7256 GB, free: 5.035 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.7136, allocations: 0 / 0.7256 GB, free: 5.035 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7138, allocations: 322.8 kB / 0.7259 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.7138, allocations: 0 / 0.7259 GB, free: 4.711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.7138, allocations: 0 / 0.7259 GB, free: 4.711 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/0.7139, allocations: 4 kB / 0.7259 GB, free: 4.707 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7139, allocations: 3.984 kB / 0.7259 GB, free: 4.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001334/0.7141, allocations: 42.48 kB / 0.7259 GB, free: 4.656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7141, allocations: 8.094 kB / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7141, allocations: 0 / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7141, allocations: 0 / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.7141, allocations: 0 / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7141, allocations: 0 / 0.7259 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.7142, allocations: 4 kB / 0.7259 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.7142, allocations: 3.984 kB / 0.726 GB, free: 4.641 MB / 490.7 MB 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 0.0001189/0.7143, allocations: 180.2 kB / 0.7261 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.7144, allocations: 104.9 kB / 0.7262 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.7145, allocations: 116.1 kB / 0.7263 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.7145, allocations: 180.3 kB / 0.7265 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-05/0.7146, allocations: 176.3 kB / 0.7267 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-05/0.7147, allocations: 184.2 kB / 0.7268 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.715, allocations: 381.7 kB / 0.7272 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.715, allocations: 105.7 kB / 0.7273 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.7151, allocations: 108.9 kB / 0.7274 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.509e-05/0.7151, allocations: 176.3 kB / 0.7276 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/0.7152, allocations: 184.3 kB / 0.7278 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.221e-05/0.7153, allocations: 184.2 kB / 0.7279 GB, free: 2.484 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.767e-05/0.7154, allocations: 176.3 kB / 0.7281 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000141/0.7155, allocations: 311.7 kB / 0.7284 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.7156, allocations: 182.1 kB / 0.7286 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.7157, allocations: 185.2 kB / 0.7288 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.7158, allocations: 104.9 kB / 0.7289 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.7159, allocations: 180.3 kB / 0.729 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.716, allocations: 101 kB / 0.7291 GB, free: 1.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.488e-05/0.716, allocations: 79.28 kB / 0.7292 GB, free: 1.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.7163, allocations: 35.91 kB / 0.7292 GB, free: 1.074 MB / 490.7 MB 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.0004195/0.7167, allocations: 234.3 kB / 0.7295 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.516e-05/0.7168, allocations: 4 kB / 0.7295 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7168, allocations: 0 / 0.7295 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.7168, allocations: 0 / 0.7295 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.7172, allocations: 0.5223 MB / 0.73 GB, free: 324 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.7202, allocations: 1.119 MB / 0.7311 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7206, allocations: 0.688 MB / 0.7317 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/0.7206, allocations: 0 / 0.7317 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.002873/0.7235, allocations: 0.6467 MB / 0.7324 GB, free: 13.85 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_ShaGFunction -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction_functions.c:6: ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction_includes.h:4:10: fatal error: 'cryptographicsHash.c' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.ShaGFunction_functions.o] Error 1