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.ShaGFunction.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.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001188/0.001188, allocations: 185.2 kB / 316 MB, free: 3.57 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.134/1.134, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.000849/0.0008489, allocations: 86.27 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3251/0.326, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.4728, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.916, allocations: 133.5 MB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.9163, allocations: 103.6 kB / 1.015 GB, free: 5.195 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00483/0.9211, allocations: 2.01 MB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9212, allocations: 12 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.9212, allocations: 3.906 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.9214, allocations: 166.1 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.9214, allocations: 4 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.9214, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.926e-05/0.9215, allocations: 3.938 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.032e-05/0.9215, allocations: 33.59 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.9215, allocations: 4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.9215, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.9215, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.9219, allocations: 446.5 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.922, allocations: 169.2 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.922, allocations: 84.08 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.922, allocations: 78.97 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.9221, allocations: 113.8 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.9221, allocations: 0 / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.663e-05/0.9222, allocations: 29.69 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.9222, allocations: 51.41 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.9223, allocations: 96.19 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.9223, allocations: 25.7 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.9223, allocations: 80.14 kB / 1.019 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.9223, allocations: 4 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9223, allocations: 0 / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9225, allocations: 314.8 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.9225, allocations: 0 / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.9225, allocations: 7.938 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.9226, allocations: 3.984 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9226, allocations: 7.906 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.9227, allocations: 33.39 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.9227, allocations: 8 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9227, allocations: 8.078 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.9227, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.341e-05/0.9227, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.9228, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.9228, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.9228, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.578e-05/0.9229, allocations: 180.3 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.9229, allocations: 108.8 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/0.923, allocations: 108.1 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/0.923, allocations: 184.2 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-05/0.9231, allocations: 184.2 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/0.9231, allocations: 176.3 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.9233, allocations: 381.3 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.9234, allocations: 112.9 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.9234, allocations: 101.7 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.995e-05/0.9235, allocations: 180.2 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.9235, allocations: 180.2 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.004e-05/0.9236, allocations: 180.3 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.325e-05/0.9236, allocations: 187.4 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001123/0.9238, allocations: 305.1 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002084/0.924, allocations: 0.675 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.9241, allocations: 182.1 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.9241, allocations: 176.3 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.9242, allocations: 116.9 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.9243, allocations: 180.2 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.9243, allocations: 101 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.676e-05/0.9244, allocations: 86.83 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008449/0.9252, allocations: 35.91 kB / 1.023 GB, free: 13.27 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 (0): * Single equations (assignments): 0 * 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.0003191/0.9256, allocations: 226.1 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.203e-05/0.9256, allocations: 7.5 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.9256, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.9256, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.9259, allocations: 0.5302 MB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.9285, allocations: 1.025 MB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.9288, allocations: 0.6802 MB / 1.025 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9288, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)