Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5958/0.5958, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.0008112, allocations: 99.41 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.652e-06, allocations: 2.5 kB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.322/0.4311, allocations: 118.5 MB / 0.749 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4313, allocations: 99.94 kB / 0.7491 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04787/0.4792, allocations: 15.97 MB / 0.7647 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.4793, allocations: 7.688 kB / 0.7647 GB, free: 6.203 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001798/0.4811, allocations: 0.7936 MB / 0.7654 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4811, allocations: 13.81 kB / 0.7655 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.4812, allocations: 41.16 kB / 0.7655 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.4817, allocations: 368 kB / 0.7659 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4818, allocations: 6.906 kB / 0.7659 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.4819, allocations: 28.33 kB / 0.7659 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002503/0.4821, allocations: 174 kB / 0.7661 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4824, allocations: 180.4 kB / 0.7662 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4824, allocations: 0 / 0.7662 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4824, allocations: 1.062 kB / 0.7662 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4824, allocations: 3.312 kB / 0.7662 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.4836, allocations: 0.9597 MB / 0.7672 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.4839, allocations: 288.6 kB / 0.7674 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.4841, allocations: 134.4 kB / 0.7676 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4841, allocations: 2.5 kB / 0.7676 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.4841, allocations: 31.56 kB / 0.7676 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.4842, allocations: 0 / 0.7676 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.0005943/0.4848, allocations: 331 kB / 0.7679 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4848, allocations: 62.73 kB / 0.768 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4851, allocations: 332.3 kB / 0.7683 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.4851, allocations: 27.02 kB / 0.7683 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.4852, allocations: 135.9 kB / 0.7684 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.4853, allocations: 93.44 kB / 0.7685 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4854, allocations: 0.9688 kB / 0.7685 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.4855, allocations: 350.7 kB / 0.7689 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.4859, allocations: 337.2 kB / 0.7692 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.4864, allocations: 392.5 kB / 0.7696 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.487, allocations: 379.3 kB / 0.7699 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.487, allocations: 0 / 0.7699 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001323/0.4883, allocations: 0.8697 MB / 0.7708 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.4883, allocations: 5.562 kB / 0.7708 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4883, allocations: 0 / 0.7708 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.4885, allocations: 29.97 kB / 0.7708 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.4894, allocations: 146.8 kB / 0.771 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009107/0.4904, allocations: 1.291 MB / 0.7722 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4919, allocations: 84.16 kB / 0.7723 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.492, allocations: 29.34 kB / 0.7723 GB, free: 17.93 MB / 0.5105 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.4921, allocations: 111 kB / 0.7724 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.4922, allocations: 32.5 kB / 0.7725 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.4922, allocations: 37.16 kB / 0.7725 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4922, allocations: 2.156 kB / 0.7725 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4923, allocations: 4 kB / 0.7725 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4923, allocations: 9.406 kB / 0.7725 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.4927, allocations: 477.5 kB / 0.773 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4927, allocations: 0 / 0.773 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.493, allocations: 45.53 kB / 0.773 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.875e-05/0.4931, allocations: 28.88 kB / 0.773 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.4931, allocations: 8.141 kB / 0.773 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007727/0.4939, allocations: 1.284 MB / 0.7743 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4939, allocations: 6.812 kB / 0.7743 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005652/0.4945, allocations: 0.5767 MB / 0.7749 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.4946, allocations: 118.8 kB / 0.775 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.4946, allocations: 6.391 kB / 0.775 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.4953, allocations: 28.22 kB / 0.775 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.4953, allocations: 17.03 kB / 0.775 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4954, allocations: 5.406 kB / 0.775 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001678/0.4955, allocations: 233.5 kB / 0.7753 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006656/0.4962, allocations: 262.6 kB / 0.7755 GB, free: 15.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003012/0.4965, allocations: 240.6 kB / 0.7757 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008307/0.4974, allocations: 0.6897 MB / 0.7764 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4974, allocations: 4 kB / 0.7764 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4976, allocations: 252.1 kB / 0.7767 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.498, allocations: 74.14 kB / 0.7767 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.4995, allocations: 1.167 MB / 0.7779 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5001, allocations: 0.8755 MB / 0.7787 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.5001, allocations: 0.875 kB / 0.7787 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.01133/0.5114, allocations: 7.945 MB / 0.7865 GB, free: 7.176 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)