Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [: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 loadModel(Buildings): time 4.233/4.233, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5419/4.775, allocations: 104.4 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/5.004, allocations: 98.73 MB / 0.6283 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2566/5.261, allocations: 125.3 MB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004454/5.262, allocations: 107.5 kB / 0.7508 GB, free: 12.11 MB / 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.008024/5.27, allocations: 2.008 MB / 0.7528 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/5.27, allocations: 8 kB / 0.7528 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/5.27, allocations: 4 kB / 0.7528 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/5.27, allocations: 159.1 kB / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/5.27, allocations: 0 / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/5.27, allocations: 0 / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.201e-05/5.27, allocations: 15.94 kB / 0.753 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.071e-05/5.27, allocations: 37.59 kB / 0.753 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/5.27, allocations: 3.938 kB / 0.753 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/5.27, allocations: 0 / 0.753 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/5.27, allocations: 3.938 kB / 0.753 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/5.271, allocations: 441.2 kB / 0.7534 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.175e-05/5.271, allocations: 169.1 kB / 0.7536 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/5.271, allocations: 80.86 kB / 0.7537 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/5.271, allocations: 79.22 kB / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/5.271, allocations: 113.8 kB / 0.7538 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/5.271, allocations: 0 / 0.7538 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.89e-05/5.271, allocations: 29.69 kB / 0.7539 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/5.271, allocations: 59.39 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/5.271, allocations: 96.98 kB / 0.754 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/5.271, allocations: 25.7 kB / 0.754 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/5.271, allocations: 80.14 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/5.271, allocations: 4 kB / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/5.271, allocations: 0 / 0.7541 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001167/5.271, allocations: 310.8 kB / 0.7544 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/5.271, allocations: 0 / 0.7544 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/5.271, allocations: 0 / 0.7544 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/5.271, allocations: 19.95 kB / 0.7544 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/5.271, allocations: 0 / 0.7544 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001492/5.272, allocations: 37.64 kB / 0.7545 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/5.272, allocations: 7.125 kB / 0.7545 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/5.272, allocations: 0 / 0.7545 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/5.272, allocations: 3.984 kB / 0.7545 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/5.272, allocations: 4 kB / 0.7545 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/5.272, allocations: 3.984 kB / 0.7545 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/5.272, allocations: 0 / 0.7545 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/5.272, allocations: 4.031 kB / 0.7545 GB, free: 8.113 MB / 0.6355 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 0.0001492/5.272, allocations: 180.2 kB / 0.7547 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/5.272, allocations: 106.6 kB / 0.7548 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/5.272, allocations: 111.9 kB / 0.7549 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.622e-05/5.272, allocations: 180.2 kB / 0.7551 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/5.272, allocations: 176.3 kB / 0.7552 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.53e-05/5.272, allocations: 188.2 kB / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/5.273, allocations: 377.8 kB / 0.7558 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.706e-05/5.273, allocations: 108.9 kB / 0.7559 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/5.273, allocations: 108.8 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.711e-05/5.273, allocations: 184.3 kB / 0.7561 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/5.273, allocations: 180.3 kB / 0.7563 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.654e-05/5.273, allocations: 180.2 kB / 0.7565 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-05/5.273, allocations: 180.2 kB / 0.7567 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001763/5.273, allocations: 303.8 kB / 0.7569 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002999/5.274, allocations: 0.672 MB / 0.7576 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/5.274, allocations: 190 kB / 0.7578 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/5.274, allocations: 176.3 kB / 0.758 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/5.274, allocations: 109.3 kB / 0.7581 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/5.274, allocations: 192.1 kB / 0.7582 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/5.274, allocations: 109 kB / 0.7583 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.855e-05/5.274, allocations: 79.28 kB / 0.7584 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001271/5.276, allocations: 23.98 kB / 0.7584 GB, free: 3.84 MB / 0.6355 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.0005456/5.276, allocations: 222.4 kB / 0.7587 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001031/5.276, allocations: 7.938 kB / 0.7587 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/5.276, allocations: 0 / 0.7587 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/5.276, allocations: 0 / 0.7587 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/5.277, allocations: 0.5146 MB / 0.7592 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/5.282, allocations: 1.033 MB / 0.7602 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007514/5.283, allocations: 0.6841 MB / 0.7608 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/5.283, allocations: 0 / 0.7608 GB, free: 1.312 MB / 0.6355 GB