Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 189.2 kB / 7.801 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5115/0.5115, allocations: 90.85 MB / 99.06 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 342.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 93.69 kB / 415.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1788/0.18, allocations: 78.48 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.6135, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.7567, allocations: 108.7 MB / 0.6592 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.757, allocations: 103.9 kB / 0.6593 GB, free: 15.79 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.05859/0.8156, allocations: 16.78 MB / 0.6757 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.8157, allocations: 8 kB / 0.6757 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.816, allocations: 47.44 kB / 0.6757 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.8168, allocations: 364.3 kB / 0.6761 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8169, allocations: 4 kB / 0.6761 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.817, allocations: 28 kB / 0.6761 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003405/0.8174, allocations: 159.9 kB / 0.6763 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.8177, allocations: 193.5 kB / 0.6764 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8178, allocations: 0 / 0.6764 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.8178, allocations: 0 / 0.6764 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8178, allocations: 7.906 kB / 0.6764 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.8196, allocations: 0.9606 MB / 0.6774 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.82, allocations: 282.8 kB / 0.6777 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.8203, allocations: 136.8 kB / 0.6778 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.8203, allocations: 0 / 0.6778 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.8203, allocations: 34.56 kB / 0.6778 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 3.897e-06/0.8203, allocations: 0 / 0.6778 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.0007926/0.8211, allocations: 339.6 kB / 0.6781 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8212, allocations: 51.41 kB / 0.6782 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.8216, allocations: 333.7 kB / 0.6785 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/0.8217, allocations: 28.05 kB / 0.6785 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.8218, allocations: 141.1 kB / 0.6787 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.822, allocations: 90.66 kB / 0.6788 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.822, allocations: 3.938 kB / 0.6788 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8222, allocations: 354.8 kB / 0.6791 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000583/0.8228, allocations: 333.2 kB / 0.6794 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.8235, allocations: 396.3 kB / 0.6798 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.8241, allocations: 375 kB / 0.6802 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8241, allocations: 0 / 0.6802 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001611/0.8257, allocations: 0.8672 MB / 0.681 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.8258, allocations: 8 kB / 0.681 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8258, allocations: 7.906 kB / 0.681 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.826, allocations: 24.84 kB / 0.681 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.8269, allocations: 143.8 kB / 0.6812 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.8282, allocations: 1.287 MB / 0.6824 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.8299, allocations: 91.39 kB / 0.6825 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.83, allocations: 19.98 kB / 0.6825 GB, free: 7.598 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 (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.0001353/0.8301, allocations: 116.8 kB / 0.6827 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.8302, allocations: 35.53 kB / 0.6827 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.151e-05/0.8303, allocations: 31.36 kB / 0.6827 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8303, allocations: 4 kB / 0.6827 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8303, allocations: 0 / 0.6827 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8303, allocations: 3.984 kB / 0.6827 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.8309, allocations: 485.4 kB / 0.6832 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.8309, allocations: 0 / 0.6832 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.8313, allocations: 45.69 kB / 0.6832 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.8314, allocations: 28.84 kB / 0.6833 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.8314, allocations: 8 kB / 0.6833 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.8325, allocations: 1.283 MB / 0.6845 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8325, allocations: 3.906 kB / 0.6845 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007751/0.8333, allocations: 0.5762 MB / 0.6851 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001127/0.8344, allocations: 1.121 MB / 0.6862 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.8346, allocations: 124.6 kB / 0.6863 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.8346, allocations: 4 kB / 0.6863 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/0.8353, allocations: 23.84 kB / 0.6863 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.8354, allocations: 15.98 kB / 0.6863 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.8354, allocations: 7.984 kB / 0.6863 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002461/0.8357, allocations: 236.5 kB / 0.6866 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001392/0.8371, allocations: 272 kB / 0.6868 GB, free: 2.98 MB / 0.4948 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.0004626/0.8376, allocations: 239.8 kB / 0.6871 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.839, allocations: 0.6895 MB / 0.6877 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.839, allocations: 0 / 0.6877 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.8393, allocations: 257.5 kB / 0.688 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.8398, allocations: 75.77 kB / 0.6881 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.8418, allocations: 1.185 MB / 0.6892 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008277/0.8427, allocations: 0.8951 MB / 0.6901 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.8427, allocations: 0 / 0.6901 GB, free: 15.57 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)