Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009812/0.0009815, allocations: 177.3 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.115/1.115, allocations: 205.2 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000838/0.000838, allocations: 102.1 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3335/0.3344, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.4974, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.9338, allocations: 132 MB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.934, allocations: 101.5 kB / 1.014 GB, free: 6.75 MB / 0.6355 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.001582/0.9356, allocations: 0.6734 MB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.9357, allocations: 8 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.9357, allocations: 3.906 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.9358, allocations: 159.1 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9358, allocations: 11.98 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.9358, allocations: 2.625 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.144e-05/0.9358, allocations: 3.938 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.114e-05/0.9359, allocations: 32.5 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.9359, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.9359, allocations: 0 / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9359, allocations: 4 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.9361, allocations: 359.7 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.9362, allocations: 169.1 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.9362, allocations: 84.11 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.9363, allocations: 83.27 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.9363, allocations: 105.8 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9363, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.222e-05/0.9364, allocations: 36.17 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.9364, allocations: 51.41 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.9365, allocations: 92.56 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.9365, allocations: 25.7 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.9365, allocations: 80.98 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.9365, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-06/0.9365, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.9366, allocations: 311 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.9366, allocations: 7.938 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.9366, allocations: 7.938 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.094e-05/0.9367, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9367, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.459e-05/0.9367, allocations: 33.69 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.9368, allocations: 7.938 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9368, allocations: 3.906 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.9368, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.105e-05/0.9368, allocations: 4 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.9368, allocations: 4.094 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.9368, allocations: 0.6875 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.9368, allocations: 0 / 1.016 GB, free: 4.305 MB / 0.6355 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 7.069e-05/0.9369, allocations: 183.8 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.937, allocations: 104.9 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.937, allocations: 111.9 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/0.9371, allocations: 180.3 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/0.9371, allocations: 180.2 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/0.9372, allocations: 182.5 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.9374, allocations: 381.1 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.9374, allocations: 104.9 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.9374, allocations: 101 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.278e-05/0.9375, allocations: 184.3 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.9376, allocations: 180.2 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.324e-05/0.9376, allocations: 180.7 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/0.9377, allocations: 176.3 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001403/0.9379, allocations: 316.6 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000213/0.9381, allocations: 0.6675 MB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.9381, allocations: 182 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.9382, allocations: 184.2 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.9383, allocations: 108.9 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.9384, allocations: 176.3 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.9384, allocations: 104.2 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of sort global known variables: time 2.716e-05/0.9384, allocations: 79.28 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007819/0.9392, allocations: 0 / 1.02 GB, free: 100 kB / 0.6355 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.0001195/0.9393, allocations: 182.6 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.928e-05/0.9394, allocations: 8.297 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.9394, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.9394, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.9396, allocations: 0.5223 MB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001205/0.9398, allocations: 129.3 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.94, allocations: 0.6841 MB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.94, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)