Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_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/BuildingSystems 2.0.0-master/package.mo): time 0.7173/0.7173, allocations: 141.8 MB / 149.1 MB, free: 3.672 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 189 kB / 181.9 MB, free: 15.43 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 436 MB, free: 8.582 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009985/0.0009987, allocations: 97.84 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 272.5 kB / 0.5884 GB, free: 11.64 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1928/0.1947, allocations: 89.69 MB / 0.676 GB, free: 1.871 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.5706, allocations: 82.76 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.6837, allocations: 110.4 MB / 0.8646 GB, free: 1.66 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.684, allocations: 108.4 kB / 0.8647 GB, free: 1.559 MB / 0.5263 GB 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.007337/0.6913, allocations: 2.53 MB / 0.8672 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6914, allocations: 12 kB / 0.8672 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.6914, allocations: 0 / 0.8672 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6916, allocations: 167 kB / 0.8674 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6916, allocations: 0 / 0.8674 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.6916, allocations: 4.656 kB / 0.8674 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.755e-05/0.6917, allocations: 4 kB / 0.8674 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.6917, allocations: 25.7 kB / 0.8674 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.6917, allocations: 4 kB / 0.8674 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.6918, allocations: 4 kB / 0.8674 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6918, allocations: 0 / 0.8674 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.6919, allocations: 142.2 kB / 0.8675 GB, free: 14.58 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.016e-05/0.692, allocations: 23.73 kB / 0.8676 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.692, allocations: 12.92 kB / 0.8676 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.6924, allocations: 125.1 kB / 0.8677 GB, free: 14.39 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.6925, allocations: 38.55 kB / 0.8677 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6925, allocations: 4 kB / 0.8677 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.6927, allocations: 33.7 kB / 0.8678 GB, free: 14.3 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.6927, allocations: 55.31 kB / 0.8678 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.6928, allocations: 93 kB / 0.8679 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.6928, allocations: 25.7 kB / 0.8679 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.6928, allocations: 84.12 kB / 0.868 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.6929, allocations: 7.938 kB / 0.868 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.6929, allocations: 0 / 0.868 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.693, allocations: 322.8 kB / 0.8683 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-06/0.693, allocations: 0.8438 kB / 0.8683 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.693, allocations: 4 kB / 0.8683 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.6931, allocations: 4 kB / 0.8683 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6931, allocations: 0 / 0.8683 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.794e-05/0.6932, allocations: 37.69 kB / 0.8684 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6932, allocations: 7.125 kB / 0.8684 GB, free: 13.64 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6932, allocations: 4 kB / 0.8684 GB, free: 13.63 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.6932, allocations: 0 / 0.8684 GB, free: 13.63 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.6932, allocations: 8.094 kB / 0.8684 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6933, allocations: 1.281 kB / 0.8684 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.6933, allocations: 7.844 kB / 0.8684 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6933, allocations: 4 kB / 0.8684 GB, free: 13.61 MB / 0.5419 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 (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 6.749e-05/0.6934, allocations: 105 kB / 0.8685 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.6934, allocations: 4 kB / 0.8685 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.6935, allocations: 52.84 kB / 0.8686 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6935, allocations: 0 / 0.8686 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6935, allocations: 0 / 0.8686 GB, free: 13.45 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6935, allocations: 8.016 kB / 0.8686 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.6936, allocations: 134.2 kB / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6936, allocations: 0 / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.6937, allocations: 5.781 kB / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6937, allocations: 0 / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6937, allocations: 0 / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6937, allocations: 0 / 0.8687 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6937, allocations: 3.906 kB / 0.8687 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.067e-05/0.6938, allocations: 73.06 kB / 0.8688 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002171/0.694, allocations: 445.4 kB / 0.8692 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.6941, allocations: 77.11 kB / 0.8693 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.6941, allocations: 3.906 kB / 0.8693 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.6941, allocations: 0 / 0.8693 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.6941, allocations: 4 kB / 0.8693 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.6942, allocations: 4.062 kB / 0.8693 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.94e-05/0.6942, allocations: 83.28 kB / 0.8694 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008524/0.6951, allocations: 51.86 kB / 0.8694 GB, free: 12.48 MB / 0.5419 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 (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.0005517/0.6956, allocations: 199.1 kB / 0.8696 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/0.6957, allocations: 11.94 kB / 0.8696 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6957, allocations: 4.062 kB / 0.8696 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.6957, allocations: 4 kB / 0.8696 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.6959, allocations: 11.25 kB / 0.8696 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.6962, allocations: 51.92 kB / 0.8697 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.6967, allocations: 0.688 MB / 0.8704 GB, free: 11.45 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.6967, allocations: 0 / 0.8704 GB, free: 11.45 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)