Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.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.InfiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource",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.7231/0.7231, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001133/0.001133, 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.421/1.421, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001247/0.001247, allocations: 84.78 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3842/0.3855, allocations: 82.93 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.5752, allocations: 76.75 MB / 0.6211 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7126/1.288, allocations: 102.5 MB / 0.7211 GB, free: 9.797 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003945/1.288, allocations: 110.6 kB / 0.7212 GB, free: 9.691 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005652/1.294, allocations: 1.398 MB / 0.7226 GB, free: 8.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.294, allocations: 11.94 kB / 0.7226 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/1.295, allocations: 35.84 kB / 0.7227 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/1.295, allocations: 167 kB / 0.7228 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.295, allocations: 0 / 0.7228 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.295, allocations: 3.906 kB / 0.7228 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002108/1.295, allocations: 55.94 kB / 0.7229 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.295, allocations: 53.66 kB / 0.7229 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.295, allocations: 0 / 0.7229 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.295, allocations: 0 / 0.7229 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.295, allocations: 4 kB / 0.7229 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/1.296, allocations: 150.2 kB / 0.7231 GB, free: 7.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/1.296, allocations: 62.55 kB / 0.7231 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.573e-05/1.296, allocations: 32.88 kB / 0.7232 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.296, allocations: 0.6562 kB / 0.7232 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.296, allocations: 34.55 kB / 0.7232 GB, free: 7.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/1.296, allocations: 0 / 0.7232 GB, free: 7.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004597/1.297, allocations: 74.86 kB / 0.7233 GB, free: 7.473 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/1.297, allocations: 55.41 kB / 0.7233 GB, free: 7.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.297, allocations: 101 kB / 0.7234 GB, free: 7.301 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.297, allocations: 27.78 kB / 0.7234 GB, free: 7.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/1.297, allocations: 88.14 kB / 0.7235 GB, free: 7.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/1.297, allocations: 11.72 kB / 0.7235 GB, free: 7.168 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-06/1.297, allocations: 0 / 0.7235 GB, free: 7.168 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/1.297, allocations: 322.8 kB / 0.7238 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/1.297, allocations: 23.94 kB / 0.7239 GB, free: 6.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/1.297, allocations: 11.98 kB / 0.7239 GB, free: 6.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.297, allocations: 19.98 kB / 0.7239 GB, free: 6.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.297, allocations: 0 / 0.7239 GB, free: 6.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003694/1.298, allocations: 85.5 kB / 0.724 GB, free: 6.703 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.298, allocations: 4 kB / 0.724 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.298, allocations: 0 / 0.724 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.298, allocations: 0 / 0.724 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/1.298, allocations: 15.98 kB / 0.724 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.298, allocations: 0 / 0.724 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/1.298, allocations: 3.906 kB / 0.724 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.298, allocations: 8 kB / 0.724 GB, free: 6.672 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 (6): * Single equations (assignments): 6 * 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 0.0001151/1.298, allocations: 112.8 kB / 0.7241 GB, free: 6.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.298, allocations: 11.84 kB / 0.7241 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/1.299, allocations: 94.64 kB / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.299, allocations: 0 / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.299, allocations: 0 / 0.7242 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.299, allocations: 4 kB / 0.7242 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.299, allocations: 154.1 kB / 0.7244 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.299, allocations: 0 / 0.7244 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/1.299, allocations: 15.98 kB / 0.7244 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.299, allocations: 0 / 0.7244 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.299, allocations: 0 / 0.7244 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/1.299, allocations: 4 kB / 0.7244 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.299, allocations: 0 / 0.7244 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004076/1.3, allocations: 105.3 kB / 0.7245 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005717/1.3, allocations: 0.4883 MB / 0.725 GB, free: 5.605 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/1.3, allocations: 85.02 kB / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.3, allocations: 0 / 0.725 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/1.301, allocations: 3.984 kB / 0.7251 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/1.301, allocations: 4 kB / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/1.301, allocations: 0 / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.537e-05/1.301, allocations: 95.27 kB / 0.7251 GB, free: 5.402 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001364/1.302, allocations: 20 kB / 0.7252 GB, free: 5.383 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 (7): * Single equations (assignments): 7 * 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.0003484/1.302, allocations: 131.1 kB / 0.7253 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/1.303, allocations: 47.97 kB / 0.7253 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.303, allocations: 0 / 0.7253 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/1.303, allocations: 31.92 kB / 0.7254 GB, free: 5.168 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/1.303, allocations: 15.89 kB / 0.7254 GB, free: 5.152 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/1.303, allocations: 111.7 kB / 0.7255 GB, free: 5.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/1.304, allocations: 0.7036 MB / 0.7262 GB, free: 4.289 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/1.304, allocations: 0 / 0.7262 GB, free: 4.289 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe 2>&1)