Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7542/0.7542, allocations: 141.8 MB / 149.1 MB, free: 12.61 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 183.6 kB / 182 MB, free: 9.332 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.3 MB / 436 MB, free: 1.809 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009338, allocations: 97.28 kB / 0.507 GB, free: 17.67 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 274.7 kB / 0.5885 GB, free: 3.348 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.608e-06, allocations: 2.938 kB / 0.6759 GB, free: 136 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1736, allocations: 82.78 MB / 0.7568 GB, free: 82.28 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.3093, allocations: 109.7 MB / 0.8639 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.3098, allocations: 105.9 kB / 0.864 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01436/0.3241, allocations: 4.262 MB / 0.8681 GB, free: 100 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3242, allocations: 0 / 0.8681 GB, free: 100 kB / 0.5419 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.0005083/0.3247, allocations: 382.4 kB / 0.8685 GB, free: 15.68 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3248, allocations: 8.031 kB / 0.8685 GB, free: 15.67 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.3255, allocations: 71.66 kB / 0.8686 GB, free: 15.6 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3257, allocations: 163.1 kB / 0.8687 GB, free: 15.4 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3257, allocations: 3.938 kB / 0.8687 GB, free: 15.4 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3257, allocations: 4 kB / 0.8687 GB, free: 15.39 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002362/0.326, allocations: 87.8 kB / 0.8688 GB, free: 15.31 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3261, allocations: 77.61 kB / 0.8689 GB, free: 15.23 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3261, allocations: 3.938 kB / 0.8689 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3262, allocations: 0 / 0.8689 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3262, allocations: 0 / 0.8689 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.3264, allocations: 154.2 kB / 0.8691 GB, free: 15.04 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3266, allocations: 90.48 kB / 0.8691 GB, free: 14.94 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.3267, allocations: 40.97 kB / 0.8692 GB, free: 14.89 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3267, allocations: 0 / 0.8692 GB, free: 14.89 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3267, allocations: 34.55 kB / 0.8692 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3267, allocations: 0 / 0.8692 GB, free: 14.85 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5): time 0.0005909/0.3273, allocations: 113.6 kB / 0.8693 GB, free: 14.73 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3274, allocations: 59.28 kB / 0.8694 GB, free: 14.66 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.3275, allocations: 96.98 kB / 0.8695 GB, free: 14.56 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3275, allocations: 29.7 kB / 0.8695 GB, free: 14.53 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.3275, allocations: 84.14 kB / 0.8696 GB, free: 14.44 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.3276, allocations: 19.66 kB / 0.8696 GB, free: 14.42 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.3276, allocations: 0 / 0.8696 GB, free: 14.42 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3277, allocations: 318.8 kB / 0.8699 GB, free: 14.1 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.3278, allocations: 27.98 kB / 0.8699 GB, free: 14.07 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.249e-05/0.3279, allocations: 31.97 kB / 0.87 GB, free: 14.04 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3282, allocations: 35.97 kB / 0.87 GB, free: 14.01 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3282, allocations: 0 / 0.87 GB, free: 14.01 MB / 0.5575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004898/0.3287, allocations: 110 kB / 0.8701 GB, free: 13.89 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3287, allocations: 12 kB / 0.8701 GB, free: 13.88 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3288, allocations: 11.95 kB / 0.8701 GB, free: 13.87 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3288, allocations: 0 / 0.8701 GB, free: 13.87 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.329, allocations: 19.97 kB / 0.8701 GB, free: 13.85 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.329, allocations: 3.938 kB / 0.8701 GB, free: 13.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3291, allocations: 8 kB / 0.8702 GB, free: 13.84 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3292, allocations: 7.984 kB / 0.8702 GB, free: 13.83 MB / 0.5575 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.0001028/0.3293, allocations: 105 kB / 0.8703 GB, free: 13.72 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.3293, allocations: 7.906 kB / 0.8703 GB, free: 13.71 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.3299, allocations: 209.2 kB / 0.8705 GB, free: 13.51 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3299, allocations: 3.906 kB / 0.8705 GB, free: 13.5 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3299, allocations: 0 / 0.8705 GB, free: 13.5 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3299, allocations: 0 / 0.8705 GB, free: 13.5 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3301, allocations: 186.1 kB / 0.8706 GB, free: 13.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3301, allocations: 0 / 0.8706 GB, free: 13.29 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3303, allocations: 35.92 kB / 0.8707 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3303, allocations: 3.938 kB / 0.8707 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3303, allocations: 0 / 0.8707 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3303, allocations: 0 / 0.8707 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3303, allocations: 11.92 kB / 0.8707 GB, free: 13.23 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003761/0.3307, allocations: 184.9 kB / 0.8709 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.3308, allocations: 85.02 kB / 0.871 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3308, allocations: 3.906 kB / 0.871 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.3309, allocations: 4 kB / 0.871 GB, free: 12.93 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3309, allocations: 7.984 kB / 0.871 GB, free: 12.92 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.331, allocations: 4 kB / 0.871 GB, free: 12.91 MB / 0.5575 GB Notification: Performance of sort global known variables: time 5.107e-05/0.331, allocations: 83.28 kB / 0.8711 GB, free: 12.83 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0004829/0.3315, allocations: 83.86 kB / 0.8711 GB, free: 12.75 MB / 0.5575 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.0007827/0.3323, allocations: 247 kB / 0.8714 GB, free: 12.5 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3325, allocations: 99.88 kB / 0.8715 GB, free: 12.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3325, allocations: 0 / 0.8715 GB, free: 12.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3326, allocations: 71.92 kB / 0.8715 GB, free: 12.33 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3328, allocations: 1 kB / 0.8715 GB, free: 12.33 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3332, allocations: 155.5 kB / 0.8717 GB, free: 12.15 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.3337, allocations: 0.7192 MB / 0.8724 GB, free: 11.41 MB / 0.5575 GB Notification: Performance of SimCode: time 2.31e-07/0.3337, allocations: 4 kB / 0.8724 GB, free: 11.4 MB / 0.5575 GB Notification: Performance of Templates: time 0.005619/0.3394, allocations: 2.224 MB / 0.8746 GB, free: 9.227 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)