Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.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.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_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/BuildSysPro 3.5.0/package.mo): time 0.8645/0.8645, allocations: 127.4 MB / 134.6 MB, free: 4.055 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.001262/0.001262, allocations: 177.3 kB / 164.4 MB, free: 6.867 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.727/1.727, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.001054/0.001054, allocations: 87.17 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.335/0.3361, allocations: 82.94 MB / 0.5461 GB, free: 42.58 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.5121, allocations: 76.74 MB / 0.621 GB, free: 13.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5082/1.02, allocations: 103.8 MB / 0.7224 GB, free: 8.457 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/1.021, allocations: 107.9 kB / 0.7225 GB, free: 8.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01391/1.035, allocations: 4.851 MB / 0.7273 GB, free: 3.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.035, allocations: 12 kB / 0.7273 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/1.035, allocations: 71.81 kB / 0.7274 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.035, allocations: 168.9 kB / 0.7275 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/1.035, allocations: 0 / 0.7275 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/1.035, allocations: 0 / 0.7275 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001894/1.036, allocations: 83.83 kB / 0.7276 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.036, allocations: 85.55 kB / 0.7277 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.036, allocations: 0 / 0.7277 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/1.036, allocations: 11.89 kB / 0.7277 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.036, allocations: 0 / 0.7277 GB, free: 2.996 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/1.036, allocations: 154.1 kB / 0.7278 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/1.036, allocations: 86.58 kB / 0.7279 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/1.036, allocations: 36.97 kB / 0.728 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.036, allocations: 4 kB / 0.728 GB, free: 2.672 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/1.036, allocations: 34.56 kB / 0.728 GB, free: 2.629 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/1.036, allocations: 0 / 0.728 GB, free: 2.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005222/1.037, allocations: 118.3 kB / 0.7281 GB, free: 2.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/1.037, allocations: 55.41 kB / 0.7282 GB, free: 2.441 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/1.037, allocations: 92.98 kB / 0.7283 GB, free: 2.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/1.037, allocations: 25.7 kB / 0.7283 GB, free: 2.312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/1.037, allocations: 88.14 kB / 0.7284 GB, free: 2.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.037, allocations: 15.75 kB / 0.7284 GB, free: 2.207 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/1.037, allocations: 0 / 0.7284 GB, free: 2.207 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/1.037, allocations: 326.7 kB / 0.7287 GB, free: 1.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/1.037, allocations: 23.98 kB / 0.7287 GB, free: 1.852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/1.037, allocations: 33.16 kB / 0.7287 GB, free: 1.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/1.038, allocations: 39.97 kB / 0.7288 GB, free: 1.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.038, allocations: 0 / 0.7288 GB, free: 1.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004667/1.038, allocations: 109.6 kB / 0.7289 GB, free: 1.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.038, allocations: 4 kB / 0.7289 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.038, allocations: 4.703 kB / 0.7289 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.038, allocations: 8.484 kB / 0.7289 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.038, allocations: 23.91 kB / 0.7289 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.038, allocations: 0 / 0.7289 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/1.039, allocations: 7.906 kB / 0.7289 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/1.039, allocations: 11.98 kB / 0.7289 GB, free: 1.609 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 (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.218e-05/1.039, allocations: 104.2 kB / 0.729 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/1.039, allocations: 3.906 kB / 0.7291 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/1.039, allocations: 228.1 kB / 0.7293 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.039, allocations: 0 / 0.7293 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.039, allocations: 0 / 0.7293 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.039, allocations: 3.938 kB / 0.7293 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/1.039, allocations: 186 kB / 0.7294 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.039, allocations: 3.906 kB / 0.7295 GB, free: 1.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/1.04, allocations: 35.92 kB / 0.7295 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.04, allocations: 0 / 0.7295 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.04, allocations: 0 / 0.7295 GB, free: 1.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.04, allocations: 3.938 kB / 0.7295 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.04, allocations: 0 / 0.7295 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003516/1.04, allocations: 188.9 kB / 0.7297 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004592/1.04, allocations: 0.5559 MB / 0.7302 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/1.04, allocations: 85.05 kB / 0.7303 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/1.04, allocations: 3.906 kB / 0.7303 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/1.041, allocations: 0 / 0.7303 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/1.041, allocations: 7.984 kB / 0.7303 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/1.041, allocations: 4 kB / 0.7303 GB, free: 116 kB / 490.7 MB Notification: Performance of sort global known variables: time 3.366e-05/1.041, allocations: 87.27 kB / 0.7304 GB, free: 28 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008839/1.042, allocations: 95.86 kB / 0.7305 GB, free: 15.93 MB / 0.4948 GB 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.0006355/1.042, allocations: 242.2 kB / 0.7307 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001786/1.042, allocations: 91.95 kB / 0.7308 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.042, allocations: 4 kB / 0.7308 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/1.042, allocations: 67.92 kB / 0.7309 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/1.043, allocations: 15.98 kB / 0.7309 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/1.043, allocations: 162.2 kB / 0.731 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/1.043, allocations: 0.7191 MB / 0.7317 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/1.043, allocations: 0 / 0.7317 GB, free: 14.59 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_CylindricalHeatSource_Integrand.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.CylindricalHeatSource_Integrand.pipe 2>&1)