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_Length.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_Length,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.176/2.176, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001684/0.001684, allocations: 179.6 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001294/0.001294, allocations: 85.58 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4693/0.4706, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.6786, allocations: 106.2 MB / 0.8835 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/1.385, allocations: 135.8 MB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005754/1.386, allocations: 114.9 kB / 1.016 GB, free: 4.277 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.02103/1.407, allocations: 3.055 MB / 1.019 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.407, allocations: 8 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/1.407, allocations: 7.906 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/1.408, allocations: 167.1 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/1.408, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/1.408, allocations: 7.938 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002821/1.408, allocations: 39.41 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/1.408, allocations: 52.61 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.408, allocations: 0 / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1.408, allocations: 7.891 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.408, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/1.409, allocations: 151.9 kB / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/1.409, allocations: 42 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.409, allocations: 20.42 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/1.409, allocations: 0 / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/1.409, allocations: 40.88 kB / 1.02 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.806e-06/1.409, allocations: 0 / 1.02 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005956/1.41, allocations: 73.64 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/1.41, allocations: 55.41 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/1.41, allocations: 101.2 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/1.41, allocations: 25.7 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/1.41, allocations: 80.14 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/1.41, allocations: 22.58 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/1.41, allocations: 0 / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.41, allocations: 314.1 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/1.41, allocations: 11.88 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/1.411, allocations: 15.98 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/1.411, allocations: 15.38 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.411, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005644/1.411, allocations: 74.14 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.411, allocations: 4 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.412, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.412, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/1.412, allocations: 19.88 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.412, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/1.412, allocations: 6.375 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/1.412, allocations: 3.984 kB / 1.02 GB, free: 132 kB / 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 (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 prepare postOptimizeDAE: time 0.0001424/1.412, allocations: 112.9 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/1.412, allocations: 0 / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/1.414, allocations: 231 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.414, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.414, allocations: 3.984 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.414, allocations: 8 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/1.414, allocations: 164 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.414, allocations: 0 / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/1.415, allocations: 31.92 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.415, allocations: 0 / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/1.415, allocations: 11.5 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.415, allocations: 3.906 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.415, allocations: 3.984 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006778/1.415, allocations: 135.6 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008533/1.416, allocations: 0.5073 MB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/1.417, allocations: 88.95 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/1.417, allocations: 3.906 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.417, allocations: 256 / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/1.417, allocations: 15.36 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/1.417, allocations: 8 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.609e-05/1.417, allocations: 94.88 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00238/1.419, allocations: 63.88 kB / 1.022 GB, free: 14.64 MB / 0.6511 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 (16): * Single equations (assignments): 16 * 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.001117/1.421, allocations: 195 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003364/1.421, allocations: 50.73 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.421, allocations: 0 / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/1.421, allocations: 48.88 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/1.421, allocations: 11.05 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/1.422, allocations: 117.5 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/1.423, allocations: 0.7114 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.893e-06/1.423, allocations: 3.938 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB