Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.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.TimeGeometric,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_TimeGeometric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_TimeGeometric",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.7612/0.7612, allocations: 127.3 MB / 134.6 MB, free: 4.082 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.001947/0.001947, allocations: 189.2 kB / 164.4 MB, free: 6.871 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.73/1.73, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0008175/0.0008176, allocations: 90.7 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2711/0.2719, allocations: 82.94 MB / 0.5461 GB, free: 42.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.4113, allocations: 76.75 MB / 0.6211 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.8975, allocations: 102 MB / 0.7207 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.8978, allocations: 95.92 kB / 0.7208 GB, free: 10.12 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/TimeGeometric.mo:10:49-10:60:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.003837/0.9017, allocations: 1.359 MB / 0.7221 GB, free: 8.727 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9017, allocations: 12 kB / 0.7221 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.9018, allocations: 79.27 kB / 0.7222 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.902, allocations: 246.2 kB / 0.7225 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.9021, allocations: 150.6 kB / 0.7226 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.9022, allocations: 154.6 kB / 0.7228 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.067e-05/0.9023, allocations: 160.8 kB / 0.7229 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.547e-05/0.9023, allocations: 103.5 kB / 0.723 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.9024, allocations: 75.28 kB / 0.7231 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.9024, allocations: 158.5 kB / 0.7232 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/0.9025, allocations: 150.6 kB / 0.7234 GB, free: 7.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.9028, allocations: 438.4 kB / 0.7238 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.9029, allocations: 165.1 kB / 0.7239 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.9029, allocations: 84.08 kB / 0.724 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.903, allocations: 75.28 kB / 0.7241 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.903, allocations: 113.8 kB / 0.7242 GB, free: 6.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.555e-06/0.903, allocations: 3.984 kB / 0.7242 GB, free: 6.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.9031, allocations: 33.61 kB / 0.7242 GB, free: 6.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.9032, allocations: 51.41 kB / 0.7243 GB, free: 6.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.9033, allocations: 105 kB / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.9033, allocations: 29.7 kB / 0.7244 GB, free: 6.246 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.9034, allocations: 80.14 kB / 0.7245 GB, free: 6.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.9034, allocations: 4 kB / 0.7245 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.9034, allocations: 0 / 0.7245 GB, free: 6.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9035, allocations: 314.8 kB / 0.7248 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.9035, allocations: 8 kB / 0.7248 GB, free: 5.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.9036, allocations: 11.92 kB / 0.7248 GB, free: 5.824 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.9036, allocations: 12 kB / 0.7248 GB, free: 5.812 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9036, allocations: 4 kB / 0.7248 GB, free: 5.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001298/0.9038, allocations: 53.59 kB / 0.7249 GB, free: 5.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.9038, allocations: 4.844 kB / 0.7249 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9038, allocations: 0 / 0.7249 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.9038, allocations: 4.062 kB / 0.7249 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.9038, allocations: 0 / 0.7249 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.9038, allocations: 0 / 0.7249 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.9039, allocations: 11.84 kB / 0.7249 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.9039, allocations: 4.062 kB / 0.7249 GB, free: 5.727 MB / 490.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.778e-05/0.904, allocations: 180.3 kB / 0.7251 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.904, allocations: 108.8 kB / 0.7252 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.9041, allocations: 120.4 kB / 0.7253 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/0.9042, allocations: 176.3 kB / 0.7255 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.325e-05/0.9042, allocations: 180.2 kB / 0.7256 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.465e-05/0.9043, allocations: 176.3 kB / 0.7258 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.9045, allocations: 386.3 kB / 0.7262 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/0.9046, allocations: 108.9 kB / 0.7263 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.9046, allocations: 108.9 kB / 0.7264 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.314e-05/0.9046, allocations: 184.2 kB / 0.7266 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.9047, allocations: 180.2 kB / 0.7267 GB, free: 3.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-05/0.9048, allocations: 180.3 kB / 0.7269 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.399e-05/0.9048, allocations: 180.2 kB / 0.7271 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.809e-05/0.9049, allocations: 311.8 kB / 0.7274 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001642/0.9051, allocations: 0.669 MB / 0.728 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.9052, allocations: 186 kB / 0.7282 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.9053, allocations: 184.3 kB / 0.7284 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.9053, allocations: 104.9 kB / 0.7285 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.9054, allocations: 176.3 kB / 0.7286 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.9055, allocations: 101.3 kB / 0.7287 GB, free: 1.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.07e-05/0.9055, allocations: 91.27 kB / 0.7288 GB, free: 1.473 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008371/0.9064, allocations: 12 kB / 0.7288 GB, free: 1.461 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.0002216/0.9066, allocations: 190.5 kB / 0.729 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.434e-05/0.9067, allocations: 15.94 kB / 0.729 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9067, allocations: 0 / 0.729 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.9067, allocations: 0 / 0.729 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.907, allocations: 0.5185 MB / 0.7295 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002289/0.9073, allocations: 139.2 kB / 0.7297 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.9076, allocations: 0.688 MB / 0.7303 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/0.9076, allocations: 0 / 0.7303 GB, free: 15.85 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_TimeGeometric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_TimeGeometric.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.TimeGeometric.pipe 2>&1)