Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001314/0.001314, allocations: 187.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4582/0.4582, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.326/1.326, allocations: 221.4 MB / 342.7 MB, free: 5.184 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.001165/0.001165, allocations: 103.2 kB / 415.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1878/0.189, allocations: 78.51 MB / 494 MB, free: 7.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.6361, allocations: 72.29 MB / 0.553 GB, free: 73.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.7614, allocations: 105.2 MB / 0.6557 GB, free: 4.504 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.7619, allocations: 115.8 kB / 0.6559 GB, free: 4.391 MB / 474.7 MB 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.01971/0.7816, allocations: 6.349 MB / 0.6621 GB, free: 14.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7816, allocations: 8.5 kB / 0.6621 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.7817, allocations: 0.5625 kB / 0.6621 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.7818, allocations: 171 kB / 0.6622 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7819, allocations: 2.406 kB / 0.6622 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.7819, allocations: 0 / 0.6622 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.782, allocations: 12.53 kB / 0.6622 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.597e-05/0.7821, allocations: 42.12 kB / 0.6623 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7821, allocations: 1 kB / 0.6623 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.7822, allocations: 0 / 0.6623 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.7822, allocations: 0 / 0.6623 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.7823, allocations: 149.4 kB / 0.6624 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.7824, allocations: 34.61 kB / 0.6625 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.7825, allocations: 16.89 kB / 0.6625 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/0.7834, allocations: 0.9764 MB / 0.6634 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7835, allocations: 41.39 kB / 0.6635 GB, free: 12.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.7835, allocations: 0 / 0.6635 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002786/0.7838, allocations: 53.53 kB / 0.6635 GB, free: 12.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.7838, allocations: 55.94 kB / 0.6636 GB, free: 12.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.7839, allocations: 93.75 kB / 0.6637 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.7839, allocations: 26.77 kB / 0.6637 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.784, allocations: 84.14 kB / 0.6638 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.784, allocations: 19.8 kB / 0.6638 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.784, allocations: 0 / 0.6638 GB, free: 11.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7841, allocations: 310.8 kB / 0.6641 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.7841, allocations: 8 kB / 0.6641 GB, free: 11.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.7842, allocations: 4 kB / 0.6641 GB, free: 11.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.7842, allocations: 11.98 kB / 0.6641 GB, free: 11.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.7842, allocations: 1.312 kB / 0.6641 GB, free: 11.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.7844, allocations: 53.69 kB / 0.6642 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7844, allocations: 7.906 kB / 0.6642 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7844, allocations: 0 / 0.6642 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7844, allocations: 4 kB / 0.6642 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7845, allocations: 23.86 kB / 0.6642 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7846, allocations: 0 / 0.6642 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.7846, allocations: 2.438 kB / 0.6642 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.7846, allocations: 4 kB / 0.6642 GB, free: 11.5 MB / 490.7 MB 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 6.293e-05/0.7847, allocations: 101 kB / 0.6643 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.7847, allocations: 3.906 kB / 0.6643 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.7849, allocations: 64.17 kB / 0.6644 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7849, allocations: 4 kB / 0.6644 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7849, allocations: 0 / 0.6644 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7849, allocations: 5.312 kB / 0.6644 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.785, allocations: 138.1 kB / 0.6645 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.785, allocations: 0 / 0.6645 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.083e-05/0.7851, allocations: 19.92 kB / 0.6645 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7851, allocations: 0 / 0.6645 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.7851, allocations: 0 / 0.6645 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7851, allocations: 4 kB / 0.6645 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7851, allocations: 0 / 0.6645 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.7853, allocations: 77.03 kB / 0.6646 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002503/0.7855, allocations: 461.4 kB / 0.665 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.7856, allocations: 88.95 kB / 0.6651 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.7856, allocations: 0 / 0.6651 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.7856, allocations: 7.641 kB / 0.6651 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.7857, allocations: 8 kB / 0.6651 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.7857, allocations: 10.33 kB / 0.6651 GB, free: 10.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.032e-05/0.7857, allocations: 81.08 kB / 0.6652 GB, free: 10.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008502/0.7866, allocations: 43.94 kB / 0.6653 GB, free: 10.3 MB / 490.7 MB 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.0002806/0.7869, allocations: 159.1 kB / 0.6654 GB, free: 10.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.29e-05/0.787, allocations: 19.97 kB / 0.6654 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.787, allocations: 0 / 0.6654 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.787, allocations: 15.94 kB / 0.6655 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.7872, allocations: 9.641 kB / 0.6655 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.7875, allocations: 67.69 kB / 0.6655 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.7878, allocations: 0.6993 MB / 0.6662 GB, free: 9.277 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7878, allocations: 0 / 0.6662 GB, free: 9.277 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)