Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7082/0.7082, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 185.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 94.66 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.536e-06, allocations: 0 / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5972, allocations: 106.6 MB / 0.7251 GB, free: 5.777 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.5975, allocations: 115.9 kB / 0.7252 GB, free: 5.664 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01881/0.6164, allocations: 5.881 MB / 0.7309 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6164, allocations: 4 kB / 0.7309 GB, free: 15.79 MB / 0.4948 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.0004917/0.6169, allocations: 393.5 kB / 0.7313 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.617, allocations: 8.031 kB / 0.7313 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.6171, allocations: 7.906 kB / 0.7313 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.6172, allocations: 163.1 kB / 0.7315 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.6172, allocations: 0 / 0.7315 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.6173, allocations: 4 kB / 0.7315 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.836e-05/0.6173, allocations: 12 kB / 0.7315 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.6174, allocations: 41.53 kB / 0.7315 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6174, allocations: 4 kB / 0.7315 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6175, allocations: 0 / 0.7315 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.6175, allocations: 0 / 0.7315 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.6177, allocations: 142.2 kB / 0.7317 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.6178, allocations: 38.64 kB / 0.7317 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.6179, allocations: 12.86 kB / 0.7317 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.6192, allocations: 0.974 MB / 0.7327 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.6192, allocations: 46.55 kB / 0.7327 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.042e-06/0.6193, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0003308/0.6196, allocations: 61.47 kB / 0.7328 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6197, allocations: 51.41 kB / 0.7328 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.6198, allocations: 97.72 kB / 0.7329 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.6199, allocations: 25.7 kB / 0.7329 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.6199, allocations: 80.14 kB / 0.733 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.62, allocations: 16.73 kB / 0.733 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.62, allocations: 0 / 0.733 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.6202, allocations: 314.8 kB / 0.7333 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.6203, allocations: 12 kB / 0.7333 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.6203, allocations: 4 kB / 0.7333 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.6204, allocations: 7.984 kB / 0.7334 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6204, allocations: 4 kB / 0.7334 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001782/0.6206, allocations: 53.59 kB / 0.7334 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6206, allocations: 4 kB / 0.7334 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6207, allocations: 3.938 kB / 0.7334 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.6207, allocations: 3.938 kB / 0.7334 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6208, allocations: 15.98 kB / 0.7334 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.6209, allocations: 320 / 0.7334 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.6209, allocations: 8.188 kB / 0.7334 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.6209, allocations: 0 / 0.7334 GB, free: 12.79 MB / 0.4948 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 0.000136/0.6211, allocations: 104.9 kB / 0.7335 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.6211, allocations: 7.984 kB / 0.7336 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.6213, allocations: 60.2 kB / 0.7336 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6213, allocations: 4 kB / 0.7336 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.6214, allocations: 3.906 kB / 0.7336 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6214, allocations: 0 / 0.7336 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.6215, allocations: 134.2 kB / 0.7337 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6216, allocations: 8 kB / 0.7338 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.6217, allocations: 15.92 kB / 0.7338 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6217, allocations: 4 kB / 0.7338 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.6217, allocations: 0 / 0.7338 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6217, allocations: 3.984 kB / 0.7338 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6217, allocations: 0 / 0.7338 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001866/0.6219, allocations: 77.03 kB / 0.7339 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.622, allocations: 88.95 kB / 0.7339 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.622, allocations: 7.984 kB / 0.7339 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.571e-05/0.6221, allocations: 3.938 kB / 0.7339 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.6221, allocations: 4 kB / 0.734 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.6221, allocations: 0 / 0.734 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.447e-05/0.6222, allocations: 79.28 kB / 0.734 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003402/0.6225, allocations: 47.92 kB / 0.7341 GB, free: 12.07 MB / 0.4948 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.0003986/0.6229, allocations: 163.1 kB / 0.7342 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.623, allocations: 16 kB / 0.7342 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6231, allocations: 0 / 0.7342 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/0.6231, allocations: 12 kB / 0.7343 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.6233, allocations: 11.89 kB / 0.7343 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.6236, allocations: 67.86 kB / 0.7343 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.6241, allocations: 0.6915 MB / 0.735 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.6241, allocations: 0 / 0.735 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.004205/0.6283, allocations: 1.144 MB / 0.7361 GB, free: 9.961 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)