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.CylindricalHeatSource_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.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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.276/2.276, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001671/0.001671, allocations: 187 kB / 315.1 MB, free: 4.258 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.861/1.861, allocations: 205.1 MB / 0.5658 GB, free: 352 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.00123/0.001229, allocations: 98.81 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4279/0.4291, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.6371, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6332/1.27, allocations: 133.6 MB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004089/1.271, allocations: 103.5 kB / 1.014 GB, free: 6.453 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02287/1.294, allocations: 4.567 MB / 1.019 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.294, allocations: 8 kB / 1.019 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/1.295, allocations: 71.22 kB / 1.019 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.295, allocations: 182.8 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.295, allocations: 0 / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/1.295, allocations: 0 / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003217/1.295, allocations: 81.66 kB / 1.019 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.296, allocations: 80.84 kB / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.296, allocations: 4 kB / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.296, allocations: 0 / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.296, allocations: 0 / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/1.296, allocations: 161 kB / 1.019 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/1.296, allocations: 83.94 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.296, allocations: 43.2 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/1.296, allocations: 0 / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.296, allocations: 37.56 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/1.296, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0007931/1.297, allocations: 114.6 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/1.297, allocations: 51.41 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/1.297, allocations: 96.75 kB / 1.02 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.297, allocations: 25.7 kB / 1.02 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/1.298, allocations: 84.08 kB / 1.02 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/1.298, allocations: 15.73 kB / 1.02 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/1.298, allocations: 7.938 kB / 1.02 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.298, allocations: 314.8 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.298, allocations: 33.66 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/1.298, allocations: 26.48 kB / 1.02 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/1.298, allocations: 45.89 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.298, allocations: 0 / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007591/1.299, allocations: 114.6 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.299, allocations: 8 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.299, allocations: 0 / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.299, allocations: 64 / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/1.3, allocations: 27.97 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.3, allocations: 0 / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/1.3, allocations: 7.938 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/1.3, allocations: 7.984 kB / 1.02 GB, free: 0.7734 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 (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 9.733e-05/1.3, allocations: 104.9 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/1.3, allocations: 7.812 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/1.301, allocations: 212.5 kB / 1.021 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.301, allocations: 0 / 1.021 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.301, allocations: 0 / 1.021 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.301, allocations: 3.984 kB / 1.021 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/1.301, allocations: 187 kB / 1.021 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.301, allocations: 0 / 1.021 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/1.302, allocations: 24 kB / 1.021 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.302, allocations: 7.984 kB / 1.021 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.302, allocations: 4 kB / 1.021 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.302, allocations: 7.906 kB / 1.021 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.302, allocations: 0 / 1.021 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005586/1.302, allocations: 186.9 kB / 1.021 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007751/1.303, allocations: 0.554 MB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/1.303, allocations: 89 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/1.303, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/1.303, allocations: 3.938 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.303, allocations: 11.89 kB / 1.022 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/1.303, allocations: 4 kB / 1.022 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.499e-05/1.304, allocations: 82.78 kB / 1.022 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001337/1.305, allocations: 94.55 kB / 1.022 GB, free: 15.25 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.0008598/1.306, allocations: 242.5 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003069/1.306, allocations: 100.2 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.306, allocations: 0 / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/1.306, allocations: 71.42 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/1.306, allocations: 7.938 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/1.307, allocations: 160.8 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/1.308, allocations: 0.7187 MB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 7.22e-07/1.308, allocations: 0 / 1.023 GB, free: 13.96 MB / 0.6511 GB