Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [: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.7632/0.7632, allocations: 141.8 MB / 149.1 MB, free: 13.19 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.001108/0.001109, allocations: 184.4 kB / 181.9 MB, free: 9.848 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.361/1.361, allocations: 221.4 MB / 436 MB, free: 2.277 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.001001/0.001, allocations: 95.34 kB / 0.507 GB, free: 11.05 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 272.4 kB / 0.5884 GB, free: 7.887 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.685e-06, allocations: 0 / 0.6759 GB, free: 14.19 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 82.78 MB / 0.7568 GB, free: 139.2 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.5263, allocations: 112.3 MB / 0.8664 GB, free: 26.73 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5267, allocations: 115.7 kB / 0.8665 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.01666/0.5434, allocations: 5.918 MB / 0.8723 GB, free: 20.73 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5435, allocations: 8.5 kB / 0.8723 GB, free: 20.73 MB / 0.5575 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.0004118/0.5439, allocations: 382.9 kB / 0.8727 GB, free: 20.31 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5439, allocations: 16.69 kB / 0.8727 GB, free: 20.29 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.544, allocations: 4.719 kB / 0.8727 GB, free: 20.29 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5441, allocations: 167.1 kB / 0.8729 GB, free: 20.09 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5441, allocations: 3.906 kB / 0.8729 GB, free: 20.08 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5442, allocations: 4.594 kB / 0.8729 GB, free: 20.08 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.713e-05/0.5442, allocations: 12.69 kB / 0.8729 GB, free: 20.07 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.5443, allocations: 37.69 kB / 0.8729 GB, free: 20.02 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5443, allocations: 4.828 kB / 0.8729 GB, free: 20.02 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5443, allocations: 0 / 0.8729 GB, free: 20.02 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5444, allocations: 0.6562 kB / 0.8729 GB, free: 20.02 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.5445, allocations: 138.2 kB / 0.8731 GB, free: 19.85 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.5446, allocations: 42.42 kB / 0.8731 GB, free: 19.8 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.5447, allocations: 17.08 kB / 0.8731 GB, free: 19.78 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.5454, allocations: 0.9778 MB / 0.8741 GB, free: 18.58 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5454, allocations: 34.56 kB / 0.8741 GB, free: 18.54 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.5454, allocations: 0 / 0.8741 GB, free: 18.54 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4): time 0.000228/0.5457, allocations: 45.69 kB / 0.8741 GB, free: 18.48 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.5457, allocations: 51.41 kB / 0.8742 GB, free: 18.42 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.5458, allocations: 105 kB / 0.8743 GB, free: 18.31 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.5458, allocations: 25.7 kB / 0.8743 GB, free: 18.28 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.682e-05/0.5458, allocations: 80.14 kB / 0.8744 GB, free: 18.2 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.5458, allocations: 19.75 kB / 0.8744 GB, free: 18.18 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.5458, allocations: 0 / 0.8744 GB, free: 18.18 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.5459, allocations: 318.8 kB / 0.8747 GB, free: 17.86 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.5459, allocations: 8 kB / 0.8747 GB, free: 17.85 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.5459, allocations: 4 kB / 0.8747 GB, free: 17.85 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.546, allocations: 8 kB / 0.8747 GB, free: 17.84 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.546, allocations: 4 kB / 0.8747 GB, free: 17.84 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.5461, allocations: 57.58 kB / 0.8748 GB, free: 17.77 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5462, allocations: 8 kB / 0.8748 GB, free: 17.77 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5462, allocations: 0 / 0.8748 GB, free: 17.77 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5462, allocations: 3.938 kB / 0.8748 GB, free: 17.76 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5463, allocations: 16 kB / 0.8748 GB, free: 17.75 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5463, allocations: 1.328 kB / 0.8748 GB, free: 17.75 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.5464, allocations: 3.906 kB / 0.8748 GB, free: 17.74 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.5464, allocations: 0 / 0.8748 GB, free: 17.74 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 (4): * Single equations (assignments): 4 * 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 5.57e-05/0.5464, allocations: 113 kB / 0.8749 GB, free: 17.62 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.5465, allocations: 7.844 kB / 0.8749 GB, free: 17.62 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.5466, allocations: 61.34 kB / 0.875 GB, free: 17.55 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5466, allocations: 0 / 0.875 GB, free: 17.55 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5466, allocations: 3.984 kB / 0.875 GB, free: 17.55 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5467, allocations: 0 / 0.875 GB, free: 17.55 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.5467, allocations: 138.2 kB / 0.8751 GB, free: 17.38 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5467, allocations: 0 / 0.8751 GB, free: 17.38 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.5468, allocations: 12 kB / 0.8752 GB, free: 17.36 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5468, allocations: 0 / 0.8752 GB, free: 17.36 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5468, allocations: 11.84 kB / 0.8752 GB, free: 17.35 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.5468, allocations: 3.984 kB / 0.8752 GB, free: 17.35 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5469, allocations: 0 / 0.8752 GB, free: 17.35 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001207/0.547, allocations: 81.2 kB / 0.8752 GB, free: 17.25 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.547, allocations: 85.14 kB / 0.8753 GB, free: 17.15 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.547, allocations: 4 kB / 0.8753 GB, free: 17.14 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.5471, allocations: 0 / 0.8753 GB, free: 17.14 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.5471, allocations: 3.984 kB / 0.8753 GB, free: 17.14 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.5471, allocations: 7.906 kB / 0.8753 GB, free: 17.13 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.49e-05/0.5471, allocations: 83.28 kB / 0.8754 GB, free: 17.05 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002662/0.5474, allocations: 43.88 kB / 0.8755 GB, free: 17.01 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 (4): * Single equations (assignments): 4 * 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.000255/0.5477, allocations: 159.1 kB / 0.8756 GB, free: 16.84 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.5478, allocations: 15.98 kB / 0.8756 GB, free: 16.83 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5478, allocations: 0 / 0.8756 GB, free: 16.83 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.5478, allocations: 15.94 kB / 0.8756 GB, free: 16.81 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.548, allocations: 6.016 kB / 0.8756 GB, free: 16.81 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.5482, allocations: 63.92 kB / 0.8757 GB, free: 16.72 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.5484, allocations: 0.6993 MB / 0.8764 GB, free: 16 MB / 0.5575 GB Notification: Performance of SimCode: time 3.61e-07/0.5484, allocations: 0 / 0.8764 GB, free: 16 MB / 0.5575 GB Notification: Performance of Templates: time 0.003442/0.5518, allocations: 1.12 MB / 0.8775 GB, free: 14.94 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)