Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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 8.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 289.8 MB / 297.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 188.2 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008909/0.0008908, allocations: 87.05 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2524/0.2533, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.8344, allocations: 116.3 MB / 0.9727 GB, free: 68.74 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/1.009, allocations: 146.3 MB / 1.116 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.009, allocations: 95.92 kB / 1.116 GB, free: 2.129 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.05736/1.067, allocations: 16.5 MB / 1.132 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.067, allocations: 11.98 kB / 1.132 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/1.067, allocations: 47.53 kB / 1.132 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/1.068, allocations: 364.3 kB / 1.132 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/1.068, allocations: 5.031 kB / 1.132 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.068, allocations: 27.91 kB / 1.132 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003505/1.068, allocations: 167.9 kB / 1.132 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/1.068, allocations: 181.6 kB / 1.132 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.068, allocations: 4 kB / 1.132 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/1.068, allocations: 0 / 1.132 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/1.068, allocations: 7.938 kB / 1.132 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/1.07, allocations: 0.9528 MB / 1.133 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/1.07, allocations: 290.8 kB / 1.134 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.071, allocations: 136.8 kB / 1.134 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/1.071, allocations: 4 kB / 1.134 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/1.071, allocations: 43.12 kB / 1.134 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/1.071, allocations: 0 / 1.134 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0006854/1.071, allocations: 327.6 kB / 1.134 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.071, allocations: 55.41 kB / 1.134 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.072, allocations: 329.8 kB / 1.135 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/1.072, allocations: 29.7 kB / 1.135 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.072, allocations: 133.1 kB / 1.135 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/1.072, allocations: 96.34 kB / 1.135 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/1.072, allocations: 0 / 1.135 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.072, allocations: 354.7 kB / 1.135 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.073, allocations: 337.2 kB / 1.135 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/1.073, allocations: 392.3 kB / 1.136 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/1.074, allocations: 379 kB / 1.136 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.074, allocations: 0 / 1.136 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001523/1.076, allocations: 0.8634 MB / 1.137 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.076, allocations: 4 kB / 1.137 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.076, allocations: 0 / 1.137 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/1.076, allocations: 32.78 kB / 1.137 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/1.077, allocations: 151.8 kB / 1.137 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/1.078, allocations: 1.291 MB / 1.138 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.08, allocations: 87.36 kB / 1.139 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/1.08, allocations: 23.98 kB / 1.139 GB, free: 10.21 MB / 0.7448 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.08, allocations: 112.8 kB / 1.139 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/1.08, allocations: 35.53 kB / 1.139 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/1.08, allocations: 35.34 kB / 1.139 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.08, allocations: 9.406 kB / 1.139 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.08, allocations: 0 / 1.139 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.08, allocations: 3.984 kB / 1.139 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/1.081, allocations: 477.4 kB / 1.139 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.081, allocations: 4 kB / 1.139 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/1.081, allocations: 39.97 kB / 1.139 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/1.081, allocations: 28.78 kB / 1.139 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/1.081, allocations: 8 kB / 1.139 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000998/1.082, allocations: 1.287 MB / 1.141 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.082, allocations: 8.031 kB / 1.141 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007609/1.083, allocations: 0.5766 MB / 1.141 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001146/1.084, allocations: 1.133 MB / 1.142 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.084, allocations: 112.6 kB / 1.142 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/1.084, allocations: 11.98 kB / 1.142 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/1.085, allocations: 27.81 kB / 1.142 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/1.085, allocations: 7.984 kB / 1.142 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/1.085, allocations: 4 kB / 1.142 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002385/1.085, allocations: 240.6 kB / 1.143 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001464/1.087, allocations: 275.9 kB / 1.143 GB, free: 5.578 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003665/1.087, allocations: 241.8 kB / 1.143 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.088, allocations: 0.6932 MB / 1.144 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.088, allocations: 0 / 1.144 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/1.089, allocations: 243.6 kB / 1.144 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/1.089, allocations: 76.86 kB / 1.144 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/1.091, allocations: 1.187 MB / 1.145 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/1.092, allocations: 0.8855 MB / 1.146 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/1.092, allocations: 0 / 1.146 GB, free: 2.188 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)