Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 191 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4567/0.4567, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.4 MB / 342.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.000977, allocations: 93.31 kB / 415.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.1863, allocations: 78.5 MB / 494 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.5821, allocations: 72.3 MB / 0.553 GB, free: 44.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.7129, allocations: 101.8 MB / 0.6524 GB, free: 6.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.7132, allocations: 95.92 kB / 0.6525 GB, free: 6.836 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.003876/0.7171, allocations: 1.363 MB / 0.6538 GB, free: 5.441 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7171, allocations: 8 kB / 0.6538 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.7172, allocations: 3.906 kB / 0.6538 GB, free: 5.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.7174, allocations: 179 kB / 0.654 GB, free: 5.215 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.7174, allocations: 3.984 kB / 0.654 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7174, allocations: 4.5 kB / 0.654 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.666e-05/0.7175, allocations: 7.984 kB / 0.654 GB, free: 5.199 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.7175, allocations: 43.33 kB / 0.6541 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7176, allocations: 0 / 0.6541 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.7176, allocations: 0 / 0.6541 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7176, allocations: 0 / 0.6541 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.7178, allocations: 155.6 kB / 0.6542 GB, free: 4.953 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.7178, allocations: 45.14 kB / 0.6543 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.7179, allocations: 17.78 kB / 0.6543 GB, free: 4.867 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.7179, allocations: 0 / 0.6543 GB, free: 4.867 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.7179, allocations: 34.56 kB / 0.6543 GB, free: 4.824 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7179, allocations: 2.25 kB / 0.6543 GB, free: 4.824 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.7181, allocations: 49.53 kB / 0.6544 GB, free: 4.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7181, allocations: 81.11 kB / 0.6544 GB, free: 4.672 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.7183, allocations: 125.7 kB / 0.6546 GB, free: 4.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.7183, allocations: 25.7 kB / 0.6546 GB, free: 4.512 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.7183, allocations: 88.05 kB / 0.6547 GB, free: 4.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.7184, allocations: 3.969 kB / 0.6547 GB, free: 4.418 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.7184, allocations: 7.938 kB / 0.6547 GB, free: 4.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7185, allocations: 322.8 kB / 0.655 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.7186, allocations: 20 kB / 0.655 GB, free: 4.066 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.7186, allocations: 30.98 kB / 0.655 GB, free: 4.039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.7187, allocations: 31.98 kB / 0.6551 GB, free: 4.008 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7187, allocations: 0 / 0.6551 GB, free: 4.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001431/0.7188, allocations: 105.5 kB / 0.6552 GB, free: 3.898 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.7189, allocations: 7.984 kB / 0.6552 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.7189, allocations: 1.062 kB / 0.6552 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.7189, allocations: 4 kB / 0.6552 GB, free: 3.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.719, allocations: 4 kB / 0.6552 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.719, allocations: 0 / 0.6552 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.719, allocations: 11.84 kB / 0.6552 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.719, allocations: 0 / 0.6552 GB, free: 3.871 MB / 474.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 (3): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/0.7191, allocations: 105 kB / 0.6553 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.7191, allocations: 7.906 kB / 0.6553 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.7192, allocations: 3.469 kB / 0.6553 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7192, allocations: 0.9375 kB / 0.6553 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7192, allocations: 7.906 kB / 0.6553 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7192, allocations: 5.188 kB / 0.6553 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.7193, allocations: 142.2 kB / 0.6554 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7193, allocations: 4 kB / 0.6555 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.7193, allocations: 0 / 0.6555 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7194, allocations: 0 / 0.6555 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7194, allocations: 4 kB / 0.6555 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.7194, allocations: 3.938 kB / 0.6555 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7194, allocations: 0 / 0.6555 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001016/0.7195, allocations: 93.05 kB / 0.6555 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002502/0.7197, allocations: 468.1 kB / 0.656 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.7198, allocations: 81.02 kB / 0.6561 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7198, allocations: 4 kB / 0.6561 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/0.7199, allocations: 4 kB / 0.6561 GB, free: 2.836 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.7199, allocations: 3.938 kB / 0.6561 GB, free: 2.832 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.7199, allocations: 0 / 0.6561 GB, free: 2.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.334e-05/0.72, allocations: 99.27 kB / 0.6562 GB, free: 2.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007644/0.7207, allocations: 23.94 kB / 0.6562 GB, free: 2.711 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002023/0.7209, allocations: 115.2 kB / 0.6563 GB, free: 2.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.7211, allocations: 81.67 kB / 0.6564 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7211, allocations: 0.8438 kB / 0.6564 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.354e-05/0.7211, allocations: 11.94 kB / 0.6564 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.7213, allocations: 3.906 kB / 0.6564 GB, free: 2.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.7215, allocations: 88.48 kB / 0.6565 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.7219, allocations: 0.6959 MB / 0.6572 GB, free: 1.652 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7219, allocations: 4 kB / 0.6572 GB, free: 1.648 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)