Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.216/1.216, allocations: 249.4 MB / 256.7 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 184.4 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008054/0.0008054, allocations: 92.45 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3315/0.3323, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.4846, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.9169, allocations: 136 MB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.9171, allocations: 106.9 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB 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.008344/0.9255, allocations: 3.05 MB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.9255, allocations: 12 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.9256, allocations: 3.906 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.618e-05/0.9257, allocations: 171 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.9257, allocations: 0 / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.9257, allocations: 7.938 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/0.9258, allocations: 39.22 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.9259, allocations: 56.81 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.9259, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.9259, allocations: 0 / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.926, allocations: 4 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.9261, allocations: 144.8 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.9262, allocations: 43.31 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.9262, allocations: 20.73 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.9263, allocations: 2.734 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.9263, allocations: 45.05 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.9263, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002278/0.9265, allocations: 69.03 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.9266, allocations: 55.41 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.461e-05/0.9266, allocations: 100.7 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.9266, allocations: 25.7 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.9267, allocations: 84.12 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.9267, allocations: 19.09 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.9267, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.9268, allocations: 314 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.9268, allocations: 11.98 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.9268, allocations: 15.19 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.9269, allocations: 12 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.927, allocations: 0.8438 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001731/0.9271, allocations: 83.52 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.9271, allocations: 4 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.9272, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.9272, allocations: 4 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.9273, allocations: 8 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.9273, allocations: 0 / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.9273, allocations: 7.984 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9273, allocations: 4 kB / 1.022 GB, free: 14.39 MB / 0.6511 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 (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 5.411e-05/0.9274, allocations: 112.8 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.9274, allocations: 7.922 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.9279, allocations: 237.4 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9279, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9279, allocations: 4 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.9279, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.928, allocations: 161 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.928, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.9281, allocations: 27.98 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.9282, allocations: 15.08 kB / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9282, allocations: 256 / 1.022 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002181/0.9284, allocations: 147 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002925/0.9287, allocations: 0.5071 MB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.9287, allocations: 88.95 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.9288, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.9288, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.9288, allocations: 15.8 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.9289, allocations: 4 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.784e-05/0.9289, allocations: 87.27 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007815/0.9297, allocations: 62.44 kB / 1.023 GB, free: 12.91 MB / 0.6511 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.0003986/0.9301, allocations: 199 kB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.9302, allocations: 50.86 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9302, allocations: 0 / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.9303, allocations: 47.69 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.9304, allocations: 12.39 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.9307, allocations: 114.9 kB / 1.024 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.9309, allocations: 0.7187 MB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9309, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length_fmu --startTime=0.01 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)