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.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 248.6 MB / 255.9 MB, free: 312 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002643/0.002643, allocations: 186.1 kB / 315.1 MB, free: 7.707 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.2/2.2, allocations: 205.1 MB / 0.5658 GB, free: 25.47 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.00129/0.00129, allocations: 94.58 kB / 0.67 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2897/0.291, allocations: 112.4 MB / 0.7798 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.8526, allocations: 106.2 MB / 0.8835 GB, free: 77.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/1.137, allocations: 131.7 MB / 1.012 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005811/1.137, allocations: 107.8 kB / 1.012 GB, free: 9.25 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01244/1.15, allocations: 1.804 MB / 1.014 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.15, allocations: 8 kB / 1.014 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/1.15, allocations: 11.89 kB / 1.014 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/1.15, allocations: 167 kB / 1.014 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/1.15, allocations: 0 / 1.014 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/1.15, allocations: 4 kB / 1.014 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.983e-05/1.151, allocations: 8 kB / 1.014 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/1.151, allocations: 37.69 kB / 1.014 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.151, allocations: 7.844 kB / 1.014 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.151, allocations: 0 / 1.014 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.151, allocations: 0 / 1.014 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/1.151, allocations: 134.2 kB / 1.014 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/1.151, allocations: 50.61 kB / 1.014 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/1.152, allocations: 16.86 kB / 1.014 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/1.153, allocations: 1.478 MB / 1.016 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/1.153, allocations: 30.56 kB / 1.016 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 7.504e-06/1.153, allocations: 3.984 kB / 1.016 GB, free: 5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0003609/1.154, allocations: 53.59 kB / 1.016 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.154, allocations: 51.41 kB / 1.016 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/1.154, allocations: 85 kB / 1.016 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/1.154, allocations: 25.7 kB / 1.016 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/1.154, allocations: 84.14 kB / 1.016 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/1.154, allocations: 11.75 kB / 1.016 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.154, allocations: 0 / 1.016 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.154, allocations: 318.8 kB / 1.016 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/1.154, allocations: 8 kB / 1.016 GB, free: 4.332 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/1.155, allocations: 11.94 kB / 1.016 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.155, allocations: 12 kB / 1.016 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.155, allocations: 3.938 kB / 1.016 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002657/1.155, allocations: 49.69 kB / 1.017 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.155, allocations: 4 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.155, allocations: 0 / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.155, allocations: 3.984 kB / 1.017 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.155, allocations: 8 kB / 1.017 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.155, allocations: 3.906 kB / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/1.155, allocations: 4 kB / 1.017 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.155, allocations: 4 kB / 1.017 GB, free: 4.223 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001201/1.156, allocations: 103.6 kB / 1.017 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/1.156, allocations: 3.906 kB / 1.017 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/1.156, allocations: 69.39 kB / 1.017 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.156, allocations: 4 kB / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.156, allocations: 0 / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.156, allocations: 0 / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/1.156, allocations: 142.2 kB / 1.017 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.156, allocations: 3.938 kB / 1.017 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/1.156, allocations: 15.91 kB / 1.017 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.156, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.157, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/1.157, allocations: 3.984 kB / 1.017 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.157, allocations: 0 / 1.017 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003593/1.157, allocations: 101 kB / 1.017 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006739/1.158, allocations: 485.7 kB / 1.017 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/1.158, allocations: 85.02 kB / 1.018 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/1.158, allocations: 3.984 kB / 1.018 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/1.158, allocations: 0 / 1.018 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/1.158, allocations: 4.062 kB / 1.018 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.158, allocations: 4 kB / 1.018 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.034e-05/1.158, allocations: 75.34 kB / 1.018 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002256/1.16, allocations: 43.92 kB / 1.018 GB, free: 2.988 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0009731/1.161, allocations: 183.1 kB / 1.018 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001905/1.162, allocations: 23.98 kB / 1.018 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.162, allocations: 0 / 1.018 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/1.162, allocations: 16 kB / 1.018 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/1.162, allocations: 10.02 kB / 1.018 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/1.162, allocations: 84.56 kB / 1.018 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/1.163, allocations: 0.6976 MB / 1.019 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/1.163, allocations: 0 / 1.019 GB, free: 1.926 MB / 0.6667 GB