Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 186.4 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4711/0.4711, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.4 MB / 342.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 95.14 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.1929, allocations: 78.49 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.6109, allocations: 72.3 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.7363, allocations: 102.5 MB / 0.6531 GB, free: 7.535 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.7367, allocations: 103.9 kB / 0.6532 GB, free: 7.434 MB / 474.7 MB 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.005396/0.7421, allocations: 2.126 MB / 0.6553 GB, free: 5.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.7421, allocations: 8.719 kB / 0.6553 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.7422, allocations: 13.41 kB / 0.6553 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.7423, allocations: 159.6 kB / 0.6555 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.7424, allocations: 0.5312 kB / 0.6555 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.7424, allocations: 2.312 kB / 0.6555 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.723e-05/0.7424, allocations: 4 kB / 0.6555 GB, free: 5.062 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.771e-05/0.7425, allocations: 25.7 kB / 0.6555 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7425, allocations: 0 / 0.6555 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.7425, allocations: 7.891 kB / 0.6555 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.7426, allocations: 0 / 0.6555 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.743, allocations: 447.1 kB / 0.6559 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.7431, allocations: 169.7 kB / 0.6561 GB, free: 4.355 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.7432, allocations: 81.8 kB / 0.6562 GB, free: 4.273 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.7432, allocations: 82.27 kB / 0.6562 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.7433, allocations: 110.6 kB / 0.6564 GB, free: 4.078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7433, allocations: 1.969 kB / 0.6564 GB, free: 4.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 7.989e-05/0.7434, allocations: 33.61 kB / 0.6564 GB, free: 4.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.7434, allocations: 51.41 kB / 0.6564 GB, free: 3.977 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.7435, allocations: 96.92 kB / 0.6565 GB, free: 3.875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.7435, allocations: 30.33 kB / 0.6566 GB, free: 3.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.7436, allocations: 80.92 kB / 0.6566 GB, free: 3.758 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.7436, allocations: 4 kB / 0.6566 GB, free: 3.754 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.7436, allocations: 0.9375 kB / 0.6566 GB, free: 3.754 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7437, allocations: 314.8 kB / 0.6569 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-06/0.7437, allocations: 0.9375 kB / 0.6569 GB, free: 3.438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-06/0.7437, allocations: 0 / 0.6569 GB, free: 3.438 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.7438, allocations: 9.078 kB / 0.6569 GB, free: 3.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7438, allocations: 0 / 0.6569 GB, free: 3.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001213/0.7439, allocations: 38.45 kB / 0.657 GB, free: 3.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.744, allocations: 4 kB / 0.657 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.744, allocations: 0.9062 kB / 0.657 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.744, allocations: 0 / 0.657 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.486e-05/0.744, allocations: 6.188 kB / 0.657 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.744, allocations: 0 / 0.657 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.7441, allocations: 4.859 kB / 0.657 GB, free: 3.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.7441, allocations: 0 / 0.657 GB, free: 3.375 MB / 474.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: 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 0.0001044/0.7442, allocations: 177.6 kB / 0.6572 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.7442, allocations: 112.8 kB / 0.6573 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.7443, allocations: 108.5 kB / 0.6574 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/0.7444, allocations: 180.9 kB / 0.6576 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.356e-05/0.7445, allocations: 181 kB / 0.6577 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.7446, allocations: 185.7 kB / 0.6579 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.7448, allocations: 375.1 kB / 0.6583 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-05/0.7448, allocations: 106 kB / 0.6584 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.7449, allocations: 106.7 kB / 0.6585 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.7449, allocations: 188.9 kB / 0.6586 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.745, allocations: 188.1 kB / 0.6588 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.429e-05/0.7451, allocations: 179.3 kB / 0.659 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.446e-05/0.7452, allocations: 177.2 kB / 0.6592 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001395/0.7453, allocations: 306.5 kB / 0.6595 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002587/0.7456, allocations: 0.6736 MB / 0.6601 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7457, allocations: 186.7 kB / 0.6603 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.7458, allocations: 177.8 kB / 0.6605 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.7458, allocations: 104.9 kB / 0.6606 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.7459, allocations: 187.8 kB / 0.6607 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.746, allocations: 105.3 kB / 0.6608 GB, free: 15.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.674e-05/0.746, allocations: 87.12 kB / 0.6609 GB, free: 15.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008542/0.7469, allocations: 24 kB / 0.6609 GB, free: 15.12 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 (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.0004501/0.7473, allocations: 237.3 kB / 0.6612 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.7474, allocations: 8.016 kB / 0.6612 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7474, allocations: 0.75 kB / 0.6612 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7474, allocations: 0 / 0.6612 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.7478, allocations: 0.5282 MB / 0.6617 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.7512, allocations: 1.097 MB / 0.6628 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.7515, allocations: 0.6848 MB / 0.6634 GB, free: 12.52 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7515, allocations: 0 / 0.6634 GB, free: 12.52 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)