Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001525/0.001525, allocations: 185.5 kB / 7.806 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.4572/0.4572, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.315/1.315, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.001026/0.001026, allocations: 93.47 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.1735, allocations: 78.49 MB / 494 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.5386, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.6601, allocations: 102.6 MB / 0.6532 GB, free: 7.453 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.6605, allocations: 108.5 kB / 0.6533 GB, free: 7.348 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01463/0.6751, allocations: 4.629 MB / 0.6578 GB, free: 2.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6752, allocations: 8 kB / 0.6578 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006578/0.6758, allocations: 75.88 kB / 0.6579 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.676, allocations: 164.3 kB / 0.658 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.676, allocations: 0 / 0.658 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.676, allocations: 4 kB / 0.658 GB, free: 2.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002269/0.6763, allocations: 82.86 kB / 0.6581 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.6764, allocations: 86.06 kB / 0.6582 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6764, allocations: 0 / 0.6582 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.6765, allocations: 4 kB / 0.6582 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6765, allocations: 0 / 0.6582 GB, free: 2.273 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.6767, allocations: 174 kB / 0.6584 GB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.6769, allocations: 78.53 kB / 0.6584 GB, free: 1.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.6769, allocations: 36.97 kB / 0.6585 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.677, allocations: 7.984 kB / 0.6585 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.677, allocations: 34.56 kB / 0.6585 GB, free: 1.891 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.677, allocations: 0 / 0.6585 GB, free: 1.891 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.000556/0.6776, allocations: 117.5 kB / 0.6586 GB, free: 1.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.6776, allocations: 51.41 kB / 0.6587 GB, free: 1.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.6777, allocations: 100 kB / 0.6588 GB, free: 1.605 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.6777, allocations: 25.7 kB / 0.6588 GB, free: 1.574 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.6778, allocations: 80.14 kB / 0.6589 GB, free: 1.492 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.6778, allocations: 19.73 kB / 0.6589 GB, free: 1.473 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.6778, allocations: 0 / 0.6589 GB, free: 1.473 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6779, allocations: 322.8 kB / 0.6592 GB, free: 1.148 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.678, allocations: 35.97 kB / 0.6592 GB, free: 1.113 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.678, allocations: 23.98 kB / 0.6593 GB, free: 1.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.6784, allocations: 41.89 kB / 0.6593 GB, free: 1.051 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6784, allocations: 0 / 0.6593 GB, free: 1.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004595/0.6788, allocations: 117.5 kB / 0.6594 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6789, allocations: 4 kB / 0.6594 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6789, allocations: 0 / 0.6594 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6789, allocations: 3.938 kB / 0.6594 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.6791, allocations: 23.97 kB / 0.6594 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.6791, allocations: 4 kB / 0.6595 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.6793, allocations: 8 kB / 0.6595 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.6793, allocations: 3.984 kB / 0.6595 GB, free: 0.8828 MB / 474.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 (5): * Single equations (assignments): 5 * 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 7.775e-05/0.6794, allocations: 104.9 kB / 0.6596 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.6794, allocations: 8 kB / 0.6596 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.6799, allocations: 216 kB / 0.6598 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.68, allocations: 4 kB / 0.6598 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.68, allocations: 0 / 0.6598 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.68, allocations: 0 / 0.6598 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.6801, allocations: 186 kB / 0.66 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6802, allocations: 0 / 0.66 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.6804, allocations: 27.92 kB / 0.66 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6804, allocations: 0 / 0.66 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.6804, allocations: 11.98 kB / 0.66 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6804, allocations: 0 / 0.66 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6804, allocations: 6.953 kB / 0.66 GB, free: 304 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003598/0.6808, allocations: 177 kB / 0.6602 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004983/0.6813, allocations: 0.5587 MB / 0.6607 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6814, allocations: 85.02 kB / 0.6608 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.6814, allocations: 3.984 kB / 0.6608 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.6815, allocations: 4 kB / 0.6608 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.6816, allocations: 7.984 kB / 0.6608 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.6816, allocations: 15.84 kB / 0.6608 GB, free: 15.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.739e-05/0.6817, allocations: 79.28 kB / 0.6609 GB, free: 15.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000996/0.6827, allocations: 95.86 kB / 0.661 GB, free: 15.22 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 (16): * Single equations (assignments): 16 * 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.000651/0.6833, allocations: 235 kB / 0.6612 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.6835, allocations: 99.88 kB / 0.6613 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6835, allocations: 0 / 0.6613 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6836, allocations: 79.02 kB / 0.6614 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.6838, allocations: 1.641 kB / 0.6614 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.6842, allocations: 151.6 kB / 0.6615 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.6846, allocations: 0.7153 MB / 0.6622 GB, free: 13.89 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6846, allocations: 4 kB / 0.6622 GB, free: 13.89 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)