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_Integrand.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_Integrand,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",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.181/2.181, allocations: 248.6 MB / 255.9 MB, free: 7.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001747/0.001746, allocations: 190.5 kB / 315.1 MB, free: 4.273 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.099/2.099, allocations: 205.1 MB / 0.5658 GB, free: 300 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 83.09 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5234/0.5252, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.7774, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7155/1.493, allocations: 134.3 MB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/1.493, allocations: 100.4 kB / 1.015 GB, free: 5.797 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01631/1.51, allocations: 2.468 MB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/1.51, allocations: 16 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/1.51, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/1.51, allocations: 170 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.51, allocations: 7.938 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/1.51, allocations: 0 / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.517e-05/1.51, allocations: 4 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/1.511, allocations: 29.64 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.511, allocations: 4.625 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.511, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.511, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/1.511, allocations: 138.2 kB / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/1.511, allocations: 22.56 kB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/1.511, allocations: 12.83 kB / 1.018 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/1.512, allocations: 124.9 kB / 1.018 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.512, allocations: 38.06 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.056e-06/1.512, allocations: 0 / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003001/1.512, allocations: 41.62 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.512, allocations: 51.41 kB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.513, allocations: 103 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.513, allocations: 25.7 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/1.513, allocations: 80.14 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/1.513, allocations: 11.89 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/1.513, allocations: 0 / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.513, allocations: 314.6 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/1.513, allocations: 4 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.889e-05/1.513, allocations: 0 / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/1.513, allocations: 8.062 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.513, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/1.513, allocations: 41.42 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.513, allocations: 11.98 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.513, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.513, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/1.513, allocations: 4 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.514, allocations: 3.938 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/1.514, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/1.514, allocations: 0 / 1.018 GB, free: 2.191 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.673e-05/1.514, allocations: 108.9 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/1.514, allocations: 4 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.514, allocations: 49.52 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.514, allocations: 0 / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.514, allocations: 0 / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.589e-06/1.514, allocations: 0 / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/1.514, allocations: 141.3 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.514, allocations: 0 / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.361e-05/1.514, allocations: 4 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.514, allocations: 7.969 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.514, allocations: 0 / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.514, allocations: 0 / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.514, allocations: 0 / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002009/1.515, allocations: 74.34 kB / 1.019 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003662/1.515, allocations: 451.6 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/1.515, allocations: 77.11 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.515, allocations: 0 / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.727e-05/1.515, allocations: 0 / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/1.515, allocations: 4 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.515, allocations: 0 / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.011e-05/1.515, allocations: 86.84 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001229/1.516, allocations: 59.27 kB / 1.019 GB, free: 1.062 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 (2): * Single equations (assignments): 2 * 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.0007343/1.517, allocations: 203 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/1.517, allocations: 11.06 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.517, allocations: 0 / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/1.517, allocations: 4 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/1.518, allocations: 4 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/1.518, allocations: 67.91 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/1.518, allocations: 0.688 MB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/1.518, allocations: 0 / 1.02 GB, free: 36 kB / 0.6355 GB