Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_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.FiniteLineSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_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.7092/0.7092, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001132/0.001132, allocations: 185.3 kB / 164.4 MB, free: 6.875 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.83/1.83, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001051/0.001051, allocations: 85.27 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3341/0.3352, allocations: 82.94 MB / 0.5461 GB, free: 42.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.5194, allocations: 76.74 MB / 0.6211 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/1.046, allocations: 104.5 MB / 0.7231 GB, free: 7.754 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005421/1.046, allocations: 107.9 kB / 0.7232 GB, free: 7.648 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01319/1.059, allocations: 2.577 MB / 0.7257 GB, free: 5.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.269e-05/1.059, allocations: 12 kB / 0.7257 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/1.06, allocations: 0 / 0.7257 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/1.06, allocations: 167 kB / 0.7259 GB, free: 4.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.06, allocations: 4 kB / 0.7259 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.06, allocations: 0 / 0.7259 GB, free: 4.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.828e-05/1.06, allocations: 7.984 kB / 0.7259 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/1.06, allocations: 29.7 kB / 0.7259 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.06, allocations: 0 / 0.7259 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.06, allocations: 0 / 0.7259 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.06, allocations: 3.984 kB / 0.7259 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/1.06, allocations: 142.2 kB / 0.7261 GB, free: 4.594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/1.06, allocations: 22.52 kB / 0.7261 GB, free: 4.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/1.061, allocations: 8.922 kB / 0.7261 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/1.061, allocations: 125.1 kB / 0.7262 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.061, allocations: 34.56 kB / 0.7263 GB, free: 4.367 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.816e-06/1.061, allocations: 0 / 0.7263 GB, free: 4.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002737/1.061, allocations: 41.69 kB / 0.7263 GB, free: 4.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/1.061, allocations: 55.44 kB / 0.7263 GB, free: 4.254 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/1.062, allocations: 92.03 kB / 0.7264 GB, free: 4.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/1.062, allocations: 25.7 kB / 0.7265 GB, free: 4.129 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/1.062, allocations: 88.14 kB / 0.7265 GB, free: 4.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/1.062, allocations: 7.844 kB / 0.7265 GB, free: 4.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/1.062, allocations: 0 / 0.7265 GB, free: 4.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/1.062, allocations: 318.7 kB / 0.7269 GB, free: 3.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/1.062, allocations: 6.078 kB / 0.7269 GB, free: 3.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/1.062, allocations: 4 kB / 0.7269 GB, free: 3.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/1.062, allocations: 8.062 kB / 0.7269 GB, free: 3.695 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.062, allocations: 0 / 0.7269 GB, free: 3.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/1.062, allocations: 34.55 kB / 0.7269 GB, free: 3.656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.062, allocations: 8 kB / 0.7269 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.062, allocations: 0 / 0.7269 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.062, allocations: 0 / 0.7269 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/1.062, allocations: 7.984 kB / 0.7269 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.062, allocations: 0 / 0.7269 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/1.062, allocations: 3.906 kB / 0.7269 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.062, allocations: 4.031 kB / 0.7269 GB, free: 3.633 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 (2): * Single equations (assignments): 2 * 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 9.027e-05/1.062, allocations: 103.5 kB / 0.727 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/1.062, allocations: 7.938 kB / 0.727 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/1.063, allocations: 52.94 kB / 0.7271 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.063, allocations: 3.906 kB / 0.7271 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.063, allocations: 0 / 0.7271 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.063, allocations: 0 / 0.7271 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/1.063, allocations: 130.2 kB / 0.7272 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.063, allocations: 3.938 kB / 0.7272 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/1.063, allocations: 8.031 kB / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.063, allocations: 0 / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/1.063, allocations: 0.625 kB / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.063, allocations: 0 / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.063, allocations: 0 / 0.7272 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001304/1.063, allocations: 72.97 kB / 0.7273 GB, free: 3.195 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002586/1.063, allocations: 451.3 kB / 0.7277 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/1.063, allocations: 81.09 kB / 0.7278 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/1.063, allocations: 0 / 0.7278 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/1.063, allocations: 7.906 kB / 0.7278 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/1.063, allocations: 0 / 0.7278 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/1.063, allocations: 0 / 0.7278 GB, free: 2.629 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.374e-05/1.064, allocations: 83.53 kB / 0.7279 GB, free: 2.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009128/1.064, allocations: 59.89 kB / 0.7279 GB, free: 2.488 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 (2): * Single equations (assignments): 2 * 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.0005719/1.065, allocations: 191.1 kB / 0.7281 GB, free: 2.293 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.981e-05/1.065, allocations: 15.94 kB / 0.7281 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.065, allocations: 0 / 0.7281 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/1.065, allocations: 7.984 kB / 0.7281 GB, free: 2.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/1.065, allocations: 12.11 kB / 0.7282 GB, free: 2.258 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/1.066, allocations: 58.92 kB / 0.7282 GB, free: 2.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.066, allocations: 0.688 MB / 0.7289 GB, free: 1.465 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.066, allocations: 0 / 0.7289 GB, free: 1.465 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_Integrand.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource_Integrand.pipe 2>&1)