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.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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource",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.7076/0.7076, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001333/0.001333, allocations: 185.3 kB / 164.4 MB, free: 6.902 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.79/1.79, allocations: 205.1 MB / 399.1 MB, free: 6.156 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.001011/0.001011, allocations: 93.19 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.334/0.3351, allocations: 82.94 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.5398, allocations: 76.75 MB / 0.6211 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/1.073, allocations: 107.3 MB / 0.7259 GB, free: 4.918 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.073, allocations: 111.9 kB / 0.726 GB, free: 4.809 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.02732/1.101, allocations: 10.33 MB / 0.7361 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.486e-05/1.101, allocations: 12 kB / 0.7361 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/1.101, allocations: 19.72 kB / 0.7361 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/1.101, allocations: 186.8 kB / 0.7363 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.101, allocations: 8 kB / 0.7363 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/1.101, allocations: 11.94 kB / 0.7363 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004782/1.106, allocations: 2.54 MB / 0.7388 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/1.106, allocations: 325.2 kB / 0.7391 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.107, allocations: 0 / 0.7391 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/1.107, allocations: 0 / 0.7391 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.107, allocations: 4 kB / 0.7391 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/1.107, allocations: 357.7 kB / 0.7394 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007821/1.108, allocations: 0.4953 MB / 0.7399 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/1.108, allocations: 232.7 kB / 0.7401 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/1.11, allocations: 1.448 MB / 0.7416 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.11, allocations: 51.48 kB / 0.7416 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/1.11, allocations: 0 / 0.7416 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.001677/1.112, allocations: 0.5947 MB / 0.7422 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.112, allocations: 55.41 kB / 0.7422 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/1.112, allocations: 136.6 kB / 0.7424 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/1.112, allocations: 25.7 kB / 0.7424 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/1.112, allocations: 84.91 kB / 0.7425 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/1.112, allocations: 137.9 kB / 0.7426 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/1.112, allocations: 3.938 kB / 0.7426 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.113, allocations: 338.8 kB / 0.7429 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/1.113, allocations: 211.8 kB / 0.7431 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/1.113, allocations: 211.8 kB / 0.7433 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/1.114, allocations: 300.8 kB / 0.7436 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.114, allocations: 0 / 0.7436 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001414/1.116, allocations: 0.6063 MB / 0.7442 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.116, allocations: 4 kB / 0.7442 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.116, allocations: 0 / 0.7442 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.116, allocations: 4 kB / 0.7442 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/1.116, allocations: 95.89 kB / 0.7443 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.116, allocations: 0 / 0.7443 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.567e-05/1.116, allocations: 23.62 kB / 0.7443 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/1.116, allocations: 27.98 kB / 0.7444 GB, free: 1.488 MB / 0.4948 GB 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 (43): * Single equations (assignments): 43 * 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.0001284/1.116, allocations: 112.6 kB / 0.7445 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/1.116, allocations: 15.81 kB / 0.7445 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/1.119, allocations: 1.01 MB / 0.7455 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.119, allocations: 4 kB / 0.7455 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.119, allocations: 0 / 0.7455 GB, free: 368 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.119, allocations: 3.984 kB / 0.7455 GB, free: 364 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/1.119, allocations: 369.7 kB / 0.7458 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.119, allocations: 3.938 kB / 0.7458 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/1.12, allocations: 95.89 kB / 0.7459 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.12, allocations: 4 kB / 0.7459 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/1.12, allocations: 15.91 kB / 0.746 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.12, allocations: 8 kB / 0.746 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.12, allocations: 3.984 kB / 0.746 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001543/1.121, allocations: 0.6431 MB / 0.7466 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001653/1.123, allocations: 1.018 MB / 0.7476 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/1.123, allocations: 108.7 kB / 0.7477 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/1.123, allocations: 0 / 0.7477 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/1.123, allocations: 7.891 kB / 0.7477 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/1.123, allocations: 35.97 kB / 0.7477 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/1.123, allocations: 19.98 kB / 0.7477 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.513e-05/1.123, allocations: 107.3 kB / 0.7479 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00142/1.125, allocations: 203.7 kB / 0.748 GB, free: 13.63 MB / 0.5105 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 (44): * Single equations (assignments): 44 * 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.0009563/1.126, allocations: 298.8 kB / 0.7483 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009585/1.127, allocations: 0.5034 MB / 0.7488 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.127, allocations: 0 / 0.7488 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/1.127, allocations: 291.6 kB / 0.7491 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/1.128, allocations: 31.91 kB / 0.7491 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/1.128, allocations: 0.4952 MB / 0.7496 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.129, allocations: 0.83 MB / 0.7504 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/1.129, allocations: 0 / 0.7504 GB, free: 11.13 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_FiniteLineSource.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.FiniteLineSource.pipe 2>&1)