Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001024/0.001024, allocations: 183.4 kB / 361.1 MB, free: 7.117 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.205/1.205, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0009372/0.0009373, allocations: 93.64 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2152/0.2162, allocations: 121.5 MB / 0.8512 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.7091, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.8713, allocations: 145.3 MB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.8716, allocations: 101.7 kB / 1.106 GB, free: 10.73 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.05417/0.9258, allocations: 16.5 MB / 1.122 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9258, allocations: 8.5 kB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.926, allocations: 43.53 kB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/0.9266, allocations: 368.2 kB / 1.122 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9266, allocations: 8 kB / 1.122 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.9268, allocations: 32.56 kB / 1.122 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003445/0.9271, allocations: 160.7 kB / 1.122 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.9274, allocations: 185.5 kB / 1.123 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.9274, allocations: 4 kB / 1.123 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.9275, allocations: 0 / 1.123 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.9275, allocations: 0 / 1.123 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.9288, allocations: 0.9606 MB / 1.124 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.9292, allocations: 292.1 kB / 1.124 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.9294, allocations: 133.6 kB / 1.124 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.9294, allocations: 4 kB / 1.124 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9294, allocations: 43.66 kB / 1.124 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.9294, allocations: 0 / 1.124 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006448/0.9301, allocations: 334 kB / 1.124 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.9301, allocations: 55.41 kB / 1.124 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.9305, allocations: 325.8 kB / 1.125 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.9305, allocations: 29.7 kB / 1.125 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.9307, allocations: 129.1 kB / 1.125 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.9308, allocations: 102.6 kB / 1.125 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.9308, allocations: 0 / 1.125 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.931, allocations: 354.7 kB / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.9315, allocations: 337.2 kB / 1.126 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.9321, allocations: 389.2 kB / 1.126 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.9326, allocations: 379 kB / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9326, allocations: 0 / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001361/0.934, allocations: 0.8712 MB / 1.127 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.934, allocations: 4 kB / 1.127 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.934, allocations: 0 / 1.127 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.9342, allocations: 28.84 kB / 1.127 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009184/0.9351, allocations: 143.8 kB / 1.127 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.9361, allocations: 1.3 MB / 1.129 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9376, allocations: 83.23 kB / 1.129 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.9377, allocations: 24.64 kB / 1.129 GB, free: 2.914 MB / 0.7292 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.000124/0.9379, allocations: 116.8 kB / 1.129 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.9379, allocations: 35.53 kB / 1.129 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.938, allocations: 35.34 kB / 1.129 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.938, allocations: 4 kB / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.938, allocations: 0 / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.938, allocations: 0 / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.9385, allocations: 478.1 kB / 1.129 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9385, allocations: 4 kB / 1.129 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.9388, allocations: 43.98 kB / 1.129 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.402e-05/0.9389, allocations: 26.84 kB / 1.129 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.939, allocations: 11.92 kB / 1.129 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000888/0.9399, allocations: 1.283 MB / 1.131 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9399, allocations: 8.016 kB / 1.131 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000667/0.9406, allocations: 0.5714 MB / 1.131 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001015/0.9416, allocations: 1.132 MB / 1.132 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.9417, allocations: 116.6 kB / 1.133 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.9418, allocations: 5.875 kB / 1.133 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.9424, allocations: 31.81 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.9425, allocations: 15.97 kB / 1.133 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.9425, allocations: 4 kB / 1.133 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002036/0.9427, allocations: 233.1 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001284/0.944, allocations: 271.9 kB / 1.133 GB, free: 14.29 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.000401/0.9444, allocations: 247.2 kB / 1.133 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.9454, allocations: 0.6933 MB / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9454, allocations: 0 / 1.134 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.9457, allocations: 245.7 kB / 1.134 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.9462, allocations: 78.84 kB / 1.134 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.9479, allocations: 1.183 MB / 1.135 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.9485, allocations: 0.8962 MB / 1.136 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.9485, allocations: 0 / 1.136 GB, free: 10.91 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)