Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7256/0.7256, allocations: 141.8 MB / 149.1 MB, free: 1.875 MB / 126.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 181.8 kB / 181.9 MB, free: 13.9 MB / 158.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 436 MB, free: 6.82 MB / 334.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.000952, allocations: 93.05 kB / 0.507 GB, free: 24.51 MB / 398.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 293 kB / 0.5885 GB, free: 10.11 MB / 446.2 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.2016, allocations: 89.66 MB / 0.676 GB, free: 372 kB / 0.5139 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.6155, allocations: 82.76 MB / 0.7568 GB, free: 110.7 MB / 0.5295 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.7514, allocations: 115.8 MB / 0.87 GB, free: 10.69 MB / 0.5452 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.7517, allocations: 104.8 kB / 0.8701 GB, free: 10.59 MB / 0.5452 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.05817/0.8099, allocations: 16.78 MB / 0.8864 GB, free: 9.746 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.81, allocations: 8 kB / 0.8865 GB, free: 9.738 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.8103, allocations: 47.53 kB / 0.8865 GB, free: 9.691 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.8111, allocations: 368.2 kB / 0.8869 GB, free: 9.289 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8111, allocations: 4 kB / 0.8869 GB, free: 9.285 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.8113, allocations: 27.91 kB / 0.8869 GB, free: 9.258 MB / 0.5608 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003367/0.8116, allocations: 163.9 kB / 0.887 GB, free: 9.098 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.812, allocations: 189.5 kB / 0.8872 GB, free: 8.906 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.812, allocations: 0.6562 kB / 0.8872 GB, free: 8.906 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.812, allocations: 0 / 0.8872 GB, free: 8.906 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.812, allocations: 4 kB / 0.8872 GB, free: 8.902 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.814, allocations: 0.9606 MB / 0.8882 GB, free: 7.902 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.8147, allocations: 289 kB / 0.8884 GB, free: 7.609 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.815, allocations: 140.8 kB / 0.8886 GB, free: 7.469 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.815, allocations: 0 / 0.8886 GB, free: 7.469 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8151, allocations: 38.5 kB / 0.8886 GB, free: 7.422 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/0.8151, allocations: 0 / 0.8886 GB, free: 7.422 MB / 0.5608 GB Notification: Performance of matching and sorting (n=24): time 0.0009707/0.816, allocations: 326.6 kB / 0.8889 GB, free: 7.094 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.8161, allocations: 55.41 kB / 0.889 GB, free: 7.027 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.8166, allocations: 333.7 kB / 0.8893 GB, free: 6.691 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 8.793e-05/0.8167, allocations: 29.7 kB / 0.8893 GB, free: 6.656 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.8169, allocations: 137.1 kB / 0.8894 GB, free: 6.516 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.8171, allocations: 94.64 kB / 0.8895 GB, free: 6.422 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.8172, allocations: 0 / 0.8895 GB, free: 6.422 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8173, allocations: 350.8 kB / 0.8899 GB, free: 6.07 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.8179, allocations: 337.1 kB / 0.8902 GB, free: 5.742 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.8185, allocations: 392.3 kB / 0.8906 GB, free: 5.352 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.8191, allocations: 383 kB / 0.8909 GB, free: 4.977 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8191, allocations: 0 / 0.8909 GB, free: 4.977 MB / 0.5608 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001573/0.8207, allocations: 0.8672 MB / 0.8918 GB, free: 4.098 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8207, allocations: 8 kB / 0.8918 GB, free: 4.09 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.8208, allocations: 0 / 0.8918 GB, free: 4.09 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.8209, allocations: 24.84 kB / 0.8918 GB, free: 4.062 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.8222, allocations: 147.8 kB / 0.892 GB, free: 3.918 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.8237, allocations: 1.288 MB / 0.8932 GB, free: 2.52 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.8257, allocations: 95.33 kB / 0.8933 GB, free: 2.426 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.8258, allocations: 19.98 kB / 0.8933 GB, free: 2.406 MB / 0.5608 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.0001784/0.826, allocations: 115.6 kB / 0.8934 GB, free: 2.289 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.8261, allocations: 27.62 kB / 0.8935 GB, free: 2.262 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.8262, allocations: 39.25 kB / 0.8935 GB, free: 2.227 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8263, allocations: 8 kB / 0.8935 GB, free: 2.219 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8263, allocations: 3.938 kB / 0.8935 GB, free: 2.215 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8263, allocations: 0 / 0.8935 GB, free: 2.215 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.8269, allocations: 489.4 kB / 0.894 GB, free: 1.699 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.827, allocations: 0 / 0.894 GB, free: 1.699 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.8273, allocations: 39.98 kB / 0.894 GB, free: 1.66 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.8275, allocations: 24.84 kB / 0.894 GB, free: 1.633 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.8275, allocations: 11.92 kB / 0.894 GB, free: 1.621 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.8288, allocations: 1.291 MB / 0.8953 GB, free: 216 kB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8288, allocations: 0 / 0.8953 GB, free: 216 kB / 0.5608 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008585/0.8297, allocations: 0.5729 MB / 0.8959 GB, free: 15.62 MB / 0.5764 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001103/0.8308, allocations: 1.123 MB / 0.897 GB, free: 14.47 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.8309, allocations: 120.6 kB / 0.8971 GB, free: 14.34 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.8309, allocations: 12.36 kB / 0.8971 GB, free: 14.32 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.8316, allocations: 27.8 kB / 0.8971 GB, free: 14.3 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.8317, allocations: 11.98 kB / 0.8971 GB, free: 14.29 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.8317, allocations: 4 kB / 0.8971 GB, free: 14.28 MB / 0.5764 GB Notification: Performance of sort global known variables: time 0.0002128/0.8319, allocations: 236.5 kB / 0.8974 GB, free: 14.05 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.001456/0.8334, allocations: 271.9 kB / 0.8976 GB, free: 13.79 MB / 0.5764 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.0004243/0.8338, allocations: 247.3 kB / 0.8979 GB, free: 13.55 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.8349, allocations: 0.6934 MB / 0.8985 GB, free: 12.83 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8349, allocations: 0 / 0.8985 GB, free: 12.83 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.8352, allocations: 245.6 kB / 0.8988 GB, free: 12.58 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.8357, allocations: 75.44 kB / 0.8988 GB, free: 12.5 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.8376, allocations: 1.193 MB / 0.9 GB, free: 11.29 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.8383, allocations: 0.893 MB / 0.9009 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of SimCode: time 2.51e-07/0.8383, allocations: 0 / 0.9009 GB, free: 10.37 MB / 0.5764 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)