Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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/BuildSysPro 3.5.0/package.mo): time 0.716/0.716, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001171/0.001171, allocations: 189.2 kB / 164.4 MB, free: 6.871 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.746/1.746, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.0009664/0.0009665, allocations: 91.05 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3108/0.3118, allocations: 82.91 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.4884, allocations: 76.76 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.9909, allocations: 110.3 MB / 0.7288 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9913, allocations: 103.9 kB / 0.7289 GB, free: 1.887 MB / 490.7 MB 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.05618/1.047, allocations: 16.97 MB / 0.7455 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.048, allocations: 8 kB / 0.7455 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/1.048, allocations: 47.53 kB / 0.7455 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/1.049, allocations: 364.3 kB / 0.7459 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.049, allocations: 4 kB / 0.7459 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.049, allocations: 28 kB / 0.7459 GB, free: 336 kB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003538/1.049, allocations: 167.8 kB / 0.7461 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/1.05, allocations: 189.5 kB / 0.7462 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.05, allocations: 3.984 kB / 0.7462 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.05, allocations: 0 / 0.7462 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.05, allocations: 4 kB / 0.7462 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/1.052, allocations: 0.9528 MB / 0.7472 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/1.052, allocations: 286.8 kB / 0.7474 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/1.052, allocations: 140.8 kB / 0.7476 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/1.052, allocations: 0 / 0.7476 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.052, allocations: 34.56 kB / 0.7476 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/1.052, allocations: 0 / 0.7476 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.0007756/1.053, allocations: 334.5 kB / 0.7479 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.053, allocations: 55.34 kB / 0.748 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/1.054, allocations: 333.7 kB / 0.7483 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/1.054, allocations: 29.7 kB / 0.7483 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.054, allocations: 137.1 kB / 0.7485 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.054, allocations: 90.66 kB / 0.7485 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/1.054, allocations: 0 / 0.7485 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.054, allocations: 350.8 kB / 0.7489 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/1.055, allocations: 337.1 kB / 0.7492 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/1.055, allocations: 392.3 kB / 0.7496 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/1.056, allocations: 383 kB / 0.7499 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.056, allocations: 3.938 kB / 0.7499 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001443/1.057, allocations: 0.8672 MB / 0.7508 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.057, allocations: 4 kB / 0.7508 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.057, allocations: 4 kB / 0.7508 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/1.058, allocations: 28.78 kB / 0.7508 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009855/1.059, allocations: 143.8 kB / 0.751 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.06, allocations: 1.295 MB / 0.7522 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.062, allocations: 87.33 kB / 0.7523 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/1.062, allocations: 23.98 kB / 0.7523 GB, free: 9.477 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.0002276/1.062, allocations: 112.9 kB / 0.7524 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.062, allocations: 31.53 kB / 0.7525 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.062, allocations: 39.34 kB / 0.7525 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.062, allocations: 4 kB / 0.7525 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.062, allocations: 3.906 kB / 0.7525 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/1.062, allocations: 3.984 kB / 0.7525 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/1.063, allocations: 481.5 kB / 0.753 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.063, allocations: 0 / 0.753 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/1.063, allocations: 47.88 kB / 0.753 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/1.063, allocations: 24.84 kB / 0.7531 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/1.063, allocations: 7.938 kB / 0.7531 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/1.065, allocations: 1.283 MB / 0.7543 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.065, allocations: 0 / 0.7543 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008872/1.066, allocations: 0.5705 MB / 0.7549 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00116/1.067, allocations: 1.133 MB / 0.756 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/1.067, allocations: 120.6 kB / 0.7561 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.067, allocations: 11.98 kB / 0.7561 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/1.068, allocations: 23.81 kB / 0.7561 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/1.068, allocations: 12.19 kB / 0.7561 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/1.068, allocations: 4 kB / 0.7561 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002948/1.068, allocations: 236.6 kB / 0.7564 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001608/1.07, allocations: 268 kB / 0.7566 GB, free: 4.859 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.0004857/1.07, allocations: 250 kB / 0.7569 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001204/1.072, allocations: 0.6936 MB / 0.7575 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.072, allocations: 0 / 0.7575 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/1.072, allocations: 261.4 kB / 0.7578 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/1.072, allocations: 69.19 kB / 0.7579 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/1.074, allocations: 1.188 MB / 0.759 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.075, allocations: 0.8934 MB / 0.7599 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of SimCode: time 4e-07/1.075, allocations: 0 / 0.7599 GB, free: 1.422 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)