Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.569/1.569, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001086/0.001086, allocations: 173.3 kB / 366.3 MB, free: 1.992 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.54/1.54, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009395/0.0009398, allocations: 84.36 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2708/0.2717, allocations: 122.5 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6632/0.935, allocations: 116.3 MB / 0.9727 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/1.132, allocations: 138.2 MB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000573/1.132, allocations: 99.86 kB / 1.108 GB, free: 10.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.003204/1.136, allocations: 0.6832 MB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/1.136, allocations: 13.06 kB / 1.108 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.178e-05/1.136, allocations: 4 kB / 1.108 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/1.136, allocations: 163.8 kB / 1.109 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/1.136, allocations: 3.906 kB / 1.109 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/1.136, allocations: 0.6875 kB / 1.109 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.919e-05/1.136, allocations: 5 kB / 1.109 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/1.136, allocations: 26.58 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.136, allocations: 0.75 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.136, allocations: 0.75 kB / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.136, allocations: 0 / 1.109 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/1.137, allocations: 361.6 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/1.137, allocations: 177.7 kB / 1.109 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/1.137, allocations: 80.14 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/1.137, allocations: 75.28 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.457e-05/1.137, allocations: 108.4 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.854e-06/1.137, allocations: 1.031 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001055/1.137, allocations: 29.73 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/1.137, allocations: 55.34 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.138, allocations: 92.94 kB / 1.11 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.138, allocations: 25.7 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/1.138, allocations: 84.14 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/1.138, allocations: 0 / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/1.138, allocations: 0 / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.138, allocations: 322.7 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/1.138, allocations: 0 / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/1.138, allocations: 128 / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/1.138, allocations: 4.812 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.138, allocations: 0 / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001297/1.138, allocations: 33.7 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.138, allocations: 4 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.138, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.138, allocations: 0.5625 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/1.138, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.138, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/1.138, allocations: 4.562 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.138, allocations: 4.531 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * 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.0001636/1.139, allocations: 188.1 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/1.139, allocations: 101 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/1.139, allocations: 108 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/1.139, allocations: 184.2 kB / 1.111 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.067e-05/1.139, allocations: 181.6 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.837e-05/1.139, allocations: 184.2 kB / 1.111 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/1.139, allocations: 382.6 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-05/1.139, allocations: 104.9 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/1.139, allocations: 101 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.204e-05/1.14, allocations: 180.2 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/1.14, allocations: 184.2 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001048/1.14, allocations: 188.7 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001089/1.14, allocations: 184.1 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001262/1.14, allocations: 305.1 kB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003774/1.14, allocations: 0.6746 MB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.141, allocations: 182.1 kB / 1.113 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.141, allocations: 180.2 kB / 1.113 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/1.141, allocations: 101 kB / 1.114 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.141, allocations: 188.3 kB / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.141, allocations: 105.6 kB / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.676e-05/1.141, allocations: 79.22 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008992/1.142, allocations: 4 kB / 1.114 GB, free: 3.449 MB / 0.7136 GB 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.0002199/1.142, allocations: 178.5 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.547e-05/1.142, allocations: 368 / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.142, allocations: 8.156 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/1.142, allocations: 0 / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/1.143, allocations: 0.5162 MB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/1.143, allocations: 124 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/1.143, allocations: 0.6802 MB / 1.115 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.143, allocations: 4 kB / 1.115 GB, free: 1.879 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)