Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.0/package.mo): time 2.398/2.398, allocations: 284.8 MB / 292.1 MB, free: 1.434 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 186.3 kB / 360.3 MB, free: 15.64 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 0.6187 GB, free: 6.676 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001751, allocations: 89.06 kB / 0.7317 GB, free: 46.9 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.3318/0.3336, allocations: 121.4 MB / 0.8502 GB, free: 13.66 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.9942, allocations: 115.2 MB / 0.9628 GB, free: 86.46 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/2.113, allocations: 420.7 MB / 1.374 GB, free: 165.9 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004501/2.113, allocations: 102.6 kB / 1.374 GB, free: 165.8 MB / 0.8624 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.7/4.813, allocations: 0.5553 GB / 1.929 GB, free: 63.55 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/4.813, allocations: 12 kB / 1.929 GB, free: 63.54 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/4.814, allocations: 150.3 kB / 1.929 GB, free: 63.39 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/4.819, allocations: 1.406 MB / 1.93 GB, free: 61.96 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/4.819, allocations: 28 kB / 1.93 GB, free: 61.93 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/4.819, allocations: 55.91 kB / 1.931 GB, free: 61.88 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/4.821, allocations: 0.5546 MB / 1.931 GB, free: 61.32 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/4.823, allocations: 0.7507 MB / 1.932 GB, free: 60.54 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/4.824, allocations: 4 kB / 1.932 GB, free: 60.54 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/4.824, allocations: 0 / 1.932 GB, free: 60.54 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/4.824, allocations: 24 kB / 1.932 GB, free: 60.51 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008217/4.832, allocations: 4.364 MB / 1.936 GB, free: 55.94 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/4.833, allocations: 486.6 kB / 1.937 GB, free: 55.46 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/4.834, allocations: 305.9 kB / 1.937 GB, free: 55.15 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007668/4.835, allocations: 0.5978 MB / 1.937 GB, free: 54.43 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/4.835, allocations: 43 kB / 1.937 GB, free: 54.38 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=57): time 3.997e-06/4.835, allocations: 0 / 1.937 GB, free: 54.38 MB / 0.9405 GB Notification: Performance of matching and sorting (n=57): time 0.002587/4.838, allocations: 0.6305 MB / 1.938 GB, free: 53.73 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/4.838, allocations: 59.91 kB / 1.938 GB, free: 53.66 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/4.839, allocations: 0.6924 MB / 1.939 GB, free: 52.96 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/4.839, allocations: 33.7 kB / 1.939 GB, free: 52.93 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/4.84, allocations: 383.4 kB / 1.939 GB, free: 52.54 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/4.84, allocations: 201 kB / 1.939 GB, free: 52.34 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/4.84, allocations: 4 kB / 1.939 GB, free: 52.34 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/4.84, allocations: 326 kB / 1.94 GB, free: 52.02 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/4.841, allocations: 185.5 kB / 1.94 GB, free: 51.83 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/4.841, allocations: 368.3 kB / 1.94 GB, free: 51.4 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/4.842, allocations: 309.5 kB / 1.941 GB, free: 51.1 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/4.843, allocations: 4 kB / 1.941 GB, free: 51.09 MB / 0.9405 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002832/4.845, allocations: 0.7907 MB / 1.941 GB, free: 50.29 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/4.846, allocations: 1.316 MB / 1.943 GB, free: 48.87 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/4.846, allocations: 4 kB / 1.943 GB, free: 48.87 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/4.846, allocations: 123.3 kB / 1.943 GB, free: 48.73 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/4.847, allocations: 131.8 kB / 1.943 GB, free: 48.61 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/4.853, allocations: 4.651 MB / 1.947 GB, free: 43.59 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/4.856, allocations: 91.42 kB / 1.947 GB, free: 43.5 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/4.856, allocations: 28 kB / 1.948 GB, free: 43.47 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/4.856, allocations: 8 kB / 1.948 GB, free: 43.46 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003918/4.86, allocations: 0.6531 MB / 1.948 GB, free: 42.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/4.86, allocations: 4 kB / 1.948 GB, free: 42.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/4.861, allocations: 119.3 kB / 1.948 GB, free: 42.67 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/4.863, allocations: 132.1 kB / 1.948 GB, free: 42.54 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/4.87, allocations: 5.496 MB / 1.954 GB, free: 36.58 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/4.873, allocations: 83.45 kB / 1.954 GB, free: 36.5 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/4.873, allocations: 31.98 kB / 1.954 GB, free: 36.46 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000376/4.873, allocations: 128.7 kB / 1.954 GB, free: 36.33 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/4.874, allocations: 94.78 kB / 1.954 GB, free: 36.24 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/4.878, allocations: 0.7005 MB / 1.955 GB, free: 35.52 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/4.878, allocations: 7.906 kB / 1.955 GB, free: 35.51 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/4.878, allocations: 4 kB / 1.955 GB, free: 35.5 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001796/4.88, allocations: 0.6463 MB / 1.955 GB, free: 34.82 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/4.885, allocations: 1.748 MB / 1.957 GB, free: 33.01 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/4.885, allocations: 7.938 kB / 1.957 GB, free: 33 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/4.886, allocations: 87.89 kB / 1.957 GB, free: 32.91 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/4.886, allocations: 107.3 kB / 1.957 GB, free: 32.8 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/4.886, allocations: 11.98 kB / 1.957 GB, free: 32.79 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/4.891, allocations: 4.624 MB / 1.962 GB, free: 27.79 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/4.891, allocations: 0 / 1.962 GB, free: 27.79 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004017/4.895, allocations: 1.093 MB / 1.963 GB, free: 26.64 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005805/4.901, allocations: 1.775 MB / 1.965 GB, free: 24.8 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/4.902, allocations: 275.6 kB / 1.965 GB, free: 24.52 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/4.902, allocations: 4 kB / 1.965 GB, free: 24.51 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/4.904, allocations: 55.8 kB / 1.965 GB, free: 24.46 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/4.905, allocations: 32.45 kB / 1.965 GB, free: 24.43 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/4.905, allocations: 23.98 kB / 1.965 GB, free: 24.4 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.001415/4.906, allocations: 0.5304 MB / 1.966 GB, free: 23.88 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.006828/4.913, allocations: 0.9199 MB / 1.966 GB, free: 22.96 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/4.915, allocations: 0.6565 MB / 1.967 GB, free: 22.33 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.003284/4.918, allocations: 1.608 MB / 1.969 GB, free: 20.64 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/4.918, allocations: 0 / 1.969 GB, free: 20.64 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/4.919, allocations: 0.5652 MB / 1.969 GB, free: 20.05 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/4.924, allocations: 487 kB / 1.97 GB, free: 19.57 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/4.929, allocations: 1.523 MB / 1.971 GB, free: 18.01 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/4.93, allocations: 1.199 MB / 1.972 GB, free: 16.79 MB / 0.9405 GB Notification: Performance of SimCode: time 1.062e-06/4.93, allocations: 0 / 1.972 GB, free: 16.79 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)